Package com.stripe.param.issuing
Class CardholderUpdateParams.SpendingControls.SpendingLimit
- java.lang.Object
-
- com.stripe.param.issuing.CardholderUpdateParams.SpendingControls.SpendingLimit
-
- Enclosing class:
- CardholderUpdateParams.SpendingControls
public static class CardholderUpdateParams.SpendingControls.SpendingLimit extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCardholderUpdateParams.SpendingControls.SpendingLimit.Builderstatic classCardholderUpdateParams.SpendingControls.SpendingLimit.Categorystatic classCardholderUpdateParams.SpendingControls.SpendingLimit.Interval
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CardholderUpdateParams.SpendingControls.SpendingLimit.Builderbuilder()java.lang.LonggetAmount()Maximum amount allowed to spend per interval.java.util.List<CardholderUpdateParams.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.CardholderUpdateParams.SpendingControls.SpendingLimit.IntervalgetInterval()Interval (or event) to which the amount applies.
-
-
-
Method Detail
-
builder
public static CardholderUpdateParams.SpendingControls.SpendingLimit.Builder builder()
-
getAmount
public java.lang.Long getAmount()
Maximum amount allowed to spend per interval.
-
getCategories
public java.util.List<CardholderUpdateParams.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@SerializedNamevalue. 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 CardholderUpdateParams.SpendingControls.SpendingLimit.Interval getInterval()
Interval (or event) to which the amount applies.
-
-