Package com.stripe.param.v2.billing
Class LicenseFeeCreateParams.Tier.Builder
java.lang.Object
com.stripe.param.v2.billing.LicenseFeeCreateParams.Tier.Builder
- Enclosing class:
- LicenseFeeCreateParams.Tier
-
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.setFlatAmount(String flatAmount) Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places.setUnitAmount(String unitAmount) Per-unit price for units included in this tier, represented as a decimal string in minor currency units with at most 12 decimal places.setUpToDecimal(String upToDecimal) Up to and including this quantity will be contained in the tier.No upper bound to this tier.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
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. SeeLicenseFeeCreateParams.Tier.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. SeeLicenseFeeCreateParams.Tier.extraParamsfor the field documentation. -
setFlatAmount
Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places. -
setUnitAmount
Per-unit price for units included in this tier, represented as a decimal string in minor currency units with at most 12 decimal places. -
setUpToDecimal
Up to and including this quantity will be contained in the tier. Only one ofup_to_decimalandup_to_infmay be set. -
setUpToInf
No upper bound to this tier. Only one ofup_to_decimalandup_to_infmay be set.
-