Package com.stripe.model
Class SubscriptionSchedule.Phase.AddInvoiceItem.Discount
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SubscriptionSchedule.Phase.AddInvoiceItem.Discount
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- SubscriptionSchedule.Phase.AddInvoiceItem
-
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.Get expandeddiscount
.Get ID of expandablepromotionCode
object.int
hashCode()
void
void
setCouponObject
(Coupon expandableObject) void
setDiscount
(String id) void
setDiscountObject
(Discount expandableObject) void
void
setPromotionCodeObject
(PromotionCode expandableObject) Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, 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
-
getPromotionCode
Get ID of expandablepromotionCode
object. -
setPromotionCode
-
getPromotionCodeObject
-
setPromotionCodeObject
-
equals
-
canEqual
-
hashCode
public int hashCode()
-