Package com.stripe.model
Class PromotionCode.Promotion
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PromotionCode.Promotion
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PromotionCode
For more details about Promotion, 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.getType()The type of promotion.inthashCode()voidvoidsetCouponObject(Coupon expandableObject) voidThe type of promotion.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Promotion
public Promotion()
-
-
Method Details
-
getCoupon
Get ID of expandablecouponobject. -
setCoupon
-
getCouponObject
Get expandedcoupon. -
setCouponObject
-
getType
The type of promotion.Equal to
coupon. -
setType
The type of promotion.Equal to
coupon. -
equals
-
canEqual
-
hashCode
public int hashCode()
-