Package com.stripe.param.billing
Class AlertCreateParams.SpendThreshold.Gte.Builder
java.lang.Object
com.stripe.param.billing.AlertCreateParams.SpendThreshold.Gte.Builder
- Enclosing class:
- AlertCreateParams.SpendThreshold.Gte
-
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.The monetary amount.setCustomPricingUnit(AlertCreateParams.SpendThreshold.Gte.CustomPricingUnit customPricingUnit) The custom pricing unit amount.Required. The type of the threshold amount.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
public AlertCreateParams.SpendThreshold.Gte.Builder setAmount(AlertCreateParams.SpendThreshold.Gte.Amount amount) The monetary amount. Required when type isamount. -
setCustomPricingUnit
public AlertCreateParams.SpendThreshold.Gte.Builder setCustomPricingUnit(AlertCreateParams.SpendThreshold.Gte.CustomPricingUnit customPricingUnit) The custom pricing unit amount. Required when type iscustom_pricing_unit. -
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.SpendThreshold.Gte.extraParamsfor 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. SeeAlertCreateParams.SpendThreshold.Gte.extraParamsfor the field documentation. -
setType
public AlertCreateParams.SpendThreshold.Gte.Builder setType(AlertCreateParams.SpendThreshold.Gte.Type type) Required. The type of the threshold amount.
-