Class CardUpdateParams.SpendingControls

Enclosing class:

public static class CardUpdateParams.SpendingControls extends Object
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See CardUpdateParams.Pin.extraParams for the field documentation.
  • Method Details

    • builder

    • getAllowedCategories

      Array of strings containing categories of authorizations to allow. All other categories will be blocked. Cannot be set with blocked_categories.
    • getBlockedCategories

      Array of strings containing categories of authorizations to decline. All other categories will be allowed. Cannot be set with allowed_categories.
    • 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.
    • getSpendingLimits

      Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its replacement_for card and that card's replacement_for card, up the chain).