Package com.stripe.param
Class InvoiceCreateParams.ShippingCost.Builder
java.lang.Object
com.stripe.param.InvoiceCreateParams.ShippingCost.Builder
- Enclosing class:
- InvoiceCreateParams.ShippingCost
-
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.setShippingRate
(String shippingRate) The ID of the shipping rate to use for this order.setShippingRateData
(InvoiceCreateParams.ShippingCost.ShippingRateData shippingRateData) Parameters to create a new ad-hoc shipping rate for this order.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
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. SeeInvoiceCreateParams.ShippingCost.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. SeeInvoiceCreateParams.ShippingCost.extraParams
for the field documentation. -
setShippingRate
The ID of the shipping rate to use for this order. -
setShippingRateData
public InvoiceCreateParams.ShippingCost.Builder setShippingRateData(InvoiceCreateParams.ShippingCost.ShippingRateData shippingRateData) Parameters to create a new ad-hoc shipping rate for this order.
-