Class CreateSubscriptionRequest
java.lang.Object
de.hybris.platform.payment.commands.request.AbstractRequest
de.hybris.platform.payment.commands.request.CreateSubscriptionRequest
Request for
CreateSubscriptionCommand-
Constructor Summary
ConstructorsConstructorDescriptionCreateSubscriptionRequest(String merchantTransactionCode, BillingInfo billingInfo, Currency currency, CardInfo card, String requestId, String requestToken, String paymentProvider) -
Method Summary
Methods inherited from class de.hybris.platform.payment.commands.request.AbstractRequest
getMerchantTransactionCode
-
Constructor Details
-
CreateSubscriptionRequest
public CreateSubscriptionRequest(String merchantTransactionCode, BillingInfo billingInfo, Currency currency, CardInfo card, String requestId, String requestToken, String paymentProvider) - Parameters:
merchantTransactionCode- Merchants transaction IDbillingInfo- Billing addresscurrency- Currency of the paymentscard- Credit card inforequestId- The requestID from the previous "Authorize" txnrequestToken- the request token from the previous "Authorize" txn
-
-
Method Details
-
getCard
- Returns:
- the card
-
getCurrency
- Returns:
- the currency
-
getBillingInfo
- Returns:
- the billingInfo
-
getRequestId
- Returns:
- the requestId
-
getRequestToken
- Returns:
- the requestToken
-
getPaymentProvider
- Returns:
- the paymentProvider
-