Package com.stripe.param
Class InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Remove
java.lang.Object
com.stripe.param.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Remove
- Enclosing class:
- InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction
public static class InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Remove
extends Object
Required. The type of calculation made to determine when the
discount ends.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
The coupon code to remove from thediscounts
array.The ID of a discount to remove from thediscounts
array.Map of extra parameters for custom features not available in this client library.The ID of a promotion code to remove from thediscounts
array.int
hashCode()
-
Method Details
-
builder
public static InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction.Remove.Builder builder() -
getCoupon
The coupon code to remove from thediscounts
array. -
getDiscount
The ID of a discount to remove from thediscounts
array. -
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
The ID of a promotion code to remove from thediscounts
array. -
equals
-
canEqual
-
hashCode
public int hashCode()
-