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