Package com.stripe.param
Class TaxIdListParams.Owner.Builder
java.lang.Object
com.stripe.param.TaxIdListParams.Owner.Builder
- Enclosing class:
- TaxIdListParams.Owner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.setAccount(String account) Account the tax ID belongs to.setCustomer(String customer) Customer the tax ID belongs to.setCustomerAccount(String customerAccount) v2 Account the tax ID belongs to.Required. Type of owner referenced.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAccount
Account the tax ID belongs to. Required whentype=account -
setCustomer
Customer the tax ID belongs to. Required whentype=customer -
setCustomerAccount
v2 Account the tax ID belongs to. Can be used in place ofcustomerwhentype=customer -
putExtraParam
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. SeeTaxIdListParams.Owner.extraParamsfor the field documentation. -
putAllExtraParam
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. SeeTaxIdListParams.Owner.extraParamsfor the field documentation. -
setType
Required. Type of owner referenced.
-