Class ReportItem.Builder
- java.lang.Object
-
- com.merge.api.resources.accounting.types.ReportItem.Builder
-
- Enclosing class:
- ReportItem
public static final class ReportItem.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportItembuild()ReportItem.Buildercompany(java.lang.String company)ReportItem.Buildercompany(java.util.Optional<java.lang.String> company)ReportItem.BuildercreatedAt(java.time.OffsetDateTime createdAt)ReportItem.BuildercreatedAt(java.util.Optional<java.time.OffsetDateTime> createdAt)ReportItem.Builderfrom(ReportItem other)ReportItem.BuildermodifiedAt(java.time.OffsetDateTime modifiedAt)ReportItem.BuildermodifiedAt(java.util.Optional<java.time.OffsetDateTime> modifiedAt)ReportItem.Buildername(java.lang.String name)ReportItem.Buildername(java.util.Optional<java.lang.String> name)ReportItem.BuilderremoteId(java.lang.String remoteId)ReportItem.BuilderremoteId(java.util.Optional<java.lang.String> remoteId)ReportItem.BuilderremoteWasDeleted(java.lang.Boolean remoteWasDeleted)ReportItem.BuilderremoteWasDeleted(java.util.Optional<java.lang.Boolean> remoteWasDeleted)ReportItem.BuildersubItems(java.util.List<java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>> subItems)ReportItem.BuildersubItems(java.util.Optional<java.util.List<java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>>> subItems)ReportItem.Buildervalue(java.lang.Double value)ReportItem.Buildervalue(java.util.Optional<java.lang.Double> value)
-
-
-
Method Detail
-
from
public ReportItem.Builder from(ReportItem other)
-
remoteId
public ReportItem.Builder remoteId(java.util.Optional<java.lang.String> remoteId)
-
remoteId
public ReportItem.Builder remoteId(java.lang.String remoteId)
-
createdAt
public ReportItem.Builder createdAt(java.util.Optional<java.time.OffsetDateTime> createdAt)
-
createdAt
public ReportItem.Builder createdAt(java.time.OffsetDateTime createdAt)
-
modifiedAt
public ReportItem.Builder modifiedAt(java.util.Optional<java.time.OffsetDateTime> modifiedAt)
-
modifiedAt
public ReportItem.Builder modifiedAt(java.time.OffsetDateTime modifiedAt)
-
name
public ReportItem.Builder name(java.util.Optional<java.lang.String> name)
-
name
public ReportItem.Builder name(java.lang.String name)
-
value
public ReportItem.Builder value(java.util.Optional<java.lang.Double> value)
-
value
public ReportItem.Builder value(java.lang.Double value)
-
subItems
public ReportItem.Builder subItems(java.util.Optional<java.util.List<java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>>> subItems)
-
subItems
public ReportItem.Builder subItems(java.util.List<java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>> subItems)
-
company
public ReportItem.Builder company(java.util.Optional<java.lang.String> company)
-
company
public ReportItem.Builder company(java.lang.String company)
-
remoteWasDeleted
public ReportItem.Builder remoteWasDeleted(java.util.Optional<java.lang.Boolean> remoteWasDeleted)
-
remoteWasDeleted
public ReportItem.Builder remoteWasDeleted(java.lang.Boolean remoteWasDeleted)
-
build
public ReportItem build()
-
-