Class PersonListParams.Relationship.Builder

java.lang.Object
com.stripe.param.PersonListParams.Relationship.Builder
Enclosing class:
PersonListParams.Relationship

public static class PersonListParams.Relationship.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setDirector

      public PersonListParams.Relationship.Builder setDirector(Boolean director)
      A filter on the list of people returned based on whether these people are directors of the account's company.
    • setExecutive

      public PersonListParams.Relationship.Builder setExecutive(Boolean executive)
      A filter on the list of people returned based on whether these people are executives of the account's company.
    • putExtraParam

      public PersonListParams.Relationship.Builder putExtraParam(String key, 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. See PersonListParams.Relationship.extraParams for the field documentation.
    • putAllExtraParam

      public PersonListParams.Relationship.Builder putAllExtraParam(Map<String,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. See PersonListParams.Relationship.extraParams for the field documentation.
    • setLegalGuardian

      public PersonListParams.Relationship.Builder setLegalGuardian(Boolean legalGuardian)
      A filter on the list of people returned based on whether these people are legal guardians of the account's representative.
    • setOwner

      A filter on the list of people returned based on whether these people are owners of the account's company.
    • setRepresentative

      public PersonListParams.Relationship.Builder setRepresentative(Boolean representative)
      A filter on the list of people returned based on whether these people are the representative of the account's company.