public class StandaloneRefundRequest extends AbstractRequest
StandaloneRefundCommand| Constructor and Description |
|---|
StandaloneRefundRequest(java.lang.String merchantTransactionCode,
BillingInfo billTo,
CardInfo card,
java.util.Currency currency,
java.math.BigDecimal totalAmount)
Constructs a simple request
|
StandaloneRefundRequest(java.lang.String merchantTransactionCode,
java.lang.String subscriptionID,
BillingInfo billTo,
CardInfo card,
java.util.Currency currency,
java.math.BigDecimal totalAmount)
Constructs request, where missing data is filled by the payment provider from a previous txn.
|
StandaloneRefundRequest(java.lang.String merchantTransactionCode,
java.lang.String subscriptionID,
BillingInfo billTo,
CardInfo card,
java.util.Currency currency,
java.math.BigDecimal totalAmount,
java.lang.String paymentProvider)
Constructs request
|
| Modifier and Type | Method and Description |
|---|---|
BillingInfo |
getBillTo() |
CardInfo |
getCard() |
java.util.Currency |
getCurrency() |
java.lang.String |
getPaymentProvider() |
java.lang.String |
getSubscriptionID() |
java.math.BigDecimal |
getTotalAmount() |
boolean |
isTokenizedRequest() |
getMerchantTransactionCodepublic StandaloneRefundRequest(java.lang.String merchantTransactionCode,
BillingInfo billTo,
CardInfo card,
java.util.Currency currency,
java.math.BigDecimal totalAmount)
merchantTransactionCode - billTo - customer address for which to refund moneycard - card informationcurrency - currencytotalAmount - how much money to refundpublic StandaloneRefundRequest(java.lang.String merchantTransactionCode,
java.lang.String subscriptionID,
BillingInfo billTo,
CardInfo card,
java.util.Currency currency,
java.math.BigDecimal totalAmount)
merchantTransactionCode - subscriptionID - can be nullbillTo - customer address for which to refund money, can be null if subscriptionID is not nullcard - card information, can be null if subscriptionID is not nullcurrency - currencytotalAmount - how much money to refundpublic StandaloneRefundRequest(java.lang.String merchantTransactionCode,
java.lang.String subscriptionID,
BillingInfo billTo,
CardInfo card,
java.util.Currency currency,
java.math.BigDecimal totalAmount,
java.lang.String paymentProvider)
merchantTransactionCode - merchant transaction codesubscriptionID - can be nullbillTo - customer address for which to refund money, can be null if subscriptionID is not nullcard - card information, can be null if subscriptionID is not nullcurrency - currencytotalAmount - how much money to refundpaymentProvider - payment provider's namepublic boolean isTokenizedRequest()
public java.lang.String getSubscriptionID()
public BillingInfo getBillTo()
public CardInfo getCard()
public java.util.Currency getCurrency()
public java.math.BigDecimal getTotalAmount()
public java.lang.String getPaymentProvider()
Copyright © 2018 SAP SE. All Rights Reserved.