Package com.stripe.param.v2.billing
Class ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.Builder
java.lang.Object
com.stripe.param.v2.billing.ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.Builder
- Enclosing class:
- ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod
public static class ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllMeterSegmentCondition(List<ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition> elements) Add all elements to `meterSegmentConditions` list.addMeterSegmentCondition(ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition element) Add an element to `meterSegmentConditions` 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.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
public ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod build()Finalize and obtain parameter instance from this builder. -
putExtraParam
public ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.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.extraParamsfor the field documentation. -
putAllExtraParam
public ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.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.extraParamsfor the field documentation. -
addMeterSegmentCondition
public ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.Builder addMeterSegmentCondition(ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition element) Add an element to `meterSegmentConditions` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.meterSegmentConditionsfor the field documentation. -
addAllMeterSegmentCondition
public ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.Builder addAllMeterSegmentCondition(List<ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.MeterSegmentCondition> elements) Add all elements to `meterSegmentConditions` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod.meterSegmentConditionsfor the field documentation.
-