Package com.stripe.param
Class PlanCreateParams.TransformUsage.Builder
java.lang.Object
com.stripe.param.PlanCreateParams.TransformUsage.Builder
- Enclosing class:
- PlanCreateParams.TransformUsage
-
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. SeePlanCreateParams.TransformUsage.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. SeePlanCreateParams.TransformUsage.extraParams
for the field documentation. -
setRound
public PlanCreateParams.TransformUsage.Builder setRound(PlanCreateParams.TransformUsage.Round round) Required. After division, either round the resultup
ordown
.
-