Package com.highdeal.pnr.tif
Class ChargedTransactionSet.ChargedTransactionSetEntry
java.lang.Object
com.highdeal.pnr.tif.ChargedTransactionSet.ChargedTransactionSetEntry
- All Implemented Interfaces:
XMLMarshallable
- Enclosing class:
- ChargedTransactionSet
public static class ChargedTransactionSet.ChargedTransactionSetEntry
extends Object
implements XMLMarshallable
This
Java class represents an entry in the charged transaction set; An entry is used
to group multiple charged transactions to be cleared-
Constructor Summary
ConstructorsConstructorDescriptionInitializes an empty entryChargedTransactionSetEntry(Transaction t, com.highdeal.pnr.domain.IChargeActivation chargeActivation) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.voidaddDetail(PrepaidTransactionField code, Object value) com.highdeal.pnr.domain.IChargeActivationcom.highdeal.pnr.domain.IExternalAccountInformationgetLabel()booleanbooleanisMaster()voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidsetChargeActivation(com.highdeal.pnr.domain.IChargeActivation chargeActivation) voidvoidsetChargeType(ChargedTransactionSet.ChargeType chargeType) voidsetExternalAccountInformation(com.highdeal.pnr.domain.IExternalAccountInformation externalAccountInformation) voidvoidsetMaster(boolean isMaster) voidsetTaxedAmount(TaxedAmount taxedAmount) void
-
Constructor Details
-
ChargedTransactionSetEntry
public ChargedTransactionSetEntry()Initializes an empty entry -
ChargedTransactionSetEntry
public ChargedTransactionSetEntry(Transaction t, com.highdeal.pnr.domain.IChargeActivation chargeActivation)
-
-
Method Details
-
setTransaction
-
getTransaction
-
setTaxedAmount
-
getTaxedAmount
-
getLabel
-
setLabel
-
setChargedTransactions
-
getChargedTransactions
-
getChargeType
-
setChargeType
-
isMaster
public boolean isMaster() -
setMaster
public void setMaster(boolean isMaster) -
addDetail
-
getDetails
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXML attributesof the current element
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXML outputto marshal the object into
-
hasChargeActivation
public boolean hasChargeActivation() -
getChargeActivation
public com.highdeal.pnr.domain.IChargeActivation getChargeActivation() -
setChargeActivation
public void setChargeActivation(com.highdeal.pnr.domain.IChargeActivation chargeActivation) -
getExternalAccountInformation
public com.highdeal.pnr.domain.IExternalAccountInformation getExternalAccountInformation() -
setExternalAccountInformation
public void setExternalAccountInformation(com.highdeal.pnr.domain.IExternalAccountInformation externalAccountInformation)
-