Package com.stripe.param.checkout
Class SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Builder
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Builder
- Enclosing class:
- SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate
public static class SessionCreateParams.ShippingOption.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 SessionCreateParams.ShippingOption.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. SeeSessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.extraParams
for the field documentation. -
putAllExtraParam
public SessionCreateParams.ShippingOption.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. SeeSessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.extraParams
for the field documentation. -
setMaximum
public SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Builder setMaximum(SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Maximum maximum) The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite. -
setMinimum
public SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Builder setMinimum(SessionCreateParams.ShippingOption.ShippingRateData.DeliveryEstimate.Minimum minimum) The lower bound of the estimated range. If empty, represents no lower bound.
-