public static class RefundRequest.Builder extends Object
RefundRequest.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RefundRequest.Builder |
amount(Money amount)
Setter for amount.
|
RefundRequest |
build()
Builds a new
RefundRequest object using the set fields. |
RefundRequest.Builder |
customId(String customId)
Setter for customId.
|
RefundRequest.Builder |
invoiceId(String invoiceId)
Setter for invoiceId.
|
RefundRequest.Builder |
noteToPayer(String noteToPayer)
Setter for noteToPayer.
|
RefundRequest.Builder |
paymentInstruction(RefundPaymentInstruction paymentInstruction)
Setter for paymentInstruction.
|
public RefundRequest.Builder amount(Money amount)
amount - Money value for amount.public RefundRequest.Builder customId(String customId)
customId - String value for customId.public RefundRequest.Builder invoiceId(String invoiceId)
invoiceId - String value for invoiceId.public RefundRequest.Builder noteToPayer(String noteToPayer)
noteToPayer - String value for noteToPayer.public RefundRequest.Builder paymentInstruction(RefundPaymentInstruction paymentInstruction)
paymentInstruction - RefundPaymentInstruction value for paymentInstruction.public RefundRequest build()
RefundRequest object using the set fields.RefundRequestCopyright © 2025. All rights reserved.