Package com.stripe.model
Class QuotePreviewSubscriptionSchedule.Phase.Item.Discount
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.QuotePreviewSubscriptionSchedule.Phase.Item.Discount
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- QuotePreviewSubscriptionSchedule.Phase.Item
For more details about Discount, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about DiscountEnd, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier 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.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Discount
public Discount()
-
-
Method Details
-
getCoupon
Get ID of expandablecouponobject. -
setCoupon
-
getCouponObject
Get expandedcoupon. -
setCouponObject
-
getDiscount
Get ID of expandablediscountobject. -
setDiscount
-
getDiscountObject
Get expandeddiscount. -
setDiscountObject
-
getPromotionCode
Get ID of expandablepromotionCodeobject. -
setPromotionCode
-
getPromotionCodeObject
Get expandedpromotionCode. -
setPromotionCodeObject
-
getDiscountEnd
Details to determine how long the discount should be applied for. -
setDiscountEnd
public void setDiscountEnd(QuotePreviewSubscriptionSchedule.Phase.Item.Discount.DiscountEnd discountEnd) Details to determine how long the discount should be applied for. -
equals
-
canEqual
-
hashCode
public int hashCode()
-