Package io.moov.sdk.models.components
Class CreateAccount
- java.lang.Object
-
- io.moov.sdk.models.components.CreateAccount
-
public class CreateAccount extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateAccount.Builder
-
Constructor Summary
Constructors Constructor Description CreateAccount(CreateAccountType accountType, CreateProfile profile)CreateAccount(CreateAccountType accountType, CreateProfile profile, java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.String>> metadata, java.util.Optional<? extends CreateAccountTermsOfService> termsOfService, java.util.Optional<java.lang.String> foreignID, java.util.Optional<? extends CustomerSupport> customerSupport, java.util.Optional<? extends Settings> settings, java.util.Optional<? extends java.util.List<CapabilityID>> capabilities, java.util.Optional<? extends Mode> mode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAccountTypeaccountType()static CreateAccount.Builderbuilder()java.util.Optional<java.util.List<CapabilityID>>capabilities()java.util.Optional<CustomerSupport>customerSupport()User-provided information that can be displayed on credit card transactions for customers to use when contacting a customer support team.booleanequals(java.lang.Object o)java.util.Optional<java.lang.String>foreignID()Optional alias from a foreign/external system which can be used to reference this resource.inthashCode()java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>metadata()Free-form key-value pair list.java.util.Optional<Mode>mode()The operating mode for an account.CreateProfileprofile()java.util.Optional<Settings>settings()User provided settings to manage an account.java.util.Optional<CreateAccountTermsOfService>termsOfService()java.lang.StringtoString()CreateAccountwithAccountType(CreateAccountType accountType)CreateAccountwithCapabilities(java.util.List<CapabilityID> capabilities)CreateAccountwithCapabilities(java.util.Optional<? extends java.util.List<CapabilityID>> capabilities)CreateAccountwithCustomerSupport(CustomerSupport customerSupport)User-provided information that can be displayed on credit card transactions for customers to use when contacting a customer support team.CreateAccountwithCustomerSupport(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.CreateAccountwithForeignID(java.lang.String foreignID)Optional alias from a foreign/external system which can be used to reference this resource.CreateAccountwithForeignID(java.util.Optional<java.lang.String> foreignID)Optional alias from a foreign/external system which can be used to reference this resource.CreateAccountwithMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)Free-form key-value pair list.CreateAccountwithMetadata(java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.String>> metadata)Free-form key-value pair list.CreateAccountwithMode(Mode mode)The operating mode for an account.CreateAccountwithMode(java.util.Optional<? extends Mode> mode)The operating mode for an account.CreateAccountwithProfile(CreateProfile profile)CreateAccountwithSettings(Settings settings)User provided settings to manage an account.CreateAccountwithSettings(java.util.Optional<? extends Settings> settings)User provided settings to manage an account.CreateAccountwithTermsOfService(CreateAccountTermsOfService termsOfService)CreateAccountwithTermsOfService(java.util.Optional<? extends CreateAccountTermsOfService> termsOfService)
-
-
-
Constructor Detail
-
CreateAccount
public CreateAccount(CreateAccountType accountType, CreateProfile profile, java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.String>> metadata, java.util.Optional<? extends CreateAccountTermsOfService> termsOfService, java.util.Optional<java.lang.String> foreignID, java.util.Optional<? extends CustomerSupport> customerSupport, java.util.Optional<? extends Settings> settings, java.util.Optional<? extends java.util.List<CapabilityID>> capabilities, java.util.Optional<? extends Mode> mode)
-
CreateAccount
public CreateAccount(CreateAccountType accountType, CreateProfile profile)
-
-
Method Detail
-
accountType
public CreateAccountType accountType()
-
profile
public CreateProfile profile()
-
metadata
public java.util.Optional<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 java.util.Optional<CreateAccountTermsOfService> termsOfService()
-
foreignID
public java.util.Optional<java.lang.String> foreignID()
Optional alias from a foreign/external system which can be used to reference this resource.
-
customerSupport
public java.util.Optional<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 java.util.Optional<Settings> settings()
User provided settings to manage an account.
-
capabilities
public java.util.Optional<java.util.List<CapabilityID>> capabilities()
-
mode
public java.util.Optional<Mode> mode()
The operating mode for an account.
-
builder
public static CreateAccount.Builder builder()
-
withAccountType
public CreateAccount withAccountType(CreateAccountType accountType)
-
withProfile
public CreateAccount withProfile(CreateProfile profile)
-
withMetadata
public CreateAccount withMetadata(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.
-
withMetadata
public CreateAccount withMetadata(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.
-
withTermsOfService
public CreateAccount withTermsOfService(CreateAccountTermsOfService termsOfService)
-
withTermsOfService
public CreateAccount withTermsOfService(java.util.Optional<? extends CreateAccountTermsOfService> termsOfService)
-
withForeignID
public CreateAccount withForeignID(java.lang.String foreignID)
Optional alias from a foreign/external system which can be used to reference this resource.
-
withForeignID
public CreateAccount withForeignID(java.util.Optional<java.lang.String> foreignID)
Optional alias from a foreign/external system which can be used to reference this resource.
-
withCustomerSupport
public CreateAccount withCustomerSupport(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.
-
withCustomerSupport
public CreateAccount withCustomerSupport(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.
-
withSettings
public CreateAccount withSettings(Settings settings)
User provided settings to manage an account.
-
withSettings
public CreateAccount withSettings(java.util.Optional<? extends Settings> settings)
User provided settings to manage an account.
-
withCapabilities
public CreateAccount withCapabilities(java.util.List<CapabilityID> capabilities)
-
withCapabilities
public CreateAccount withCapabilities(java.util.Optional<? extends java.util.List<CapabilityID>> capabilities)
-
withMode
public CreateAccount withMode(Mode mode)
The operating mode for an account.
-
withMode
public CreateAccount withMode(java.util.Optional<? extends Mode> mode)
The operating mode for an account.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-