Package com.stripe.param
Class InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Builder
java.lang.Object
com.stripe.param.InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Builder
- Enclosing class:
- InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate
public static class InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Builder
extends Object
-
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.The upper bound of the estimated range.The lower bound of the estimated range.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.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. SeeInvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.extraParams
for the field documentation. -
putAllExtraParam
public InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.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. SeeInvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.extraParams
for the field documentation. -
setMaximum
public InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Builder setMaximum(InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Maximum maximum) The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite. -
setMinimum
public InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Builder setMinimum(InvoiceCreateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum minimum) The lower bound of the estimated range. If empty, represents no lower bound.
-