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