Package com.stripe.param.issuing
Class CardCreateParams.SpendingControls.SpendingLimit
- java.lang.Object
-
- com.stripe.param.issuing.CardCreateParams.SpendingControls.SpendingLimit
-
- Enclosing class:
- CardCreateParams.SpendingControls
public static class CardCreateParams.SpendingControls.SpendingLimit extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CardCreateParams.SpendingControls.SpendingLimit.Builder
static class
CardCreateParams.SpendingControls.SpendingLimit.Category
static class
CardCreateParams.SpendingControls.SpendingLimit.Interval
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CardCreateParams.SpendingControls.SpendingLimit.Builder
builder()
java.lang.Long
getAmount()
Maximum amount allowed to spend per interval.java.util.List<CardCreateParams.SpendingControls.SpendingLimit.Category>
getCategories()
Array of strings containing categories this limit applies to.java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.CardCreateParams.SpendingControls.SpendingLimit.Interval
getInterval()
Interval (or event) to which the amount applies.
-
-
-
Method Detail
-
builder
public static CardCreateParams.SpendingControls.SpendingLimit.Builder builder()
-
getAmount
public java.lang.Long getAmount()
Maximum amount allowed to spend per interval.
-
getCategories
public java.util.List<CardCreateParams.SpendingControls.SpendingLimit.Category> getCategories()
Array of strings containing categories this limit applies to. Omitting this field will apply the limit to all categories.
-
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.
-
getInterval
public CardCreateParams.SpendingControls.SpendingLimit.Interval getInterval()
Interval (or event) to which the amount applies.
-
-