Package com.stripe.param
Class PaymentLinkUpdateParams.SubscriptionData.TrialSettings.Builder
java.lang.Object
com.stripe.param.PaymentLinkUpdateParams.SubscriptionData.TrialSettings.Builder
- Enclosing class:
- PaymentLinkUpdateParams.SubscriptionData.TrialSettings
-
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.Required. Defines how the subscription should behave when the user's free trial ends.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setEndBehavior
public PaymentLinkUpdateParams.SubscriptionData.TrialSettings.Builder setEndBehavior(PaymentLinkUpdateParams.SubscriptionData.TrialSettings.EndBehavior endBehavior) Required. Defines how the subscription should behave when the user's free trial ends. -
putExtraParam
public PaymentLinkUpdateParams.SubscriptionData.TrialSettings.Builder putExtraParam(String key, Object value) 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. SeePaymentLinkUpdateParams.SubscriptionData.TrialSettings.extraParams
for the field documentation. -
putAllExtraParam
public PaymentLinkUpdateParams.SubscriptionData.TrialSettings.Builder putAllExtraParam(Map<String, Object> map) 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. SeePaymentLinkUpdateParams.SubscriptionData.TrialSettings.extraParams
for the field documentation.
-