Package com.stripe.param
Class PersonCollectionCreateParams.Relationship.Builder
- java.lang.Object
-
- com.stripe.param.PersonCollectionCreateParams.Relationship.Builder
-
- Enclosing class:
- PersonCollectionCreateParams.Relationship
public static class PersonCollectionCreateParams.Relationship.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersonCollectionCreateParams.Relationship
build()
Finalize and obtain parameter instance from this builder.PersonCollectionCreateParams.Relationship.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.PersonCollectionCreateParams.Relationship.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.PersonCollectionCreateParams.Relationship.Builder
setDirector(java.lang.Boolean director)
Whether the person is a director of the account's legal entity.PersonCollectionCreateParams.Relationship.Builder
setExecutive(java.lang.Boolean executive)
Whether the person has significant responsibility to control, manage, or direct the organization.PersonCollectionCreateParams.Relationship.Builder
setOwner(java.lang.Boolean owner)
Whether the person is an owner of the account’s legal entity.PersonCollectionCreateParams.Relationship.Builder
setPercentOwnership(EmptyParam percentOwnership)
The percent owned by the person of the account's legal entity.PersonCollectionCreateParams.Relationship.Builder
setPercentOwnership(java.math.BigDecimal percentOwnership)
The percent owned by the person of the account's legal entity.PersonCollectionCreateParams.Relationship.Builder
setRepresentative(java.lang.Boolean representative)
Whether the person is authorized as the primary representative of the account.PersonCollectionCreateParams.Relationship.Builder
setTitle(java.lang.String title)
-
-
-
Method Detail
-
build
public PersonCollectionCreateParams.Relationship build()
Finalize and obtain parameter instance from this builder.
-
setDirector
public PersonCollectionCreateParams.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.
-
setExecutive
public PersonCollectionCreateParams.Relationship.Builder setExecutive(java.lang.Boolean executive)
Whether the person has significant responsibility to control, manage, or direct the organization.
-
putExtraParam
public PersonCollectionCreateParams.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. SeePersonCollectionCreateParams.Relationship.extraParams
for the field documentation.
-
putAllExtraParam
public PersonCollectionCreateParams.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. SeePersonCollectionCreateParams.Relationship.extraParams
for the field documentation.
-
setOwner
public PersonCollectionCreateParams.Relationship.Builder setOwner(java.lang.Boolean owner)
Whether the person is an owner of the account’s legal entity.
-
setPercentOwnership
public PersonCollectionCreateParams.Relationship.Builder setPercentOwnership(java.math.BigDecimal percentOwnership)
The percent owned by the person of the account's legal entity.
-
setPercentOwnership
public PersonCollectionCreateParams.Relationship.Builder setPercentOwnership(EmptyParam percentOwnership)
The percent owned by the person of the account's legal entity.
-
setRepresentative
public PersonCollectionCreateParams.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.
-
setTitle
public PersonCollectionCreateParams.Relationship.Builder setTitle(java.lang.String title)
-
-