Package com.stripe.model
Class Coupon.Script
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Coupon.Script
- All Implemented Interfaces:
HasId
,StripeObjectInterface
- Enclosing class:
- Coupon
For more details about Script, 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
The configuration values of the script.The name of the script used to calculate the discount.getId()
The script implementation ID for this coupon.int
hashCode()
void
setConfiguration
(Map<String, Object> configuration) The configuration values of the script.void
setDisplayName
(String displayName) The name of the script used to calculate the discount.void
The script implementation ID for this coupon.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Script
public Script()
-
-
Method Details
-
getConfiguration
The configuration values of the script. The keys and values are specific to the script implementation. -
getDisplayName
The name of the script used to calculate the discount. -
setConfiguration
The configuration values of the script. The keys and values are specific to the script implementation. -
setDisplayName
The name of the script used to calculate the discount. -
setId
The script implementation ID for this coupon. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
The script implementation ID for this coupon.
-