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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Get ID of expandablecoupon
object.Get expandedcoupon
.Get ID of expandablediscount
object.Details to determine how long the discount should be applied for.Get expandeddiscount
.int
hashCode()
void
void
setCouponObject
(Coupon expandableObject) void
setDiscount
(String id) void
Details to determine how long the discount should be applied for.void
setDiscountObject
(Discount expandableObject) Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Discount
public Discount()
-
-
Method Details
-
getCoupon
Get ID of expandablecoupon
object. -
setCoupon
-
getCouponObject
Get expandedcoupon
. -
setCouponObject
-
getDiscount
Get ID of expandablediscount
object. -
setDiscount
-
getDiscountObject
Get expandeddiscount
. -
setDiscountObject
-
getDiscountEnd
Details to determine how long the discount should be applied for. -
setDiscountEnd
Details to determine how long the discount should be applied for. -
equals
-
canEqual
-
hashCode
public int hashCode()
-