Package com.stripe.param
Class InvoiceUpcomingParams.CustomerDetails.Builder
java.lang.Object
com.stripe.param.InvoiceUpcomingParams.CustomerDetails.Builder
- Enclosing class:
- InvoiceUpcomingParams.CustomerDetails
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `taxIds` list.Add an element to `taxIds` list.build()
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.setAddress
(EmptyParam address) The customer's address.The customer's address.setShipping
(EmptyParam shipping) The customer's shipping information.The customer's shipping information.Tax details about the customer.setTaxExempt
(EmptyParam taxExempt) The customer's tax exemption.The customer's tax exemption.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAddress
public InvoiceUpcomingParams.CustomerDetails.Builder setAddress(InvoiceUpcomingParams.CustomerDetails.Address address) The customer's address. -
setAddress
The customer's address. -
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. SeeInvoiceUpcomingParams.CustomerDetails.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. SeeInvoiceUpcomingParams.CustomerDetails.extraParams
for the field documentation. -
setShipping
public InvoiceUpcomingParams.CustomerDetails.Builder setShipping(InvoiceUpcomingParams.CustomerDetails.Shipping shipping) The customer's shipping information. Appears on invoices emailed to this customer. -
setShipping
The customer's shipping information. Appears on invoices emailed to this customer. -
setTax
public InvoiceUpcomingParams.CustomerDetails.Builder setTax(InvoiceUpcomingParams.CustomerDetails.Tax tax) Tax details about the customer. -
setTaxExempt
public InvoiceUpcomingParams.CustomerDetails.Builder setTaxExempt(InvoiceUpcomingParams.CustomerDetails.TaxExempt taxExempt) The customer's tax exemption. One ofnone
,exempt
, orreverse
. -
setTaxExempt
The customer's tax exemption. One ofnone
,exempt
, orreverse
. -
addTaxId
public InvoiceUpcomingParams.CustomerDetails.Builder addTaxId(InvoiceUpcomingParams.CustomerDetails.TaxId element) Add an element to `taxIds` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeInvoiceUpcomingParams.CustomerDetails.taxIds
for the field documentation. -
addAllTaxId
public InvoiceUpcomingParams.CustomerDetails.Builder addAllTaxId(List<InvoiceUpcomingParams.CustomerDetails.TaxId> elements) Add all elements to `taxIds` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeInvoiceUpcomingParams.CustomerDetails.taxIds
for the field documentation.
-