Package com.stripe.param.billing
Class AlertCreateParams.CreditBalanceThreshold.Lte.CustomPricingUnit.Builder
java.lang.Object
com.stripe.param.billing.AlertCreateParams.CreditBalanceThreshold.Lte.CustomPricingUnit.Builder
- Enclosing class:
- AlertCreateParams.CreditBalanceThreshold.Lte.CustomPricingUnit
public static class AlertCreateParams.CreditBalanceThreshold.Lte.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.setValue
(BigDecimal value) Required. A positive decimal string representing the amount of the custom pricing unit threshold.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public AlertCreateParams.CreditBalanceThreshold.Lte.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. SeeAlertCreateParams.CreditBalanceThreshold.Lte.CustomPricingUnit.extraParams
for the field documentation. -
putAllExtraParam
public AlertCreateParams.CreditBalanceThreshold.Lte.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. SeeAlertCreateParams.CreditBalanceThreshold.Lte.CustomPricingUnit.extraParams
for the field documentation. -
setId
Required. The ID of the custom pricing unit. -
setValue
public AlertCreateParams.CreditBalanceThreshold.Lte.CustomPricingUnit.Builder setValue(BigDecimal value) Required. A positive decimal string representing the amount of the custom pricing unit threshold.
-