Class GeneratedPaymentTransaction

    • Field Detail

      • CODE

        public static final java.lang.String CODE
        Qualifier of the PaymentTransaction.code attribute
        See Also:
        Constant Field Values
      • REQUESTID

        public static final java.lang.String REQUESTID
        Qualifier of the PaymentTransaction.requestId attribute
        See Also:
        Constant Field Values
      • REQUESTTOKEN

        public static final java.lang.String REQUESTTOKEN
        Qualifier of the PaymentTransaction.requestToken attribute
        See Also:
        Constant Field Values
      • PAYMENTPROVIDER

        public static final java.lang.String PAYMENTPROVIDER
        Qualifier of the PaymentTransaction.paymentProvider attribute
        See Also:
        Constant Field Values
      • PLANNEDAMOUNT

        public static final java.lang.String PLANNEDAMOUNT
        Qualifier of the PaymentTransaction.plannedAmount attribute
        See Also:
        Constant Field Values
      • CURRENCY

        public static final java.lang.String CURRENCY
        Qualifier of the PaymentTransaction.currency attribute
        See Also:
        Constant Field Values
      • INFO

        public static final java.lang.String INFO
        Qualifier of the PaymentTransaction.info attribute
        See Also:
        Constant Field Values
      • VERSIONID

        public static final java.lang.String VERSIONID
        Qualifier of the PaymentTransaction.versionID attribute
        See Also:
        Constant Field Values
      • ENTRIES

        public static final java.lang.String ENTRIES
        Qualifier of the PaymentTransaction.entries attribute
        See Also:
        Constant Field Values
      • ORDER

        public static final java.lang.String ORDER
        Qualifier of the PaymentTransaction.order attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedPaymentTransaction

        public GeneratedPaymentTransaction()
    • Method Detail

      • getCode

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

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

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

        public void setCode​(java.lang.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 java.util.List<PaymentTransactionEntry> getEntries​(SessionContext ctx)
        Generated method - Getter of the PaymentTransaction.entries attribute.
        Returns:
        the entries
      • getEntries

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

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

        public void setEntries​(java.util.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 java.lang.String getPaymentProvider​(SessionContext ctx)
        Generated method - Getter of the PaymentTransaction.paymentProvider attribute.
        Returns:
        the paymentProvider
      • getPaymentProvider

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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