Class SkuUpdateParams.Inventory

java.lang.Object
com.stripe.param.SkuUpdateParams.Inventory
Enclosing class:
SkuUpdateParams

public static class SkuUpdateParams.Inventory extends Object
  • Method Details

    • builder

      public static SkuUpdateParams.Inventory.Builder builder()
    • getExtraParams

      public Map<String,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 Long getQuantity()
      The count of inventory available. Required if type is finite.
    • getType

      Inventory type. Possible values are finite, bucket (not quantified), and infinite.
    • getValue

      public ApiRequestParams.EnumParam getValue()
      An indicator of the inventory available. Possible values are in_stock, limited, and out_of_stock. Will be present if and only if type is bucket.