Class AuthorizationRequest

    • Constructor Detail

      • AuthorizationRequest

        public AuthorizationRequest​(java.lang.String merchantTransactionCode,
                                    CardInfo card,
                                    java.util.Currency currency,
                                    java.math.BigDecimal totalAmount,
                                    BillingInfo shippingInfo)
        An authorized request, where missing data is filled by the payment provider from a previous txn.
        Parameters:
        merchantTransactionCode -
        card -
        currency -
        totalAmount -
        shippingInfo - can be null if subscriptionID is not null
    • Method Detail

      • getCard

        public CardInfo getCard()
        Returns:
        the card
      • getCurrency

        public java.util.Currency getCurrency()
        Returns:
        the currency
      • getTotalAmount

        public java.math.BigDecimal getTotalAmount()
        Returns:
        the totalAmount
      • getShippingInfo

        public BillingInfo getShippingInfo()
        Returns:
        the shippingInfo