public static class SkuUpdateParams.Inventory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SkuUpdateParams.Inventory.Builder |
static class |
SkuUpdateParams.Inventory.Type |
static class |
SkuUpdateParams.Inventory.Value |
Modifier and Type | Method and Description |
---|---|
static SkuUpdateParams.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.
|
SkuUpdateParams.Inventory.Type |
getType()
Inventory type.
|
ApiRequestParams.EnumParam |
getValue()
An indicator of the inventory available.
|
public static SkuUpdateParams.Inventory.Builder builder()
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@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.public java.lang.Long getQuantity()
type
is finite
.public SkuUpdateParams.Inventory.Type getType()
finite
, bucket
(not quantified), and
infinite
.public ApiRequestParams.EnumParam getValue()
in_stock
, limited
, and out_of_stock
. Will be present if and only if type
is bucket
.