public class RefundRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RefundRequest.Builder
Class to build instances of
RefundRequest. |
| Constructor and Description |
|---|
RefundRequest()
Default constructor.
|
RefundRequest(Money amount,
String customId,
String invoiceId,
String noteToPayer,
RefundPaymentInstruction paymentInstruction)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Money |
getAmount()
Getter for Amount.
|
String |
getCustomId()
Getter for CustomId.
|
String |
getInvoiceId()
Getter for InvoiceId.
|
String |
getNoteToPayer()
Getter for NoteToPayer.
|
RefundPaymentInstruction |
getPaymentInstruction()
Getter for PaymentInstruction.
|
void |
setAmount(Money amount)
Setter for Amount.
|
void |
setCustomId(String customId)
Setter for CustomId.
|
void |
setInvoiceId(String invoiceId)
Setter for InvoiceId.
|
void |
setNoteToPayer(String noteToPayer)
Setter for NoteToPayer.
|
void |
setPaymentInstruction(RefundPaymentInstruction paymentInstruction)
Setter for PaymentInstruction.
|
RefundRequest.Builder |
toBuilder()
Builds a new
RefundRequest.Builder object. |
String |
toString()
Converts this RefundRequest into string format.
|
public RefundRequest()
public RefundRequest(Money amount, String customId, String invoiceId, String noteToPayer, RefundPaymentInstruction paymentInstruction)
amount - Money value for amount.customId - String value for customId.invoiceId - String value for invoiceId.noteToPayer - String value for noteToPayer.paymentInstruction - RefundPaymentInstruction value for paymentInstruction.public Money getAmount()
public void setAmount(Money amount)
amount - Value for Moneypublic String getCustomId()
public void setCustomId(String customId)
customId - Value for Stringpublic String getInvoiceId()
public void setInvoiceId(String invoiceId)
invoiceId - Value for Stringpublic String getNoteToPayer()
public void setNoteToPayer(String noteToPayer)
noteToPayer - Value for Stringpublic RefundPaymentInstruction getPaymentInstruction()
public void setPaymentInstruction(RefundPaymentInstruction paymentInstruction)
paymentInstruction - Value for RefundPaymentInstructionpublic String toString()
public RefundRequest.Builder toBuilder()
RefundRequest.Builder object.
Creates the instance with the state of the current model.RefundRequest.Builder objectCopyright © 2025. All rights reserved.