Class TokenCreateParams.Person.Relationship.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • setDirector

        public TokenCreateParams.Person.Relationship.Builder setDirector​(java.lang.Boolean director)
        Whether the person is a director of the account's legal entity. Currently only required for accounts in the EU. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
      • putExtraParam

        public TokenCreateParams.Person.Relationship.Builder putExtraParam​(java.lang.String key,
                                                                           java.lang.Object value)
        Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See TokenCreateParams.Person.Relationship.extraParams for the field documentation.
      • putAllExtraParam

        public TokenCreateParams.Person.Relationship.Builder putAllExtraParam​(java.util.Map<java.lang.String,​java.lang.Object> map)
        Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See TokenCreateParams.Person.Relationship.extraParams for the field documentation.
      • setRepresentative

        public TokenCreateParams.Person.Relationship.Builder setRepresentative​(java.lang.Boolean representative)
        Whether the person is authorized as the primary representative of the account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account.