Package com.stripe.param
Class InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.Builder
java.lang.Object
com.stripe.param.InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.Builder
public static class InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.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.Required. A unit of time.Required. Must be greater than 0.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.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. SeeInvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.extraParams
for the field documentation. -
putAllExtraParam
public InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.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. SeeInvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.extraParams
for the field documentation. -
setUnit
public InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.Builder setUnit(InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.Unit unit) Required. A unit of time. -
setValue
public InvoiceUpdateParams.ShippingCost.ShippingRateData.DeliveryEstimate.Minimum.Builder setValue(Long value) Required. Must be greater than 0.
-