Package com.stripe.param.billing
Class AlertCreateParams.CreditBalanceThreshold.Filter.Builder
java.lang.Object
com.stripe.param.billing.AlertCreateParams.CreditBalanceThreshold.Filter.Builder
- Enclosing class:
- AlertCreateParams.CreditBalanceThreshold.Filter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.The credit grants for which to configure the credit balance alert.setCustomer
(String customer) Limit the scope to this credit balance alert only to this customer.Required. What type of filter is being applied to this credit balance alert.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCreditGrants
public AlertCreateParams.CreditBalanceThreshold.Filter.Builder setCreditGrants(AlertCreateParams.CreditBalanceThreshold.Filter.CreditGrants creditGrants) The credit grants for which to configure the credit balance alert. -
setCustomer
Limit the scope to this credit balance alert only to this customer. -
putExtraParam
public AlertCreateParams.CreditBalanceThreshold.Filter.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. SeeAlertCreateParams.CreditBalanceThreshold.Filter.extraParams
for the field documentation. -
putAllExtraParam
public AlertCreateParams.CreditBalanceThreshold.Filter.Builder putAllExtraParam(Map<String, Object> map) 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. SeeAlertCreateParams.CreditBalanceThreshold.Filter.extraParams
for the field documentation. -
setType
public AlertCreateParams.CreditBalanceThreshold.Filter.Builder setType(AlertCreateParams.CreditBalanceThreshold.Filter.Type type) Required. What type of filter is being applied to this credit balance alert.
-