Package com.stripe.param
Class PersonUpdateParams.Relationship.Builder
- java.lang.Object
-
- com.stripe.param.PersonUpdateParams.Relationship.Builder
-
- Enclosing class:
- PersonUpdateParams.Relationship
public static class PersonUpdateParams.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 PersonUpdateParams.Relationship
build()
Finalize and obtain parameter instance from this builder.PersonUpdateParams.Relationship.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.PersonUpdateParams.Relationship.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.PersonUpdateParams.Relationship.Builder
setDirector(java.lang.Boolean director)
Whether the person is a director of the account's legal entity.PersonUpdateParams.Relationship.Builder
setExecutive(java.lang.Boolean executive)
Whether the person has significant responsibility to control, manage, or direct the organization.PersonUpdateParams.Relationship.Builder
setOwner(java.lang.Boolean owner)
Whether the person is an owner of the account’s legal entity.PersonUpdateParams.Relationship.Builder
setPercentOwnership(EmptyParam percentOwnership)
The percent owned by the person of the account's legal entity.PersonUpdateParams.Relationship.Builder
setPercentOwnership(java.math.BigDecimal percentOwnership)
The percent owned by the person of the account's legal entity.PersonUpdateParams.Relationship.Builder
setRepresentative(java.lang.Boolean representative)
Whether the person is authorized as the primary representative of the account.PersonUpdateParams.Relationship.Builder
setTitle(EmptyParam title)
PersonUpdateParams.Relationship.Builder
setTitle(java.lang.String title)
The person's title (e.g., CEO, Support Engineer).
-
-
-
Method Detail
-
build
public PersonUpdateParams.Relationship build()
Finalize and obtain parameter instance from this builder.
-
setDirector
public PersonUpdateParams.Relationship.Builder setDirector(java.lang.Boolean director)
Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
-
setExecutive
public PersonUpdateParams.Relationship.Builder setExecutive(java.lang.Boolean executive)
Whether the person has significant responsibility to control, manage, or direct the organization.
-
putExtraParam
public PersonUpdateParams.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. SeePersonUpdateParams.Relationship.extraParams
for the field documentation.
-
putAllExtraParam
public PersonUpdateParams.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. SeePersonUpdateParams.Relationship.extraParams
for the field documentation.
-
setOwner
public PersonUpdateParams.Relationship.Builder setOwner(java.lang.Boolean owner)
Whether the person is an owner of the account’s legal entity.
-
setPercentOwnership
public PersonUpdateParams.Relationship.Builder setPercentOwnership(java.math.BigDecimal percentOwnership)
The percent owned by the person of the account's legal entity.
-
setPercentOwnership
public PersonUpdateParams.Relationship.Builder setPercentOwnership(EmptyParam percentOwnership)
The percent owned by the person of the account's legal entity.
-
setRepresentative
public PersonUpdateParams.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 PersonUpdateParams.Relationship.Builder setTitle(java.lang.String title)
The person's title (e.g., CEO, Support Engineer).
-
setTitle
public PersonUpdateParams.Relationship.Builder setTitle(EmptyParam title)
-
-