Package com.stripe.param.productcatalog
Class TrialOfferCreateParams.Duration.Builder
java.lang.Object
com.stripe.param.productcatalog.TrialOfferCreateParams.Duration.Builder
- Enclosing class:
- TrialOfferCreateParams.Duration
-
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 relative duration of the trial period computed as the number of recurring price intervals.Required. Specifies how the trial offer duration is determined.
-
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. SeeTrialOfferCreateParams.Duration.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. SeeTrialOfferCreateParams.Duration.extraParamsfor the field documentation. -
setRelative
public TrialOfferCreateParams.Duration.Builder setRelative(TrialOfferCreateParams.Duration.Relative relative) The relative duration of the trial period computed as the number of recurring price intervals. -
setType
Required. Specifies how the trial offer duration is determined.
-