Package com.stripe.param
Class SourceCreateParams.SourceOrder.Item
java.lang.Object
com.stripe.param.SourceCreateParams.SourceOrder.Item
- Enclosing class:
- SourceCreateParams.SourceOrder
public static class SourceCreateParams.SourceOrder.Item
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SourceCreateParams.SourceOrder.Item.Builder
static class
SourceCreateParams.SourceOrder.Item.Type
-
Method Summary
Modifier and Type Method Description static SourceCreateParams.SourceOrder.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.SourceCreateParams.SourceOrder.Item.Type
getType()
-
Method Details
-
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 is `sku`, this is the number of instances of the SKU to be ordered. -
getType
-