public class PaymentEventData extends BaseEventData
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
PaymentEventData() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.hyades.logging.events.cbe.ExtendedDataElement |
composeEventEDE()
This method composes the common attributes of payment event data to
ExtendedDataElement which is for the data format Event using.
|
void |
decomposeEventEDE(org.eclipse.hyades.logging.events.cbe.ExtendedDataElement ede)
This method is to decompose this ExtendedDataElement which is the data
format Event using to PaymentEventData object.
|
PaymentActionData |
getActionData(org.eclipse.hyades.logging.events.cbe.ExtendedDataElement edeActionData)
This method gets current action data from the ExtendedDataElement.
|
java.util.HashMap |
getActionDataLists(org.eclipse.hyades.logging.events.cbe.ExtendedDataElement ede)
This method gets the HashMap from ExtendedDataElement.
|
java.util.ArrayList |
getArrayList(org.eclipse.hyades.logging.events.cbe.ExtendedDataElement edeArrayList)
This method gets the ArrayList from an ExtendedDataElement.
|
org.eclipse.hyades.logging.events.cbe.ExtendedDataElement |
getEDEActionData(PaymentActionData actionData)
This method gets the ExtendedDataElement from current payment action data.
|
org.eclipse.hyades.logging.events.cbe.ExtendedDataElement |
getEDEActionDataLists(java.util.HashMap actionDataLists,
java.lang.String name)
This method gets the ExtendedDataElement that corresponds to the HashMap.
|
org.eclipse.hyades.logging.events.cbe.ExtendedDataElement |
getEDEArrayList(java.util.ArrayList apsReversal)
This method gets the ExtendedDataElement from the reversal ArrayList.
|
org.eclipse.hyades.logging.events.cbe.ExtendedDataElement |
getEDERelBwtRlsAndPay(java.util.HashMap relationshipBwtRlsAndPayment,
java.lang.String name)
This method gets the ExtendedDataElement that corresponds to the HashMap.
|
java.lang.Long |
getEDPOrderId()
This method gets the current EDP order Id, and the corresponding EDP
order stores the necessary order information needed by payment rules.
|
java.util.HashMap |
getHashOfActionDetailLists()
This method gets the action detailed lists stored in a HashMap.
|
java.util.HashMap |
getHashOfEditActionDetailLists()
This method gets the edit action detailed lists stored in a HashMap.
|
java.util.HashMap |
getHashOfReversalActionDetailLists()
This method gets the reversal action detailed lists stored in a HashMap.
|
java.lang.Long |
getOrderId()
This method gets current order id.
|
java.util.HashMap |
getRelationBwtRlsAndPay(org.eclipse.hyades.logging.events.cbe.ExtendedDataElement ede)
This method gets the HashMap from ExtendedDataElement.
|
java.util.HashMap |
getRelationOfRlsAndPay()
This method returns the relationship between release and payments.
|
int |
getStatus()
This method gets current status of EDP order that indicates the backend
payment status of current EDP order is in open/successful/working/failed.
|
boolean |
isIdempotent()
This method gets if it is idempotent .
|
void |
setEDPOrderId(java.lang.Long long1)
This method gets current EDP order Id, and the corresponding EDP
order stores the necessary order information needed by payment rules.
|
void |
setHashOfActionDetailLists(java.util.HashMap map)
This method sets the reversal action detailed lists to a HashMap.
|
void |
setHashOfEditActionDetailLists(java.util.HashMap map)
This method sets the edit action detailed lists to a HashMap.
|
void |
setHashOfReversalActionDetailLists(java.util.HashMap map)
This method sets the reversal action detailed lists to a HashMap.
|
void |
setIdempotent(boolean b)
This method sets if it is idempotent .
|
void |
setOrderId(java.lang.Long long1)
This method sets current order id.
|
void |
setRelationOfRlsAndPay(java.util.HashMap relationOfReleaseAndPay)
This method sets the relationship between release and payments.
|
void |
setStatus(int i)
This method sets current status of EDP order that indicates the backend
payment status of current EDP order is in open/successful/working/failed.
|
java.lang.String |
toString()
This method converts the attributes of this class to a human-readable format.
|
getLocale, getOrderChannel, getStoreId, setLocale, setOrderChannel, setStoreId
public static final java.lang.String COPYRIGHT
public org.eclipse.hyades.logging.events.cbe.ExtendedDataElement composeEventEDE()
composeEventEDE
in class BaseEventData
public void decomposeEventEDE(org.eclipse.hyades.logging.events.cbe.ExtendedDataElement ede) throws ECException
decomposeEventEDE
in class BaseEventData
ede
- The ExtendedDataElement to decomposeECException
- In case of failurepublic org.eclipse.hyades.logging.events.cbe.ExtendedDataElement getEDEActionDataLists(java.util.HashMap actionDataLists, java.lang.String name)
actionDataLists
- The lists for action data stored in a HashMapname
- The ExtendedDataElement namepublic org.eclipse.hyades.logging.events.cbe.ExtendedDataElement getEDERelBwtRlsAndPay(java.util.HashMap relationshipBwtRlsAndPayment, java.lang.String name)
relationshipBwtRlsAndPayment
- The lists for action data stored in a HashMapname
- The ExtendedDataElement namepublic java.util.HashMap getRelationBwtRlsAndPay(org.eclipse.hyades.logging.events.cbe.ExtendedDataElement ede)
ede
- The current ExtendedDataElementpublic java.util.HashMap getActionDataLists(org.eclipse.hyades.logging.events.cbe.ExtendedDataElement ede)
ede
- The current ExtendedDataElementpublic org.eclipse.hyades.logging.events.cbe.ExtendedDataElement getEDEArrayList(java.util.ArrayList apsReversal)
apsReversal
- The arraylist for atomic payments reversal.public java.util.ArrayList getArrayList(org.eclipse.hyades.logging.events.cbe.ExtendedDataElement edeArrayList)
edeArrayList
- The current ExtendedDataElementpublic org.eclipse.hyades.logging.events.cbe.ExtendedDataElement getEDEActionData(PaymentActionData actionData)
actionData
- The current payment action datapublic PaymentActionData getActionData(org.eclipse.hyades.logging.events.cbe.ExtendedDataElement edeActionData)
edeActionData
- The current ExtendedDataElementpublic java.util.HashMap getHashOfActionDetailLists()
public java.util.HashMap getHashOfEditActionDetailLists()
public java.util.HashMap getHashOfReversalActionDetailLists()
public void setHashOfActionDetailLists(java.util.HashMap map)
map
- The current HashMappublic void setHashOfEditActionDetailLists(java.util.HashMap map)
map
- The current HashMappublic void setHashOfReversalActionDetailLists(java.util.HashMap map)
map
- The current HashMappublic java.lang.Long getEDPOrderId()
public boolean isIdempotent()
public java.lang.Long getOrderId()
public int getStatus()
public void setEDPOrderId(java.lang.Long long1)
long1
- The current EDP order idpublic void setIdempotent(boolean b)
b
- If it is idempotentpublic void setOrderId(java.lang.Long long1)
long1
- The current order idpublic void setStatus(int i)
i
- The current statuspublic java.util.HashMap getRelationOfRlsAndPay()
public void setRelationOfRlsAndPay(java.util.HashMap relationOfReleaseAndPay)
relationOfReleaseAndPay
- the relationship between release and payments.public java.lang.String toString()
toString
in class BaseEventData