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 boolean
boolean
Get ID of expandablecoupon
object.Get expandedcoupon
.getType()
The type of promotion.int
hashCode()
void
void
setCouponObject
(Coupon expandableObject) void
The 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 expandablecoupon
object. -
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()
-