Class TaxComponent.Builder
- java.lang.Object
-
- com.merge.api.resources.accounting.types.TaxComponent.Builder
-
- Enclosing class:
- TaxComponent
public static final class TaxComponent.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaxComponentbuild()TaxComponent.BuildercomponentType(TaxComponentComponentType componentType)TaxComponent.BuildercomponentType(java.util.Optional<TaxComponentComponentType> componentType)TaxComponent.BuildercreatedAt(java.time.OffsetDateTime createdAt)TaxComponent.BuildercreatedAt(java.util.Optional<java.time.OffsetDateTime> createdAt)TaxComponent.Builderfrom(TaxComponent other)TaxComponent.Builderid(java.lang.String id)TaxComponent.Builderid(java.util.Optional<java.lang.String> id)TaxComponent.BuilderisCompound(java.lang.Boolean isCompound)TaxComponent.BuilderisCompound(java.util.Optional<java.lang.Boolean> isCompound)TaxComponent.BuildermodifiedAt(java.time.OffsetDateTime modifiedAt)TaxComponent.BuildermodifiedAt(java.util.Optional<java.time.OffsetDateTime> modifiedAt)TaxComponent.Buildername(java.lang.String name)TaxComponent.Buildername(java.util.Optional<java.lang.String> name)TaxComponent.Builderrate(java.lang.String rate)TaxComponent.Builderrate(java.util.Optional<java.lang.String> rate)TaxComponent.BuilderremoteId(java.lang.String remoteId)TaxComponent.BuilderremoteId(java.util.Optional<java.lang.String> remoteId)TaxComponent.BuilderremoteWasDeleted(java.lang.Boolean remoteWasDeleted)TaxComponent.BuilderremoteWasDeleted(java.util.Optional<java.lang.Boolean> remoteWasDeleted)
-
-
-
Method Detail
-
from
public TaxComponent.Builder from(TaxComponent other)
-
id
public TaxComponent.Builder id(java.util.Optional<java.lang.String> id)
-
id
public TaxComponent.Builder id(java.lang.String id)
-
remoteId
public TaxComponent.Builder remoteId(java.util.Optional<java.lang.String> remoteId)
-
remoteId
public TaxComponent.Builder remoteId(java.lang.String remoteId)
-
createdAt
public TaxComponent.Builder createdAt(java.util.Optional<java.time.OffsetDateTime> createdAt)
-
createdAt
public TaxComponent.Builder createdAt(java.time.OffsetDateTime createdAt)
-
modifiedAt
public TaxComponent.Builder modifiedAt(java.util.Optional<java.time.OffsetDateTime> modifiedAt)
-
modifiedAt
public TaxComponent.Builder modifiedAt(java.time.OffsetDateTime modifiedAt)
-
name
public TaxComponent.Builder name(java.util.Optional<java.lang.String> name)
-
name
public TaxComponent.Builder name(java.lang.String name)
-
rate
public TaxComponent.Builder rate(java.util.Optional<java.lang.String> rate)
-
rate
public TaxComponent.Builder rate(java.lang.String rate)
-
isCompound
public TaxComponent.Builder isCompound(java.util.Optional<java.lang.Boolean> isCompound)
-
isCompound
public TaxComponent.Builder isCompound(java.lang.Boolean isCompound)
-
componentType
public TaxComponent.Builder componentType(java.util.Optional<TaxComponentComponentType> componentType)
-
componentType
public TaxComponent.Builder componentType(TaxComponentComponentType componentType)
-
remoteWasDeleted
public TaxComponent.Builder remoteWasDeleted(java.util.Optional<java.lang.Boolean> remoteWasDeleted)
-
remoteWasDeleted
public TaxComponent.Builder remoteWasDeleted(java.lang.Boolean remoteWasDeleted)
-
build
public TaxComponent build()
-
-