com.highdeal.pnr.tif
Class ChargedTransactionSet.ChargedTransactionSetEntry

java.lang.Object
  extended by com.highdeal.pnr.tif.ChargedTransactionSet.ChargedTransactionSetEntry
All Implemented Interfaces:
XMLMarshallable
Enclosing class:
ChargedTransactionSet

public static class ChargedTransactionSet.ChargedTransactionSetEntry
extends java.lang.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
ChargedTransactionSet.ChargedTransactionSetEntry()
          Initializes an empty entry
ChargedTransactionSet.ChargedTransactionSetEntry(Transaction t, com.highdeal.pnr.domain.IChargeActivation chargeActivation)
           
 
Method Summary
 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()
           
 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 setLabel(java.lang.String label)
           
 void setMaster(boolean isMaster)
           
 void setTaxedAmount(TaxedAmount taxedAmount)
           
 void setTransaction(Transaction t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChargedTransactionSet.ChargedTransactionSetEntry

public ChargedTransactionSet.ChargedTransactionSetEntry()
Initializes an empty entry


ChargedTransactionSet.ChargedTransactionSetEntry

public ChargedTransactionSet.ChargedTransactionSetEntry(Transaction t,
                                                        com.highdeal.pnr.domain.IChargeActivation chargeActivation)
Method Detail

setTransaction

public void setTransaction(Transaction t)

getTransaction

public Transaction getTransaction()

setTaxedAmount

public void setTaxedAmount(TaxedAmount taxedAmount)

getTaxedAmount

public TaxedAmount getTaxedAmount()

getLabel

public java.lang.String getLabel()

setLabel

public void setLabel(java.lang.String label)

setChargedTransactions

public void setChargedTransactions(java.util.List<ChargedTransaction> ts)

getChargedTransactions

public java.util.List<ChargedTransaction> getChargedTransactions()

getChargeType

public ChargedTransactionSet.ChargeType getChargeType()

setChargeType

public void setChargeType(ChargedTransactionSet.ChargeType chargeType)

isMaster

public boolean isMaster()

setMaster

public void setMaster(boolean isMaster)

addDetail

public void addDetail(PrepaidTransactionField code,
                      java.lang.Object value)

getDetails

public java.util.Map<PrepaidTransactionField,java.lang.Object> getDetails()

setAttributes

public void setAttributes(XMLAttributes atts)
Description copied from interface: XMLMarshallable
Sets the attributes of the XML representation of the element being processed.

Specified by:
setAttributes in interface XMLMarshallable
Parameters:
atts - The XML attributes of the current element

addChild

public void addChild(java.lang.String tagName,
                     XMLMarshallable child)
Description copied from interface: XMLMarshallable
Adds a child to the object, the child representing the marshallable object which must be added to the element.

Specified by:
addChild in interface XMLMarshallable
Parameters:
tagName - The name of tag for the child
child - The child to be added

addCharacterData

public void addCharacterData(java.lang.String cData)
Description copied from interface: XMLMarshallable
Adds character data to the content element.

Specified by:
addCharacterData in interface XMLMarshallable
Parameters:
cData - The character data to be added

marshal

public void marshal(XMLOutputter output)
Description copied from interface: XMLMarshallable
Gives an XML representation of this object, including its children.

Specified by:
marshal in interface XMLMarshallable
Parameters:
output - The XML output to 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)

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)