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