Class CreateSubscriptionRequest

java.lang.Object
de.hybris.platform.payment.commands.request.AbstractRequest
de.hybris.platform.payment.commands.request.CreateSubscriptionRequest

public class CreateSubscriptionRequest extends AbstractRequest
  • Constructor Details

    • CreateSubscriptionRequest

      public CreateSubscriptionRequest(String merchantTransactionCode, BillingInfo billingInfo, Currency currency, CardInfo card, String requestId, String requestToken, 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 Details

    • getCard

      public CardInfo getCard()
      Returns:
      the card
    • getCurrency

      public Currency getCurrency()
      Returns:
      the currency
    • getBillingInfo

      public BillingInfo getBillingInfo()
      Returns:
      the billingInfo
    • getRequestId

      public String getRequestId()
      Returns:
      the requestId
    • getRequestToken

      public String getRequestToken()
      Returns:
      the requestToken
    • getPaymentProvider

      public String getPaymentProvider()
      Returns:
      the paymentProvider