Package com.stripe.param
Class SubscriptionScheduleAmendParams.Amendment.AmendmentStart.DiscountEnd.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Amendment.AmendmentStart.DiscountEnd.Builder
- Enclosing class:
- SubscriptionScheduleAmendParams.Amendment.AmendmentStart.DiscountEnd
public static class SubscriptionScheduleAmendParams.Amendment.AmendmentStart.DiscountEnd.Builder
extends Object
-
Constructor Summary
Constructors -
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.setDiscount
(String discount) Required. The ID of a specific discount.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDiscount
public SubscriptionScheduleAmendParams.Amendment.AmendmentStart.DiscountEnd.Builder setDiscount(String discount) Required. The ID of a specific discount. -
putExtraParam
public SubscriptionScheduleAmendParams.Amendment.AmendmentStart.DiscountEnd.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. SeeSubscriptionScheduleAmendParams.Amendment.AmendmentStart.DiscountEnd.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionScheduleAmendParams.Amendment.AmendmentStart.DiscountEnd.Builder putAllExtraParam(Map<String, Object> map)
-