Package com.stripe.param.billing
Class AlertCreateParams.CreditBalanceThreshold.Lte.Builder
java.lang.Object
com.stripe.param.billing.AlertCreateParams.CreditBalanceThreshold.Lte.Builder
- Enclosing class:
- AlertCreateParams.CreditBalanceThreshold.Lte
-
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. Specify the type of this balance.setCustomPricingUnit
(AlertCreateParams.CreditBalanceThreshold.Lte.CustomPricingUnit customPricingUnit) The custom pricing unit amount.The monetary amount.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBalanceType
public AlertCreateParams.CreditBalanceThreshold.Lte.Builder setBalanceType(AlertCreateParams.CreditBalanceThreshold.Lte.BalanceType balanceType) Required. Specify the type of this balance. We currently only supportmonetary
billing credits. -
setCustomPricingUnit
public AlertCreateParams.CreditBalanceThreshold.Lte.Builder setCustomPricingUnit(AlertCreateParams.CreditBalanceThreshold.Lte.CustomPricingUnit customPricingUnit) The custom pricing unit amount. -
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. SeeAlertCreateParams.CreditBalanceThreshold.Lte.extraParams
for the field documentation. -
putAllExtraParam
public AlertCreateParams.CreditBalanceThreshold.Lte.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.extraParams
for the field documentation. -
setMonetary
public AlertCreateParams.CreditBalanceThreshold.Lte.Builder setMonetary(AlertCreateParams.CreditBalanceThreshold.Lte.Monetary monetary) The monetary amount.
-