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 class
SkuCreateParams.Inventory.Builder
static class
SkuCreateParams.Inventory.Type
static class
SkuCreateParams.Inventory.Value
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SkuCreateParams.Inventory.Builder
builder()
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.Long
getQuantity()
The count of inventory available.SkuCreateParams.Inventory.Type
getType()
Inventory type.ApiRequestParams.EnumParam
getValue()
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@SerializedName
value. 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 iftype
isfinite
.
-
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 iftype
isbucket
.
-
-