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