Class GeneratedPaymentTransaction

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
PaymentTransaction

public abstract class GeneratedPaymentTransaction extends GenericItem
Generated class for type PaymentTransaction.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedPaymentTransaction

      public GeneratedPaymentTransaction()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • getCode

      public String getCode(SessionContext ctx)
      Generated method - Getter of the PaymentTransaction.code attribute.
      Returns:
      the code
    • getCode

      public String getCode()
      Generated method - Getter of the PaymentTransaction.code attribute.
      Returns:
      the code
    • setCode

      public void setCode(SessionContext ctx, String value)
      Generated method - Setter of the PaymentTransaction.code attribute.
      Parameters:
      value - the code
    • setCode

      public void setCode(String value)
      Generated method - Setter of the PaymentTransaction.code attribute.
      Parameters:
      value - the code
    • createItem

      protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
      Description copied from class: Item
      Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) during ComposedType.newInstance(Map).

      In case this method uses any of the attribute values during creation it is required to override Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
      Sn example:

      
       public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
       ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
       man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
       // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
       SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
       super.getNonInitialAttributes( ctx, allAttributes );
       // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
      
       
      Overrides:
      createItem in class GenericItem
      Parameters:
      ctx - the current session context which this item is created within
      type - the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )
      Returns:
      the new item instance
      Throws:
      JaloBusinessException - indicates an error during creation - any changes will be rollbacked
    • getCurrency

      public Currency getCurrency(SessionContext ctx)
      Generated method - Getter of the PaymentTransaction.currency attribute.
      Returns:
      the currency
    • getCurrency

      public Currency getCurrency()
      Generated method - Getter of the PaymentTransaction.currency attribute.
      Returns:
      the currency
    • setCurrency

      public void setCurrency(SessionContext ctx, Currency value)
      Generated method - Setter of the PaymentTransaction.currency attribute.
      Parameters:
      value - the currency
    • setCurrency

      public void setCurrency(Currency value)
      Generated method - Setter of the PaymentTransaction.currency attribute.
      Parameters:
      value - the currency
    • getEntries

      public List<PaymentTransactionEntry> getEntries(SessionContext ctx)
      Generated method - Getter of the PaymentTransaction.entries attribute.
      Returns:
      the entries
    • getEntries

      public List<PaymentTransactionEntry> getEntries()
      Generated method - Getter of the PaymentTransaction.entries attribute.
      Returns:
      the entries
    • setEntries

      public void setEntries(SessionContext ctx, List<PaymentTransactionEntry> value)
      Generated method - Setter of the PaymentTransaction.entries attribute.
      Parameters:
      value - the entries
    • setEntries

      public void setEntries(List<PaymentTransactionEntry> value)
      Generated method - Setter of the PaymentTransaction.entries attribute.
      Parameters:
      value - the entries
    • addToEntries

      public void addToEntries(SessionContext ctx, PaymentTransactionEntry value)
      Generated method - Adds value to entries.
      Parameters:
      value - the item to add to entries
    • addToEntries

      public void addToEntries(PaymentTransactionEntry value)
      Generated method - Adds value to entries.
      Parameters:
      value - the item to add to entries
    • removeFromEntries

      public void removeFromEntries(SessionContext ctx, PaymentTransactionEntry value)
      Generated method - Removes value from entries.
      Parameters:
      value - the item to remove from entries
    • removeFromEntries

      public void removeFromEntries(PaymentTransactionEntry value)
      Generated method - Removes value from entries.
      Parameters:
      value - the item to remove from entries
    • getInfo

      public PaymentInfo getInfo(SessionContext ctx)
      Generated method - Getter of the PaymentTransaction.info attribute.
      Returns:
      the info
    • getInfo

      public PaymentInfo getInfo()
      Generated method - Getter of the PaymentTransaction.info attribute.
      Returns:
      the info
    • setInfo

      public void setInfo(SessionContext ctx, PaymentInfo value)
      Generated method - Setter of the PaymentTransaction.info attribute.
      Parameters:
      value - the info
    • setInfo

      public void setInfo(PaymentInfo value)
      Generated method - Setter of the PaymentTransaction.info attribute.
      Parameters:
      value - the info
    • getOrder

      public AbstractOrder getOrder(SessionContext ctx)
      Generated method - Getter of the PaymentTransaction.order attribute.
      Returns:
      the order
    • getOrder

      public AbstractOrder getOrder()
      Generated method - Getter of the PaymentTransaction.order attribute.
      Returns:
      the order
    • setOrder

      public void setOrder(SessionContext ctx, AbstractOrder value)
      Generated method - Setter of the PaymentTransaction.order attribute.
      Parameters:
      value - the order
    • setOrder

      public void setOrder(AbstractOrder value)
      Generated method - Setter of the PaymentTransaction.order attribute.
      Parameters:
      value - the order
    • getPaymentProvider

      public String getPaymentProvider(SessionContext ctx)
      Generated method - Getter of the PaymentTransaction.paymentProvider attribute.
      Returns:
      the paymentProvider
    • getPaymentProvider

      public String getPaymentProvider()
      Generated method - Getter of the PaymentTransaction.paymentProvider attribute.
      Returns:
      the paymentProvider
    • setPaymentProvider

      public void setPaymentProvider(SessionContext ctx, String value)
      Generated method - Setter of the PaymentTransaction.paymentProvider attribute.
      Parameters:
      value - the paymentProvider
    • setPaymentProvider

      public void setPaymentProvider(String value)
      Generated method - Setter of the PaymentTransaction.paymentProvider attribute.
      Parameters:
      value - the paymentProvider
    • getPlannedAmount

      public BigDecimal getPlannedAmount(SessionContext ctx)
      Generated method - Getter of the PaymentTransaction.plannedAmount attribute.
      Returns:
      the plannedAmount
    • getPlannedAmount

      public BigDecimal getPlannedAmount()
      Generated method - Getter of the PaymentTransaction.plannedAmount attribute.
      Returns:
      the plannedAmount
    • setPlannedAmount

      public void setPlannedAmount(SessionContext ctx, BigDecimal value)
      Generated method - Setter of the PaymentTransaction.plannedAmount attribute.
      Parameters:
      value - the plannedAmount
    • setPlannedAmount

      public void setPlannedAmount(BigDecimal value)
      Generated method - Setter of the PaymentTransaction.plannedAmount attribute.
      Parameters:
      value - the plannedAmount
    • getRequestId

      public String getRequestId(SessionContext ctx)
      Generated method - Getter of the PaymentTransaction.requestId attribute.
      Returns:
      the requestId
    • getRequestId

      public String getRequestId()
      Generated method - Getter of the PaymentTransaction.requestId attribute.
      Returns:
      the requestId
    • setRequestId

      public void setRequestId(SessionContext ctx, String value)
      Generated method - Setter of the PaymentTransaction.requestId attribute.
      Parameters:
      value - the requestId
    • setRequestId

      public void setRequestId(String value)
      Generated method - Setter of the PaymentTransaction.requestId attribute.
      Parameters:
      value - the requestId
    • getRequestToken

      public String getRequestToken(SessionContext ctx)
      Generated method - Getter of the PaymentTransaction.requestToken attribute.
      Returns:
      the requestToken
    • getRequestToken

      public String getRequestToken()
      Generated method - Getter of the PaymentTransaction.requestToken attribute.
      Returns:
      the requestToken
    • setRequestToken

      public void setRequestToken(SessionContext ctx, String value)
      Generated method - Setter of the PaymentTransaction.requestToken attribute.
      Parameters:
      value - the requestToken
    • setRequestToken

      public void setRequestToken(String value)
      Generated method - Setter of the PaymentTransaction.requestToken attribute.
      Parameters:
      value - the requestToken
    • getVersionID

      public String getVersionID(SessionContext ctx)
      Generated method - Getter of the PaymentTransaction.versionID attribute.
      Returns:
      the versionID
    • getVersionID

      public String getVersionID()
      Generated method - Getter of the PaymentTransaction.versionID attribute.
      Returns:
      the versionID
    • setVersionID

      protected void setVersionID(SessionContext ctx, String value)
      Generated method - Setter of the PaymentTransaction.versionID attribute.
      Parameters:
      value - the versionID
    • setVersionID

      protected void setVersionID(String value)
      Generated method - Setter of the PaymentTransaction.versionID attribute.
      Parameters:
      value - the versionID