Package com.stripe.param.v2.billing
Class ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition.Builder
java.lang.Object
com.stripe.param.v2.billing.ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition.Builder
- Enclosing class:
- ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition
public static class ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition.Builder
extends Object
-
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.setDimension
(ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition.Dimension dimension) Dimension-based meter segment condition.setType
(ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition.Type type) Required. The type of the meter segment condition.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
public ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition build()Finalize and obtain parameter instance from this builder. -
setDimension
public ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition.Builder setDimension(ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition.Dimension dimension) Dimension-based meter segment condition. -
putExtraParam
public ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition.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. SeeActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition.extraParams
for the field documentation. -
putAllExtraParam
public ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition.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. SeeActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition.extraParams
for the field documentation. -
setType
public ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition.Builder setType(ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition.Type type) Required. The type of the meter segment condition. We currently supportdimension
.
-