Package com.stripe.param
Class SkuCreateParams.Inventory
- java.lang.Object
-
- com.stripe.param.SkuCreateParams.Inventory
-
- Enclosing class:
- SkuCreateParams
public static class SkuCreateParams.Inventory extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSkuCreateParams.Inventory.Builderstatic classSkuCreateParams.Inventory.Typestatic classSkuCreateParams.Inventory.Value
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SkuCreateParams.Inventory.Builderbuilder()java.util.Map<java.lang.String,java.lang.Object>getExtraParams()Map of extra parameters for custom features not available in this client library.java.lang.LonggetQuantity()The count of inventory available.SkuCreateParams.Inventory.TypegetType()Inventory type.ApiRequestParams.EnumParamgetValue()An indicator of the inventory available.
-
-
-
Method Detail
-
builder
public static SkuCreateParams.Inventory.Builder builder()
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedNamevalue. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
-
getQuantity
public java.lang.Long getQuantity()
The count of inventory available. Required iftypeisfinite.
-
getType
public SkuCreateParams.Inventory.Type getType()
Inventory type. Possible values arefinite,bucket(not quantified), andinfinite.
-
getValue
public ApiRequestParams.EnumParam getValue()
An indicator of the inventory available. Possible values arein_stock,limited, andout_of_stock. Will be present if and only iftypeisbucket.
-
-