Package com.stripe.param
Class ShippingRateCreateParams.DeliveryEstimate.Builder
- java.lang.Object
-
- com.stripe.param.ShippingRateCreateParams.DeliveryEstimate.Builder
-
- Enclosing class:
- ShippingRateCreateParams.DeliveryEstimate
public static class ShippingRateCreateParams.DeliveryEstimate.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShippingRateCreateParams.DeliveryEstimate
build()
Finalize and obtain parameter instance from this builder.ShippingRateCreateParams.DeliveryEstimate.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.ShippingRateCreateParams.DeliveryEstimate.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.ShippingRateCreateParams.DeliveryEstimate.Builder
setMaximum(ShippingRateCreateParams.DeliveryEstimate.Maximum maximum)
The upper bound of the estimated range.ShippingRateCreateParams.DeliveryEstimate.Builder
setMinimum(ShippingRateCreateParams.DeliveryEstimate.Minimum minimum)
The lower bound of the estimated range.
-
-
-
Method Detail
-
build
public ShippingRateCreateParams.DeliveryEstimate build()
Finalize and obtain parameter instance from this builder.
-
putExtraParam
public ShippingRateCreateParams.DeliveryEstimate.Builder putExtraParam(java.lang.String key, java.lang.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. SeeShippingRateCreateParams.DeliveryEstimate.extraParams
for the field documentation.
-
putAllExtraParam
public ShippingRateCreateParams.DeliveryEstimate.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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. SeeShippingRateCreateParams.DeliveryEstimate.extraParams
for the field documentation.
-
setMaximum
public ShippingRateCreateParams.DeliveryEstimate.Builder setMaximum(ShippingRateCreateParams.DeliveryEstimate.Maximum maximum)
The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.
-
setMinimum
public ShippingRateCreateParams.DeliveryEstimate.Builder setMinimum(ShippingRateCreateParams.DeliveryEstimate.Minimum minimum)
The lower bound of the estimated range. If empty, represents no lower bound.
-
-