Package com.stripe.param
Class InvoiceCreatePreviewParams.CustomerDetails.Shipping.Builder
java.lang.Object
com.stripe.param.InvoiceCreatePreviewParams.CustomerDetails.Shipping.Builder
- Enclosing class:
- InvoiceCreatePreviewParams.CustomerDetails.Shipping
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
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.Required. Customer shipping address.Required. Customer name.Customer phone (including extension).
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAddress
public InvoiceCreatePreviewParams.CustomerDetails.Shipping.Builder setAddress(InvoiceCreatePreviewParams.CustomerDetails.Shipping.Address address) Required. Customer shipping address. -
putExtraParam
public InvoiceCreatePreviewParams.CustomerDetails.Shipping.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. SeeInvoiceCreatePreviewParams.CustomerDetails.Shipping.extraParams
for the field documentation. -
putAllExtraParam
public InvoiceCreatePreviewParams.CustomerDetails.Shipping.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. SeeInvoiceCreatePreviewParams.CustomerDetails.Shipping.extraParams
for the field documentation. -
setName
Required. Customer name. -
setPhone
Customer phone (including extension).
-