Package com.stripe.param.billing
Class AlertCreateParams.SpendThreshold.Filters.Builder
java.lang.Object
com.stripe.param.billing.AlertCreateParams.SpendThreshold.Filters.Builder
- Enclosing class:
- AlertCreateParams.SpendThreshold.Filters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllBillableItem(List<String> elements) Add all elements to `billableItems` list.addBillableItem(String element) Add an element to `billableItems` list.build()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.setBillingCadence(String billingCadence) Filter by billing cadence ID.setPricingPlan(String pricingPlan) Filter by pricing plan ID.setPricingPlanSubscription(String pricingPlanSubscription)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addBillableItem
Add an element to `billableItems` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAlertCreateParams.SpendThreshold.Filters.billableItemsfor the field documentation. -
addAllBillableItem
Add all elements to `billableItems` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAlertCreateParams.SpendThreshold.Filters.billableItemsfor the field documentation. -
setBillingCadence
Filter by billing cadence ID. -
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.SpendThreshold.Filters.extraParamsfor 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.SpendThreshold.Filters.extraParamsfor the field documentation. -
setPricingPlan
Filter by pricing plan ID. -
setPricingPlanSubscription
public AlertCreateParams.SpendThreshold.Filters.Builder setPricingPlanSubscription(String pricingPlanSubscription)
-