Class Account.Builder

  • Enclosing class:
    Account

    public static final class Account.Builder
    extends java.lang.Object
    • Method Detail

      • accountID

        public Account.Builder accountID​(java.lang.String accountID)
        Unique identifier for 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​(java.util.Optional<? extends TermsOfService> termsOfService)
        Describes the acceptance of the Terms of Service.
      • 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​(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)