Package com.stripe.param
Class InvoiceUpdateParams.ShippingCost.Builder
java.lang.Object
com.stripe.param.InvoiceUpdateParams.ShippingCost.Builder
- Enclosing class:
- InvoiceUpdateParams.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
(EmptyParam shippingRate) The ID of the shipping rate to use for this order.setShippingRate
(String shippingRate) The ID of the shipping rate to use for this order.setShippingRateData
(InvoiceUpdateParams.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. SeeInvoiceUpdateParams.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. SeeInvoiceUpdateParams.ShippingCost.extraParams
for the field documentation. -
setShippingRate
The ID of the shipping rate to use for this order. -
setShippingRate
The ID of the shipping rate to use for this order. -
setShippingRateData
public InvoiceUpdateParams.ShippingCost.Builder setShippingRateData(InvoiceUpdateParams.ShippingCost.ShippingRateData shippingRateData) Parameters to create a new ad-hoc shipping rate for this order.
-