Package com.stripe.param.billingportal
Class SessionCreateParams.FlowData.SubscriptionCancel.Retention.CouponOffer.Builder
java.lang.Object
com.stripe.param.billingportal.SessionCreateParams.FlowData.SubscriptionCancel.Retention.CouponOffer.Builder
public static class SessionCreateParams.FlowData.SubscriptionCancel.Retention.CouponOffer.Builder
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.Required. The ID of the coupon to be offered.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCoupon
public SessionCreateParams.FlowData.SubscriptionCancel.Retention.CouponOffer.Builder setCoupon(String coupon) Required. The ID of the coupon to be offered. -
putExtraParam
public SessionCreateParams.FlowData.SubscriptionCancel.Retention.CouponOffer.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. SeeSessionCreateParams.FlowData.SubscriptionCancel.Retention.CouponOffer.extraParams
for the field documentation. -
putAllExtraParam
public SessionCreateParams.FlowData.SubscriptionCancel.Retention.CouponOffer.Builder putAllExtraParam(Map<String, Object> map)
-