public class StandaloneRefundRequest extends AbstractRequest
StandaloneRefundCommand| Constructor and Description |
|---|
StandaloneRefundRequest(String merchantTransactionCode,
BillingInfo billTo,
CardInfo card,
Currency currency,
BigDecimal totalAmount)
Constructs a simple request
|
StandaloneRefundRequest(String merchantTransactionCode,
String subscriptionID,
BillingInfo billTo,
CardInfo card,
Currency currency,
BigDecimal totalAmount)
Constructs request, where missing data is filled by the payment proveder from a previous txn.
|
| Modifier and Type | Method and Description |
|---|---|
BillingInfo |
getBillTo() |
CardInfo |
getCard() |
Currency |
getCurrency() |
String |
getSubscriptionID() |
BigDecimal |
getTotalAmount() |
boolean |
isTokenizedRequest() |
getMerchantTransactionCodepublic StandaloneRefundRequest(String merchantTransactionCode, BillingInfo billTo, CardInfo card, Currency currency, BigDecimal totalAmount)
merchantTransactionCode - billTo - customer address for which to refund moneycard - card informationcurrency - currencytotalAmount - how much money to refundpublic StandaloneRefundRequest(String merchantTransactionCode, String subscriptionID, BillingInfo billTo, CardInfo card, Currency currency, 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 boolean isTokenizedRequest()
public String getSubscriptionID()
public BillingInfo getBillTo()
public CardInfo getCard()
public Currency getCurrency()
public BigDecimal getTotalAmount()
Copyright © 2017 SAP SE. All Rights Reserved.