Package com.stripe.param
Class TokenCreateParams.Person.Relationship.Builder
- java.lang.Object
-
- com.stripe.param.TokenCreateParams.Person.Relationship.Builder
-
- Enclosing class:
- TokenCreateParams.Person.Relationship
public static class TokenCreateParams.Person.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 TokenCreateParams.Person.Relationshipbuild()Finalize and obtain parameter instance from this builder.TokenCreateParams.Person.Relationship.BuilderputAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)Add all map key/value pairs to `extraParams` map.TokenCreateParams.Person.Relationship.BuilderputExtraParam(java.lang.String key, java.lang.Object value)Add a key/value pair to `extraParams` map.TokenCreateParams.Person.Relationship.BuildersetDirector(java.lang.Boolean director)Whether the person is a director of the account's legal entity.TokenCreateParams.Person.Relationship.BuildersetExecutive(java.lang.Boolean executive)Whether the person has significant responsibility to control, manage, or direct the organization.TokenCreateParams.Person.Relationship.BuildersetOwner(java.lang.Boolean owner)Whether the person is an owner of the account’s legal entity.TokenCreateParams.Person.Relationship.BuildersetPercentOwnership(EmptyParam percentOwnership)The percent owned by the person of the account's legal entity.TokenCreateParams.Person.Relationship.BuildersetPercentOwnership(java.math.BigDecimal percentOwnership)The percent owned by the person of the account's legal entity.TokenCreateParams.Person.Relationship.BuildersetRepresentative(java.lang.Boolean representative)Whether the person is authorized as the primary representative of the account.TokenCreateParams.Person.Relationship.BuildersetTitle(java.lang.String title)
-
-
-
Method Detail
-
build
public TokenCreateParams.Person.Relationship build()
Finalize and obtain parameter instance from this builder.
-
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.
-
setExecutive
public TokenCreateParams.Person.Relationship.Builder setExecutive(java.lang.Boolean executive)
Whether the person has significant responsibility to control, manage, or direct the organization.
-
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. SeeTokenCreateParams.Person.Relationship.extraParamsfor 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. SeeTokenCreateParams.Person.Relationship.extraParamsfor the field documentation.
-
setOwner
public TokenCreateParams.Person.Relationship.Builder setOwner(java.lang.Boolean owner)
Whether the person is an owner of the account’s legal entity.
-
setPercentOwnership
public TokenCreateParams.Person.Relationship.Builder setPercentOwnership(java.math.BigDecimal percentOwnership)
The percent owned by the person of the account's legal entity.
-
setPercentOwnership
public TokenCreateParams.Person.Relationship.Builder setPercentOwnership(EmptyParam percentOwnership)
The percent owned by the person of the account's legal entity.
-
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.
-
setTitle
public TokenCreateParams.Person.Relationship.Builder setTitle(java.lang.String title)
-
-