Package com.stripe.param.v2.billing
Class ActionServiceCreateParams.CreditGrantPerTenant.Builder
java.lang.Object
com.stripe.param.v2.billing.ActionServiceCreateParams.CreditGrantPerTenant.Builder
- Enclosing class:
- ActionServiceCreateParams.CreditGrantPerTenant
-
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.Required. The amount of the credit grant.setApplicabilityConfig
(ActionServiceCreateParams.CreditGrantPerTenant.ApplicabilityConfig applicabilityConfig) Required. Defines the scope where the credit grant is applicable.Required. The expiry configuration for the credit grant.Required. The grant condition for the credit grant.Required. Customer-facing name for the credit grant.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
public ActionServiceCreateParams.CreditGrantPerTenant.Builder setAmount(ActionServiceCreateParams.CreditGrantPerTenant.Amount amount) Required. The amount of the credit grant. -
setApplicabilityConfig
public ActionServiceCreateParams.CreditGrantPerTenant.Builder setApplicabilityConfig(ActionServiceCreateParams.CreditGrantPerTenant.ApplicabilityConfig applicabilityConfig) Required. Defines the scope where the credit grant is applicable. -
setExpiryConfig
public ActionServiceCreateParams.CreditGrantPerTenant.Builder setExpiryConfig(ActionServiceCreateParams.CreditGrantPerTenant.ExpiryConfig expiryConfig) Required. The expiry configuration for the credit grant. -
putExtraParam
public ActionServiceCreateParams.CreditGrantPerTenant.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.extraParams
for the field documentation. -
putAllExtraParam
public ActionServiceCreateParams.CreditGrantPerTenant.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.extraParams
for the field documentation. -
setGrantCondition
public ActionServiceCreateParams.CreditGrantPerTenant.Builder setGrantCondition(ActionServiceCreateParams.CreditGrantPerTenant.GrantCondition grantCondition) Required. The grant condition for the credit grant. -
setName
Required. Customer-facing name for the credit grant.
-