Package com.stripe.model.v2.billing
Class Cadence.InvoiceDiscountRule
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.Cadence.InvoiceDiscountRule
- All Implemented Interfaces:
HasId
,StripeObjectInterface
- Enclosing class:
- Cadence
For more details about InvoiceDiscountRule, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about PercentOff, 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
getId()
Unique identifier for the object.Details if the discount is a percentage off.getType()
The type of the discount.int
hashCode()
void
Unique identifier for the object.void
setPercentOff
(Cadence.InvoiceDiscountRule.PercentOff percentOff) Details if the discount is a percentage off.void
The type of the discount.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
InvoiceDiscountRule
public InvoiceDiscountRule()
-
-
Method Details
-
getPercentOff
Details if the discount is a percentage off. -
getType
The type of the discount.Equal to
percent_off
. -
setId
Unique identifier for the object. -
setPercentOff
Details if the discount is a percentage off. -
setType
The type of the discount.Equal to
percent_off
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-