Package io.moov.sdk.models.components
Class CreateAccount.Builder
- java.lang.Object
-
- io.moov.sdk.models.components.CreateAccount.Builder
-
- Enclosing class:
- CreateAccount
public static final class CreateAccount.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAccount.BuilderaccountType(CreateAccountType accountType)CreateAccountbuild()CreateAccount.Buildercapabilities(java.util.List<CapabilityID> capabilities)CreateAccount.Buildercapabilities(java.util.Optional<? extends java.util.List<CapabilityID>> capabilities)CreateAccount.BuildercustomerSupport(CustomerSupport customerSupport)User-provided information that can be displayed on credit card transactions for customers to use when contacting a customer support team.CreateAccount.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.CreateAccount.BuilderforeignID(java.lang.String foreignID)Optional alias from a foreign/external system which can be used to reference this resource.CreateAccount.BuilderforeignID(java.util.Optional<java.lang.String> foreignID)Optional alias from a foreign/external system which can be used to reference this resource.CreateAccount.Buildermetadata(java.util.Map<java.lang.String,java.lang.String> metadata)Free-form key-value pair list.CreateAccount.Buildermetadata(java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.String>> metadata)Free-form key-value pair list.CreateAccount.Buildermode(Mode mode)The operating mode for an account.CreateAccount.Buildermode(java.util.Optional<? extends Mode> mode)The operating mode for an account.CreateAccount.Builderprofile(CreateProfile profile)CreateAccount.Buildersettings(Settings settings)User provided settings to manage an account.CreateAccount.Buildersettings(java.util.Optional<? extends Settings> settings)User provided settings to manage an account.CreateAccount.BuildertermsOfService(CreateAccountTermsOfService termsOfService)CreateAccount.BuildertermsOfService(java.util.Optional<? extends CreateAccountTermsOfService> termsOfService)
-
-
-
Method Detail
-
accountType
public CreateAccount.Builder accountType(CreateAccountType accountType)
-
profile
public CreateAccount.Builder profile(CreateProfile profile)
-
metadata
public CreateAccount.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 CreateAccount.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 CreateAccount.Builder termsOfService(CreateAccountTermsOfService termsOfService)
-
termsOfService
public CreateAccount.Builder termsOfService(java.util.Optional<? extends CreateAccountTermsOfService> termsOfService)
-
foreignID
public CreateAccount.Builder foreignID(java.lang.String foreignID)
Optional alias from a foreign/external system which can be used to reference this resource.
-
foreignID
public CreateAccount.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 CreateAccount.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 CreateAccount.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 CreateAccount.Builder settings(Settings settings)
User provided settings to manage an account.
-
settings
public CreateAccount.Builder settings(java.util.Optional<? extends Settings> settings)
User provided settings to manage an account.
-
capabilities
public CreateAccount.Builder capabilities(java.util.List<CapabilityID> capabilities)
-
capabilities
public CreateAccount.Builder capabilities(java.util.Optional<? extends java.util.List<CapabilityID>> capabilities)
-
mode
public CreateAccount.Builder mode(Mode mode)
The operating mode for an account.
-
mode
public CreateAccount.Builder mode(java.util.Optional<? extends Mode> mode)
The operating mode for an account.
-
build
public CreateAccount build()
-
-