Class TaxIdListParams.Owner.Builder

java.lang.Object
com.stripe.param.TaxIdListParams.Owner.Builder
Enclosing class:
TaxIdListParams.Owner

public static class TaxIdListParams.Owner.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public TaxIdListParams.Owner build()
      Finalize and obtain parameter instance from this builder.
    • setAccount

      public TaxIdListParams.Owner.Builder setAccount(String account)
      Account the tax ID belongs to. Required when type=account
    • setCustomer

      public TaxIdListParams.Owner.Builder setCustomer(String customer)
      Customer the tax ID belongs to. Required when type=customer
    • putExtraParam

      public TaxIdListParams.Owner.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 TaxIdListParams.Owner.extraParams for the field documentation.
    • putAllExtraParam

      public TaxIdListParams.Owner.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 TaxIdListParams.Owner.extraParams for the field documentation.
    • setType

      Required. Type of owner referenced.