Package com.stripe.param
Class InvoiceUpcomingLinesParams.ScheduleDetails.Phase.AddInvoiceItem.Discount
java.lang.Object
com.stripe.param.InvoiceUpcomingLinesParams.ScheduleDetails.Phase.AddInvoiceItem.Discount
- Enclosing class:
- InvoiceUpcomingLinesParams.ScheduleDetails.Phase.AddInvoiceItem
public static class InvoiceUpcomingLinesParams.ScheduleDetails.Phase.AddInvoiceItem.Discount
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
ID of the coupon to create a new discount for.ID of an existing discount on the object (or one of its ancestors) to reuse.Map of extra parameters for custom features not available in this client library.ID of the promotion code to create a new discount for.
-
Method Details
-
builder
public static InvoiceUpcomingLinesParams.ScheduleDetails.Phase.AddInvoiceItem.Discount.Builder builder() -
getCoupon
ID of the coupon to create a new discount for. -
getDiscount
ID of an existing discount on the object (or one of its ancestors) to reuse. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance. -
getPromotionCode
ID of the promotion code to create a new discount for.
-