Class OrderCreateParams.Item

java.lang.Object
com.stripe.param.OrderCreateParams.Item
Enclosing class:
OrderCreateParams

public static class OrderCreateParams.Item extends Object
  • Method Details

    • builder

      public static OrderCreateParams.Item.Builder builder()
    • getAmount

      public Long getAmount()
    • getCurrency

      public String getCurrency()
    • getDescription

      public String getDescription()
    • 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.
    • getParent

      public String getParent()
      The ID of the SKU being ordered.
    • getQuantity

      public Long getQuantity()
      The quantity of this order item. When type is sku, this is the number of instances of the SKU to be ordered.
    • getType

      public OrderCreateParams.Item.Type getType()