Package com.stripe.model.checkout
Class Session.Discount
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.Discount
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session
For more details about Discount, 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 expandablepromotionCodeobject.Get expandedpromotionCode.inthashCode()voidvoidsetCouponObject(Coupon 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
-
getPromotionCode
Get ID of expandablepromotionCodeobject. -
setPromotionCode
-
getPromotionCodeObject
Get expandedpromotionCode. -
setPromotionCodeObject
-
equals
-
canEqual
-
hashCode
public int hashCode()
-