Package com.stripe.param.v2.billing
Class ActionServiceCreateParams.CreditGrant.ApplicabilityConfig.Scope.Builder
java.lang.Object
com.stripe.param.v2.billing.ActionServiceCreateParams.CreditGrant.ApplicabilityConfig.Scope.Builder
- Enclosing class:
- ActionServiceCreateParams.CreditGrant.ApplicabilityConfig.Scope
public static class ActionServiceCreateParams.CreditGrant.ApplicabilityConfig.Scope.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllBillableItem
(List<String> elements) Add all elements to `billableItems` list.addBillableItem
(String element) Add an element to `billableItems` 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
Finalize and obtain parameter instance from this builder. -
addBillableItem
public ActionServiceCreateParams.CreditGrant.ApplicabilityConfig.Scope.Builder addBillableItem(String element) Add an element to `billableItems` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeActionServiceCreateParams.CreditGrant.ApplicabilityConfig.Scope.billableItems
for the field documentation. -
addAllBillableItem
public ActionServiceCreateParams.CreditGrant.ApplicabilityConfig.Scope.Builder addAllBillableItem(List<String> elements) Add all elements to `billableItems` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeActionServiceCreateParams.CreditGrant.ApplicabilityConfig.Scope.billableItems
for the field documentation. -
putExtraParam
public ActionServiceCreateParams.CreditGrant.ApplicabilityConfig.Scope.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.CreditGrant.ApplicabilityConfig.Scope.extraParams
for the field documentation. -
putAllExtraParam
public ActionServiceCreateParams.CreditGrant.ApplicabilityConfig.Scope.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.CreditGrant.ApplicabilityConfig.Scope.extraParams
for the field documentation. -
setPriceType
-