Package com.stripe.param
Class OrderCreateParams.Item
- java.lang.Object
-
- com.stripe.param.OrderCreateParams.Item
-
- Enclosing class:
- OrderCreateParams
public static class OrderCreateParams.Item extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OrderCreateParams.Item.Builder
static class
OrderCreateParams.Item.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OrderCreateParams.Item.Builder
builder()
java.lang.Long
getAmount()
java.lang.String
getCurrency()
java.lang.String
getDescription()
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.String
getParent()
The ID of the SKU being ordered.java.lang.Long
getQuantity()
The quantity of this order item.OrderCreateParams.Item.Type
getType()
-
-
-
Method Detail
-
builder
public static OrderCreateParams.Item.Builder builder()
-
getAmount
public java.lang.Long getAmount()
-
getCurrency
public java.lang.String getCurrency()
-
getDescription
public java.lang.String getDescription()
-
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.
-
getParent
public java.lang.String getParent()
The ID of the SKU being ordered.
-
getQuantity
public java.lang.Long getQuantity()
The quantity of this order item. When type issku
, this is the number of instances of the SKU to be ordered.
-
getType
public OrderCreateParams.Item.Type getType()
-
-