Package com.stripe.param
Class InvoiceUpcomingParams.CustomerDetails.Builder
- java.lang.Object
-
- com.stripe.param.InvoiceUpcomingParams.CustomerDetails.Builder
-
- Enclosing class:
- InvoiceUpcomingParams.CustomerDetails
public static class InvoiceUpcomingParams.CustomerDetails.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
build
public InvoiceUpcomingParams.CustomerDetails build()
Finalize and obtain parameter instance from this builder.
-
setAddress
public InvoiceUpcomingParams.CustomerDetails.Builder setAddress(InvoiceUpcomingParams.CustomerDetails.Address address)
The customer's address.
-
setAddress
public InvoiceUpcomingParams.CustomerDetails.Builder setAddress(EmptyParam address)
The customer's address.
-
putExtraParam
public InvoiceUpcomingParams.CustomerDetails.Builder putExtraParam(java.lang.String key, java.lang.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. SeeInvoiceUpcomingParams.CustomerDetails.extraParams
for the field documentation.
-
putAllExtraParam
public InvoiceUpcomingParams.CustomerDetails.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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. 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
public InvoiceUpcomingParams.CustomerDetails.Builder setShipping(EmptyParam shipping)
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
public InvoiceUpcomingParams.CustomerDetails.Builder setTaxExempt(EmptyParam taxExempt)
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(java.util.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.
-
-