Package com.stripe.param
Class TaxIdCreateParams.Owner.Builder
java.lang.Object
com.stripe.param.TaxIdCreateParams.Owner.Builder
- Enclosing class:
- TaxIdCreateParams.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) Connected Account the tax ID belongs to.setCustomer(String customer) Customer the tax ID belongs to.setCustomerAccount(String customerAccount) ID of the Account representing the customer that 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
Connected Account the tax ID belongs to. Required whentype=account -
setCustomer
Customer the tax ID belongs to. Required whentype=customer -
setCustomerAccount
ID of the Account representing the customer that 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. SeeTaxIdCreateParams.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. SeeTaxIdCreateParams.Owner.extraParamsfor the field documentation. -
setType
Required. Type of owner referenced.
-