Package com.stripe.param.v2.billing
Class ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.Builder
java.lang.Object
com.stripe.param.v2.billing.ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.Builder
- Enclosing class:
- ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition
public static class ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.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.setMeterEventFirstPerPeriod
(ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod meterEventFirstPerPeriod) The grant condition for the meter event first per period.Required. The type of the grant condition.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.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.extraParams
for the field documentation. -
putAllExtraParam
public ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.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.extraParams
for the field documentation. -
setMeterEventFirstPerPeriod
public ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.Builder setMeterEventFirstPerPeriod(ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.MeterEventFirstPerPeriod meterEventFirstPerPeriod) The grant condition for the meter event first per period. -
setType
public ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.Builder setType(ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition.Type type) Required. The type of the grant condition. We currently supportmeter_event_first_per_period
.
-