Class CardCreateParams.SpendingControls.Builder

java.lang.Object
com.stripe.param.issuing.CardCreateParams.SpendingControls.Builder
Enclosing class:
CardCreateParams.SpendingControls

public static class CardCreateParams.SpendingControls.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • addAllowedCategory

      Add an element to `allowedCategories` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See CardCreateParams.SpendingControls.allowedCategories for the field documentation.
    • addAllAllowedCategory

      Add all elements to `allowedCategories` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See CardCreateParams.SpendingControls.allowedCategories for the field documentation.
    • addAllowedMerchantCountry

      public CardCreateParams.SpendingControls.Builder addAllowedMerchantCountry(String element)
      Add an element to `allowedMerchantCountries` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See CardCreateParams.SpendingControls.allowedMerchantCountries for the field documentation.
    • addAllAllowedMerchantCountry

      public CardCreateParams.SpendingControls.Builder addAllAllowedMerchantCountry(List<String> elements)
      Add all elements to `allowedMerchantCountries` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See CardCreateParams.SpendingControls.allowedMerchantCountries for the field documentation.
    • addBlockedCategory

      Add an element to `blockedCategories` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See CardCreateParams.SpendingControls.blockedCategories for the field documentation.
    • addAllBlockedCategory

      Add all elements to `blockedCategories` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See CardCreateParams.SpendingControls.blockedCategories for the field documentation.
    • addBlockedMerchantCountry

      public CardCreateParams.SpendingControls.Builder addBlockedMerchantCountry(String element)
      Add an element to `blockedMerchantCountries` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See CardCreateParams.SpendingControls.blockedMerchantCountries for the field documentation.
    • addAllBlockedMerchantCountry

      public CardCreateParams.SpendingControls.Builder addAllBlockedMerchantCountry(List<String> elements)
      Add all elements to `blockedMerchantCountries` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See CardCreateParams.SpendingControls.blockedMerchantCountries for the field documentation.
    • putExtraParam

      public CardCreateParams.SpendingControls.Builder putExtraParam(String key, Object value)
      Add a key/value pair 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 CardCreateParams.SpendingControls.extraParams for the field documentation.
    • putAllExtraParam

      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 CardCreateParams.SpendingControls.extraParams for the field documentation.
    • addSpendingLimit

      Add an element to `spendingLimits` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See CardCreateParams.SpendingControls.spendingLimits for the field documentation.
    • addAllSpendingLimit

      Add all elements to `spendingLimits` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See CardCreateParams.SpendingControls.spendingLimits for the field documentation.