Package com.stripe.param
Class InvoiceUpcomingParams.CustomerDetails.Shipping.Builder
- java.lang.Object
-
- com.stripe.param.InvoiceUpcomingParams.CustomerDetails.Shipping.Builder
-
- Enclosing class:
- InvoiceUpcomingParams.CustomerDetails.Shipping
public static class InvoiceUpcomingParams.CustomerDetails.Shipping.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InvoiceUpcomingParams.CustomerDetails.Shipping
build()
Finalize and obtain parameter instance from this builder.InvoiceUpcomingParams.CustomerDetails.Shipping.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.InvoiceUpcomingParams.CustomerDetails.Shipping.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.InvoiceUpcomingParams.CustomerDetails.Shipping.Builder
setAddress(InvoiceUpcomingParams.CustomerDetails.Shipping.Address address)
Customer shipping address.InvoiceUpcomingParams.CustomerDetails.Shipping.Builder
setName(java.lang.String name)
Customer name.InvoiceUpcomingParams.CustomerDetails.Shipping.Builder
setPhone(java.lang.String phone)
Customer phone (including extension).
-
-
-
Method Detail
-
build
public InvoiceUpcomingParams.CustomerDetails.Shipping build()
Finalize and obtain parameter instance from this builder.
-
setAddress
public InvoiceUpcomingParams.CustomerDetails.Shipping.Builder setAddress(InvoiceUpcomingParams.CustomerDetails.Shipping.Address address)
Customer shipping address.
-
putExtraParam
public InvoiceUpcomingParams.CustomerDetails.Shipping.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.Shipping.extraParams
for the field documentation.
-
putAllExtraParam
public InvoiceUpcomingParams.CustomerDetails.Shipping.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.Shipping.extraParams
for the field documentation.
-
setName
public InvoiceUpcomingParams.CustomerDetails.Shipping.Builder setName(java.lang.String name)
Customer name.
-
setPhone
public InvoiceUpcomingParams.CustomerDetails.Shipping.Builder setPhone(java.lang.String phone)
Customer phone (including extension).
-
-