public class RefundPaymentRequest extends BaseRequest
Constructor and Description |
---|
RefundPaymentRequest() |
Modifier and Type | Method and Description |
---|---|
long |
getAmount()
Get the field value
|
java.lang.String |
getOrderId()
Get the field value
|
java.lang.String |
getPaymentId()
Get the field value
|
boolean |
isFullRefund()
Get the field value
|
void |
setAmount(long amount)
Set the field value
|
void |
setFullRefund(boolean fullRefund)
Set the field value
|
void |
setOrderId(java.lang.String orderId)
Set the field value
|
void |
setPaymentId(java.lang.String paymentId)
Set the field value
|
public java.lang.String getOrderId()
public void setOrderId(java.lang.String orderId)
orderId
- unique identifier of the order to be refundedpublic java.lang.String getPaymentId()
public void setPaymentId(java.lang.String paymentId)
paymentId
- unique identifier of the payment to be refundedpublic long getAmount()
public void setAmount(long amount)
amount
- Amount to be refundedpublic boolean isFullRefund()
public void setFullRefund(boolean fullRefund)
fullRefund
- If true, then it is a full refund. The amount will be ignored.