Package com.stripe.param
Class TaxIdCreateParams.Owner.Builder
java.lang.Object
com.stripe.param.TaxIdCreateParams.Owner.Builder
- Enclosing class:
- TaxIdCreateParams.Owner
-
Constructor Summary
-
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.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
-
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. SeeTaxIdCreateParams.Owner.extraParams
for 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. SeeTaxIdCreateParams.Owner.extraParams
for the field documentation. -
setType
Required. Type of owner referenced.
-