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 Details

    • ChargedTransactionSetEntry

      public ChargedTransactionSetEntry()
      Initializes an empty entry
    • ChargedTransactionSetEntry

      public ChargedTransactionSetEntry(Transaction t, com.highdeal.pnr.domain.IChargeActivation chargeActivation)
  • Method Details

    • setTransaction

      public void setTransaction(Transaction t)
    • getTransaction

      public Transaction getTransaction()
    • setTaxedAmount

      public void setTaxedAmount(TaxedAmount taxedAmount)
    • getTaxedAmount

      public TaxedAmount getTaxedAmount()
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • setChargedTransactions

      public void setChargedTransactions(List<ChargedTransaction> ts)
    • getChargedTransactions

      public 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, Object value)
    • getDetails

      public Map<PrepaidTransactionField,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(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(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)
    • getExternalAccountInformation

      public com.highdeal.pnr.domain.IExternalAccountInformation getExternalAccountInformation()
    • setExternalAccountInformation

      public void setExternalAccountInformation(com.highdeal.pnr.domain.IExternalAccountInformation externalAccountInformation)