Package com.stripe.param
Class SubscriptionUpdateParams.Item.CurrentTrial.Builder
java.lang.Object
com.stripe.param.SubscriptionUpdateParams.Item.CurrentTrial.Builder
- Enclosing class:
- SubscriptionUpdateParams.Item.CurrentTrial
-
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.setTrialEnd(Long trialEnd) Unix timestamp representing the end of the trial offer period.setTrialOffer(EmptyParam trialOffer) setTrialOffer(String trialOffer) Required. The ID of the trial offer to apply to the subscription item.
-
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. SeeSubscriptionUpdateParams.Item.CurrentTrial.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. SeeSubscriptionUpdateParams.Item.CurrentTrial.extraParamsfor the field documentation. -
setTrialEnd
Unix timestamp representing the end of the trial offer period. Required when the trial offer hasduration.type=timestamp. Cannot be specified whenduration.type=relative. -
setTrialOffer
Required. The ID of the trial offer to apply to the subscription item. -
setTrialOffer
-