Package com.stripe.param
Class InvoiceUpcomingLinesParams.CustomerDetails.Builder
java.lang.Object
com.stripe.param.InvoiceUpcomingLinesParams.CustomerDetails.Builder
- Enclosing class:
- InvoiceUpcomingLinesParams.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 InvoiceUpcomingLinesParams.CustomerDetails.Builder setAddress(InvoiceUpcomingLinesParams.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. SeeInvoiceUpcomingLinesParams.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. SeeInvoiceUpcomingLinesParams.CustomerDetails.extraParams
for the field documentation. -
setShipping
public InvoiceUpcomingLinesParams.CustomerDetails.Builder setShipping(InvoiceUpcomingLinesParams.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 InvoiceUpcomingLinesParams.CustomerDetails.Builder setTax(InvoiceUpcomingLinesParams.CustomerDetails.Tax tax) Tax details about the customer. -
setTaxExempt
public InvoiceUpcomingLinesParams.CustomerDetails.Builder setTaxExempt(InvoiceUpcomingLinesParams.CustomerDetails.TaxExempt taxExempt) The customer's tax exemption. One ofnone
,exempt
, orreverse
. -
setTaxExempt
The customer's tax exemption. One ofnone
,exempt
, orreverse
. -
addTaxId
public InvoiceUpcomingLinesParams.CustomerDetails.Builder addTaxId(InvoiceUpcomingLinesParams.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. SeeInvoiceUpcomingLinesParams.CustomerDetails.taxIds
for the field documentation. -
addAllTaxId
public InvoiceUpcomingLinesParams.CustomerDetails.Builder addAllTaxId(List<InvoiceUpcomingLinesParams.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. SeeInvoiceUpcomingLinesParams.CustomerDetails.taxIds
for the field documentation.
-