Package com.stripe.model
Class Invoice.TotalDiscountAmount
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Invoice.TotalDiscountAmount
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Invoice
For more details about TotalDiscountAmount, 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 booleanbooleanThe amount, in cents (or local equivalent), of the discount.Get ID of expandablediscountobject.Get expandeddiscount.inthashCode()voidThe amount, in cents (or local equivalent), of the discount.voidsetDiscount(String id) voidsetDiscountObject(Discount expandableObject) Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
TotalDiscountAmount
public TotalDiscountAmount()
-
-
Method Details
-
getDiscount
Get ID of expandablediscountobject. -
setDiscount
-
getDiscountObject
Get expandeddiscount. -
setDiscountObject
-
getAmount
The amount, in cents (or local equivalent), of the discount. -
setAmount
The amount, in cents (or local equivalent), of the discount. -
equals
-
canEqual
-
hashCode
public int hashCode()
-