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