Class PaymentEndpointRequest.Builder
- java.lang.Object
-
- com.merge.api.resources.accounting.payments.requests.PaymentEndpointRequest.Builder
-
- All Implemented Interfaces:
PaymentEndpointRequest._FinalStage,PaymentEndpointRequest.ModelStage
- Enclosing class:
- PaymentEndpointRequest
public static final class PaymentEndpointRequest.Builder extends java.lang.Object implements PaymentEndpointRequest.ModelStage, PaymentEndpointRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentEndpointRequestbuild()PaymentEndpointRequest.Builderfrom(PaymentEndpointRequest other)PaymentEndpointRequest._FinalStageisDebugMode(java.lang.Boolean isDebugMode)Whether to include debug fields (such as log file links) in the response.PaymentEndpointRequest._FinalStageisDebugMode(java.util.Optional<java.lang.Boolean> isDebugMode)PaymentEndpointRequest._FinalStagemodel(PaymentRequest model)PaymentEndpointRequest._FinalStagerunAsync(java.lang.Boolean runAsync)Whether or not third-party updates should be run asynchronously.PaymentEndpointRequest._FinalStagerunAsync(java.util.Optional<java.lang.Boolean> runAsync)
-
-
-
Method Detail
-
from
public PaymentEndpointRequest.Builder from(PaymentEndpointRequest other)
- Specified by:
fromin interfacePaymentEndpointRequest.ModelStage
-
model
public PaymentEndpointRequest._FinalStage model(PaymentRequest model)
- Specified by:
modelin interfacePaymentEndpointRequest.ModelStage
-
runAsync
public PaymentEndpointRequest._FinalStage runAsync(java.lang.Boolean runAsync)
Whether or not third-party updates should be run asynchronously.
- Specified by:
runAsyncin interfacePaymentEndpointRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
runAsync
public PaymentEndpointRequest._FinalStage runAsync(java.util.Optional<java.lang.Boolean> runAsync)
- Specified by:
runAsyncin interfacePaymentEndpointRequest._FinalStage
-
isDebugMode
public PaymentEndpointRequest._FinalStage isDebugMode(java.lang.Boolean isDebugMode)
Whether to include debug fields (such as log file links) in the response.
- Specified by:
isDebugModein interfacePaymentEndpointRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isDebugMode
public PaymentEndpointRequest._FinalStage isDebugMode(java.util.Optional<java.lang.Boolean> isDebugMode)
- Specified by:
isDebugModein interfacePaymentEndpointRequest._FinalStage
-
build
public PaymentEndpointRequest build()
- Specified by:
buildin interfacePaymentEndpointRequest._FinalStage
-
-