Package com.stripe.param.billing
Class AlertCreateParams.UsageThreshold.Filter.Builder
java.lang.Object
com.stripe.param.billing.AlertCreateParams.UsageThreshold.Filter.Builder
- Enclosing class:
- AlertCreateParams.UsageThreshold.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.setCustomer
(String customer) Limit the scope to this usage alert only to this customer.Required. What type of filter is being applied to this usage alert.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCustomer
Limit the scope to this usage alert only to this customer. -
putExtraParam
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.UsageThreshold.Filter.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. SeeAlertCreateParams.UsageThreshold.Filter.extraParams
for the field documentation. -
setType
public AlertCreateParams.UsageThreshold.Filter.Builder setType(AlertCreateParams.UsageThreshold.Filter.Type type) Required. What type of filter is being applied to this usage alert.
-