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