Package com.stripe.param.v2.billing
Class ActionServiceCreateParams.CreditGrant.Amount.CustomPricingUnit.Builder
java.lang.Object
com.stripe.param.v2.billing.ActionServiceCreateParams.CreditGrant.Amount.CustomPricingUnit.Builder
- Enclosing class:
- ActionServiceCreateParams.CreditGrant.Amount.CustomPricingUnit
public static class ActionServiceCreateParams.CreditGrant.Amount.CustomPricingUnit.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.Required. The id of the custom pricing unit.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public ActionServiceCreateParams.CreditGrant.Amount.CustomPricingUnit.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.Amount.CustomPricingUnit.extraParams
for the field documentation. -
putAllExtraParam
public ActionServiceCreateParams.CreditGrant.Amount.CustomPricingUnit.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.Amount.CustomPricingUnit.extraParams
for the field documentation. -
setId
Required. The id of the custom pricing unit. -
setValue
public ActionServiceCreateParams.CreditGrant.Amount.CustomPricingUnit.Builder setValue(String value)
-