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