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