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
All Methods Instance Methods Concrete Methods 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.
-
-
-
Method Detail
-
build
public PersonCollectionListParams.Relationship build()
Finalize and obtain parameter instance from this builder.
-
setDirector
public 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.
-
setExecutive
public 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.
-
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
public 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.
-
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.
-
-