Class GeneratedPaymentManager

    • Field Detail

      • ORDER2PAYMENTTRANSACTIONPAYMENTTRANSACTIONSHANDLER

        protected static final OneToManyHandler<PaymentTransaction> ORDER2PAYMENTTRANSACTIONPAYMENTTRANSACTIONSHANDLER
        OneToManyHandler for handling 1:n PAYMENTTRANSACTIONS's relation attributes from 'many' side.
      • DEFAULT_INITIAL_ATTRIBUTES

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

      • GeneratedPaymentManager

        public GeneratedPaymentManager()
    • Method Detail

      • getBillingAddress

        public Address getBillingAddress​(SessionContext ctx,
                                         PaymentInfo item)
        Generated method - Getter of the PaymentInfo.billingAddress attribute.
        Returns:
        the billingAddress
      • getBillingAddress

        public Address getBillingAddress​(PaymentInfo item)
        Generated method - Getter of the PaymentInfo.billingAddress attribute.
        Returns:
        the billingAddress
      • setBillingAddress

        public void setBillingAddress​(SessionContext ctx,
                                      PaymentInfo item,
                                      Address value)
        Generated method - Setter of the PaymentInfo.billingAddress attribute.
        Parameters:
        value - the billingAddress
      • setBillingAddress

        public void setBillingAddress​(PaymentInfo item,
                                      Address value)
        Generated method - Setter of the PaymentInfo.billingAddress attribute.
        Parameters:
        value - the billingAddress
      • createPaymentTransaction

        public PaymentTransaction createPaymentTransaction​(java.util.Map attributeValues)
      • createPaymentTransactionEntry

        public PaymentTransactionEntry createPaymentTransactionEntry​(java.util.Map attributeValues)
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class Extension
      • getPaymentTransactions

        public java.util.List<PaymentTransaction> getPaymentTransactions​(SessionContext ctx,
                                                                         AbstractOrder item)
        Generated method - Getter of the AbstractOrder.paymentTransactions attribute.
        Returns:
        the paymentTransactions
      • getPaymentTransactions

        public java.util.List<PaymentTransaction> getPaymentTransactions​(AbstractOrder item)
        Generated method - Getter of the AbstractOrder.paymentTransactions attribute.
        Returns:
        the paymentTransactions
      • setPaymentTransactions

        public void setPaymentTransactions​(SessionContext ctx,
                                           AbstractOrder item,
                                           java.util.List<PaymentTransaction> value)
        Generated method - Setter of the AbstractOrder.paymentTransactions attribute.
        Parameters:
        value - the paymentTransactions
      • setPaymentTransactions

        public void setPaymentTransactions​(AbstractOrder item,
                                           java.util.List<PaymentTransaction> value)
        Generated method - Setter of the AbstractOrder.paymentTransactions attribute.
        Parameters:
        value - the paymentTransactions
      • addToPaymentTransactions

        public void addToPaymentTransactions​(SessionContext ctx,
                                             AbstractOrder item,
                                             PaymentTransaction value)
        Generated method - Adds value to paymentTransactions.
        Parameters:
        value - the item to add to paymentTransactions
      • addToPaymentTransactions

        public void addToPaymentTransactions​(AbstractOrder item,
                                             PaymentTransaction value)
        Generated method - Adds value to paymentTransactions.
        Parameters:
        value - the item to add to paymentTransactions
      • removeFromPaymentTransactions

        public void removeFromPaymentTransactions​(SessionContext ctx,
                                                  AbstractOrder item,
                                                  PaymentTransaction value)
        Generated method - Removes value from paymentTransactions.
        Parameters:
        value - the item to remove from paymentTransactions
      • removeFromPaymentTransactions

        public void removeFromPaymentTransactions​(AbstractOrder item,
                                                  PaymentTransaction value)
        Generated method - Removes value from paymentTransactions.
        Parameters:
        value - the item to remove from paymentTransactions
      • getSubscriptionId

        public java.lang.String getSubscriptionId​(SessionContext ctx,
                                                  PaymentInfo item)
        Generated method - Getter of the CreditCardPaymentInfo.subscriptionId attribute.
        Returns:
        the subscriptionId - Subscription ID is the reference information for the credit cart data stored in the external payment provider.
      • getSubscriptionId

        public java.lang.String getSubscriptionId​(PaymentInfo item)
        Generated method - Getter of the CreditCardPaymentInfo.subscriptionId attribute.
        Returns:
        the subscriptionId - Subscription ID is the reference information for the credit cart data stored in the external payment provider.
      • setSubscriptionId

        public void setSubscriptionId​(SessionContext ctx,
                                      PaymentInfo item,
                                      java.lang.String value)
        Generated method - Setter of the CreditCardPaymentInfo.subscriptionId attribute.
        Parameters:
        value - the subscriptionId - Subscription ID is the reference information for the credit cart data stored in the external payment provider.
      • setSubscriptionId

        public void setSubscriptionId​(PaymentInfo item,
                                      java.lang.String value)
        Generated method - Setter of the CreditCardPaymentInfo.subscriptionId attribute.
        Parameters:
        value - the subscriptionId - Subscription ID is the reference information for the credit cart data stored in the external payment provider.