public static class ChargedTransactionSet.ChargedTransactionSetEntry extends 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(String cData)
Adds character data to the content element.
|
void |
addChild(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,
Object value) |
com.highdeal.pnr.domain.IChargeActivation |
getChargeActivation() |
List<ChargedTransaction> |
getChargedTransactions() |
ChargedTransactionSet.ChargeType |
getChargeType() |
Map<PrepaidTransactionField,Object> |
getDetails() |
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(List<ChargedTransaction> ts) |
void |
setChargeType(ChargedTransactionSet.ChargeType chargeType) |
void |
setLabel(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 String getLabel()
public void setLabel(String label)
public void setChargedTransactions(List<ChargedTransaction> ts)
public 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, Object value)
public Map<PrepaidTransactionField,Object> getDetails()
public void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addChild(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(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)