Package com.stripe.param
Class OrderCreateParams.ShippingDetails.Builder
java.lang.Object
com.stripe.param.OrderCreateParams.ShippingDetails.Builder
- Enclosing class:
- OrderCreateParams.ShippingDetails
-
Constructor Summary
Constructors -
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.The shipping address for the order.The name of the recipient of the order.The phone number (including extension) for the recipient of the order.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAddress
public OrderCreateParams.ShippingDetails.Builder setAddress(OrderCreateParams.ShippingDetails.Address address) The shipping address for the order. -
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. SeeOrderCreateParams.ShippingDetails.extraParams
for 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. SeeOrderCreateParams.ShippingDetails.extraParams
for the field documentation. -
setName
The name of the recipient of the order. -
setPhone
The phone number (including extension) for the recipient of the order.
-