Class CreateSubscriptionRequest

    • Constructor Detail

      • CreateSubscriptionRequest

        public CreateSubscriptionRequest​(java.lang.String merchantTransactionCode,
                                         BillingInfo billingInfo,
                                         java.util.Currency currency,
                                         CardInfo card,
                                         java.lang.String requestId,
                                         java.lang.String requestToken,
                                         java.lang.String paymentProvider)
        Parameters:
        merchantTransactionCode - Merchants transaction ID
        billingInfo - Billing address
        currency - Currency of the payments
        card - Credit card info
        requestId - The requestID from the previous "Authorize" txn
        requestToken - the request token from the previous "Authorize" txn
    • Method Detail

      • getCard

        public CardInfo getCard()
        Returns:
        the card
      • getCurrency

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

        public BillingInfo getBillingInfo()
        Returns:
        the billingInfo
      • getRequestId

        public java.lang.String getRequestId()
        Returns:
        the requestId
      • getRequestToken

        public java.lang.String getRequestToken()
        Returns:
        the requestToken
      • getPaymentProvider

        public java.lang.String getPaymentProvider()
        Returns:
        the paymentProvider