public static class ChargedTransactionSet.ChargedTransactionSetEntry extends java.lang.Object implements XMLMarshallable
Java class represents an entry in the charged transaction set; An entry is used
to group multiple charged transactions to be cleared| Constructor and Description |
|---|
ChargedTransactionSetEntry()
Initializes an empty entry
|
ChargedTransactionSetEntry(Transaction t,
com.highdeal.pnr.domain.IChargeActivation chargeActivation) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
void |
addDetail(PrepaidTransactionField code,
java.lang.Object value) |
com.highdeal.pnr.domain.IChargeActivation |
getChargeActivation() |
java.util.List<ChargedTransaction> |
getChargedTransactions() |
ChargedTransactionSet.ChargeType |
getChargeType() |
java.util.Map<PrepaidTransactionField,java.lang.Object> |
getDetails() |
com.highdeal.pnr.domain.IExternalAccountInformation |
getExternalAccountInformation() |
java.lang.String |
getLabel() |
TaxedAmount |
getTaxedAmount() |
Transaction |
getTransaction() |
boolean |
hasChargeActivation() |
boolean |
isMaster() |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setChargeActivation(com.highdeal.pnr.domain.IChargeActivation chargeActivation) |
void |
setChargedTransactions(java.util.List<ChargedTransaction> ts) |
void |
setChargeType(ChargedTransactionSet.ChargeType chargeType) |
void |
setExternalAccountInformation(com.highdeal.pnr.domain.IExternalAccountInformation externalAccountInformation) |
void |
setLabel(java.lang.String label) |
void |
setMaster(boolean isMaster) |
void |
setTaxedAmount(TaxedAmount taxedAmount) |
void |
setTransaction(Transaction t) |
public ChargedTransactionSetEntry()
public ChargedTransactionSetEntry(Transaction t, com.highdeal.pnr.domain.IChargeActivation chargeActivation)
public void setTransaction(Transaction t)
public Transaction getTransaction()
public void setTaxedAmount(TaxedAmount taxedAmount)
public TaxedAmount getTaxedAmount()
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
public void setChargedTransactions(java.util.List<ChargedTransaction> ts)
public java.util.List<ChargedTransaction> getChargedTransactions()
public ChargedTransactionSet.ChargeType getChargeType()
public void setChargeType(ChargedTransactionSet.ChargeType chargeType)
public boolean isMaster()
public void setMaster(boolean isMaster)
public void addDetail(PrepaidTransactionField code, java.lang.Object value)
public java.util.Map<PrepaidTransactionField,java.lang.Object> getDetails()
public void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object intopublic boolean hasChargeActivation()
public com.highdeal.pnr.domain.IChargeActivation getChargeActivation()
public void setChargeActivation(com.highdeal.pnr.domain.IChargeActivation chargeActivation)
public com.highdeal.pnr.domain.IExternalAccountInformation getExternalAccountInformation()
public void setExternalAccountInformation(com.highdeal.pnr.domain.IExternalAccountInformation externalAccountInformation)