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