Package com.stripe.param.v2.billing
Class ActionServiceCreateParams.Builder
java.lang.Object
com.stripe.param.v2.billing.ActionServiceCreateParams.Builder
- Enclosing class:
- ActionServiceCreateParams
-
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.setCreditGrant
(ActionServiceCreateParams.CreditGrant creditGrant) Details for the credit grant.setCreditGrantPerTenant
(ActionServiceCreateParams.CreditGrantPerTenant creditGrantPerTenant) Details for the credit grant per tenant.setLookupKey
(String lookupKey) An internal key you can use to search for this service action.setServiceInterval
(ActionServiceCreateParams.ServiceInterval serviceInterval) Required. The interval for assessing service.setServiceIntervalCount
(Integer serviceIntervalCount) Required. The length of the interval for assessing service.Required. The type of the service action.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCreditGrant
public ActionServiceCreateParams.Builder setCreditGrant(ActionServiceCreateParams.CreditGrant creditGrant) Details for the credit grant. Required iftype
iscredit_grant
. -
setCreditGrantPerTenant
public ActionServiceCreateParams.Builder setCreditGrantPerTenant(ActionServiceCreateParams.CreditGrantPerTenant creditGrantPerTenant) Details for the credit grant per tenant. Required iftype
iscredit_grant_per_tenant
. -
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. SeeActionServiceCreateParams.extraParams
for 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. SeeActionServiceCreateParams.extraParams
for the field documentation. -
setLookupKey
An internal key you can use to search for this service action. Maximum length of 200 characters. -
setServiceInterval
public ActionServiceCreateParams.Builder setServiceInterval(ActionServiceCreateParams.ServiceInterval serviceInterval) Required. The interval for assessing service. -
setServiceIntervalCount
Required. The length of the interval for assessing service. -
setType
Required. The type of the service action.
-