Package com.stripe.model
Class SubscriptionSchedule.Phase.Item.Discount
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SubscriptionSchedule.Phase.Item.Discount
- All Implemented Interfaces:
- StripeObjectInterface
- Enclosing class:
- SubscriptionSchedule.Phase.Item
For more details about Discount, please refer to the API Reference.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classFor more details about DiscountEnd, please refer to the API Reference.
- 
Field SummaryFields inherited from class com.stripe.model.StripeObjectPRETTY_PRINT_GSON
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanGet ID of expandablecouponobject.Get expandedcoupon.Get ID of expandablediscountobject.Details to determine how long the discount should be applied for.Get expandeddiscount.Get ID of expandablepromotionCodeobject.Get expandedpromotionCode.inthashCode()voidvoidsetCouponObject(Coupon expandableObject) voidsetDiscount(String id) voidDetails to determine how long the discount should be applied for.voidsetDiscountObject(Discount expandableObject) voidvoidsetPromotionCodeObject(PromotionCode expandableObject) Methods inherited from class com.stripe.model.StripeObjectdeserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
- 
Constructor Details- 
Discountpublic Discount()
 
- 
- 
Method Details- 
getCouponGet ID of expandablecouponobject.
- 
setCoupon
- 
getCouponObjectGet expandedcoupon.
- 
setCouponObject
- 
getDiscountGet ID of expandablediscountobject.
- 
setDiscount
- 
getDiscountObjectGet expandeddiscount.
- 
setDiscountObject
- 
getPromotionCodeGet ID of expandablepromotionCodeobject.
- 
setPromotionCode
- 
getPromotionCodeObjectGet expandedpromotionCode.
- 
setPromotionCodeObject
- 
getDiscountEndDetails to determine how long the discount should be applied for.
- 
setDiscountEndDetails to determine how long the discount should be applied for.
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
 
-