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 classDetails if the discount is a percentage off. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetId()Unique identifier for the object.Details if the discount is a percentage off.getType()The type of the discount.inthashCode()voidUnique identifier for the object.voidsetPercentOff(Cadence.InvoiceDiscountRule.PercentOff percentOff) Details if the discount is a percentage off.voidThe 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.
-