Package com.stripe.param
Class AccountPersonsParams.Relationship.Builder
- java.lang.Object
-
- com.stripe.param.AccountPersonsParams.Relationship.Builder
-
- Enclosing class:
- AccountPersonsParams.Relationship
public static class AccountPersonsParams.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 AccountPersonsParams.Relationship
build()
Finalize and obtain parameter instance from this builder.AccountPersonsParams.Relationship.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.AccountPersonsParams.Relationship.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.AccountPersonsParams.Relationship.Builder
setDirector(java.lang.Boolean director)
A filter on the list of people returned based on whether these people are directors of the account's company.AccountPersonsParams.Relationship.Builder
setExecutive(java.lang.Boolean executive)
A filter on the list of people returned based on whether these people are executives of the account's company.AccountPersonsParams.Relationship.Builder
setOwner(java.lang.Boolean owner)
A filter on the list of people returned based on whether these people are owners of the account's company.AccountPersonsParams.Relationship.Builder
setRepresentative(java.lang.Boolean representative)
A filter on the list of people returned based on whether these people are the representative of the account's company.
-
-
-
Method Detail
-
build
public AccountPersonsParams.Relationship build()
Finalize and obtain parameter instance from this builder.
-
setDirector
public AccountPersonsParams.Relationship.Builder setDirector(java.lang.Boolean director)
A filter on the list of people returned based on whether these people are directors of the account's company.
-
setExecutive
public AccountPersonsParams.Relationship.Builder setExecutive(java.lang.Boolean executive)
A filter on the list of people returned based on whether these people are executives of the account's company.
-
putExtraParam
public AccountPersonsParams.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. SeeAccountPersonsParams.Relationship.extraParams
for the field documentation.
-
putAllExtraParam
public AccountPersonsParams.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. SeeAccountPersonsParams.Relationship.extraParams
for the field documentation.
-
setOwner
public AccountPersonsParams.Relationship.Builder setOwner(java.lang.Boolean owner)
A filter on the list of people returned based on whether these people are owners of the account's company.
-
setRepresentative
public AccountPersonsParams.Relationship.Builder setRepresentative(java.lang.Boolean representative)
A filter on the list of people returned based on whether these people are the representative of the account's company.
-
-