Package com.stripe.param
Class PriceCreateParams.TransformQuantity.Builder
java.lang.Object
com.stripe.param.PriceCreateParams.TransformQuantity.Builder
- Enclosing class:
- PriceCreateParams.TransformQuantity
-
Constructor Summary
-
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.setDivideBy
(Long divideBy) Required. Divide usage by this number.Required. After division, either round the resultup
ordown
.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDivideBy
Required. Divide usage by this number. -
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. SeePriceCreateParams.TransformQuantity.extraParams
for 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. SeePriceCreateParams.TransformQuantity.extraParams
for the field documentation. -
setRound
public PriceCreateParams.TransformQuantity.Builder setRound(PriceCreateParams.TransformQuantity.Round round) Required. After division, either round the resultup
ordown
.
-