Package io.moov.sdk.models.components
Class Account.Builder
- java.lang.Object
-
- io.moov.sdk.models.components.Account.Builder
-
- Enclosing class:
- Account
public static final class Account.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account.BuilderaccountID(java.lang.String accountID)Unique identifier for this account.Account.BuilderaccountType(AccountType accountType)The type of entity represented by this account.Accountbuild()Account.Buildercapabilities(java.util.List<AccountCapability> capabilities)Account.Buildercapabilities(java.util.Optional<? extends java.util.List<AccountCapability>> capabilities)Account.BuildercreatedOn(java.time.OffsetDateTime createdOn)Account.BuildercustomerSupport(CustomerSupport customerSupport)User-provided information that can be displayed on credit card transactions for customers to use when contacting a customer support team.Account.BuildercustomerSupport(java.util.Optional<? extends CustomerSupport> customerSupport)User-provided information that can be displayed on credit card transactions for customers to use when contacting a customer support team.Account.BuilderdisconnectedOn(java.time.OffsetDateTime disconnectedOn)Account.BuilderdisconnectedOn(java.util.Optional<java.time.OffsetDateTime> disconnectedOn)Account.BuilderdisplayName(java.lang.String displayName)Account.BuilderforeignID(java.lang.String foreignID)Optional alias from a foreign/external system which can be used to reference this resource.Account.BuilderforeignID(java.util.Optional<java.lang.String> foreignID)Optional alias from a foreign/external system which can be used to reference this resource.Account.Buildermetadata(java.util.Map<java.lang.String,java.lang.String> metadata)Free-form key-value pair list.Account.Buildermetadata(java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.String>> metadata)Free-form key-value pair list.Account.Buildermode(Mode mode)The operating mode for an account.Account.Builderprofile(Profile profile)Describes a Moov account profile.Account.Buildersettings(Settings settings)User provided settings to manage an account.Account.Buildersettings(java.util.Optional<? extends Settings> settings)User provided settings to manage an account.Account.BuildertermsOfService(TermsOfService termsOfService)Describes the acceptance of the Terms of Service.Account.BuildertermsOfService(java.util.Optional<? extends TermsOfService> termsOfService)Describes the acceptance of the Terms of Service.Account.BuilderupdatedOn(java.time.OffsetDateTime updatedOn)Account.Builderverification(Verification verification)Describes identity verification status and relevant identity verification documents.
-
-
-
Method Detail
-
accountID
public Account.Builder accountID(java.lang.String accountID)
Unique identifier for this account.
-
mode
public Account.Builder mode(Mode mode)
The operating mode for an account.
-
accountType
public Account.Builder accountType(AccountType accountType)
The type of entity represented by this account.
-
displayName
public Account.Builder displayName(java.lang.String displayName)
-
profile
public Account.Builder profile(Profile profile)
Describes a Moov account profile. A profile will have a business or an individual, depending on the account's type.
-
metadata
public Account.Builder metadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
-
metadata
public Account.Builder metadata(java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.String>> metadata)
Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
-
termsOfService
public Account.Builder termsOfService(TermsOfService termsOfService)
Describes the acceptance of the Terms of Service.
-
termsOfService
public Account.Builder termsOfService(java.util.Optional<? extends TermsOfService> termsOfService)
Describes the acceptance of the Terms of Service.
-
capabilities
public Account.Builder capabilities(java.util.List<AccountCapability> capabilities)
-
capabilities
public Account.Builder capabilities(java.util.Optional<? extends java.util.List<AccountCapability>> capabilities)
-
verification
public Account.Builder verification(Verification verification)
Describes identity verification status and relevant identity verification documents.
-
foreignID
public Account.Builder foreignID(java.lang.String foreignID)
Optional alias from a foreign/external system which can be used to reference this resource.
-
foreignID
public Account.Builder foreignID(java.util.Optional<java.lang.String> foreignID)
Optional alias from a foreign/external system which can be used to reference this resource.
-
customerSupport
public Account.Builder customerSupport(CustomerSupport customerSupport)
User-provided information that can be displayed on credit card transactions for customers to use when contacting a customer support team. This data is only allowed on a business account.
-
customerSupport
public Account.Builder customerSupport(java.util.Optional<? extends CustomerSupport> customerSupport)
User-provided information that can be displayed on credit card transactions for customers to use when contacting a customer support team. This data is only allowed on a business account.
-
settings
public Account.Builder settings(Settings settings)
User provided settings to manage an account.
-
settings
public Account.Builder settings(java.util.Optional<? extends Settings> settings)
User provided settings to manage an account.
-
createdOn
public Account.Builder createdOn(java.time.OffsetDateTime createdOn)
-
updatedOn
public Account.Builder updatedOn(java.time.OffsetDateTime updatedOn)
-
disconnectedOn
public Account.Builder disconnectedOn(java.time.OffsetDateTime disconnectedOn)
-
disconnectedOn
public Account.Builder disconnectedOn(java.util.Optional<java.time.OffsetDateTime> disconnectedOn)
-
build
public Account build()
-
-