Package com.stripe.param
Class CouponCreateParams.ServicePeriod.Iterations.Builder
java.lang.Object
com.stripe.param.CouponCreateParams.ServicePeriod.Iterations.Builder
- Enclosing class:
- CouponCreateParams.ServicePeriod.Iterations
-
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 number of iterations the service period will repeat for.Required. The type of iterations, defaults tocountif omitted.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCount
The number of iterations the service period will repeat for. Only used when type iscount, defaults to 1. -
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. SeeCouponCreateParams.ServicePeriod.Iterations.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. SeeCouponCreateParams.ServicePeriod.Iterations.extraParamsfor the field documentation. -
setType
public CouponCreateParams.ServicePeriod.Iterations.Builder setType(CouponCreateParams.ServicePeriod.Iterations.Type type) Required. The type of iterations, defaults tocountif omitted.
-