Package com.stripe.model
Class Invoice.DiscountAmount
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Invoice.DiscountAmount
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Invoice
public static class Invoice.DiscountAmount extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description DiscountAmount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Long
getAmount()
The amount, in %s, of the discount.java.lang.String
getDiscount()
Get ID of expandablediscount
object.Discount
getDiscountObject()
Get expandeddiscount
.int
hashCode()
void
setAmount(java.lang.Long amount)
The amount, in %s, of the discount.void
setDiscount(java.lang.String id)
void
setDiscountObject(Discount expandableObject)
-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getDiscount
public java.lang.String getDiscount()
Get ID of expandablediscount
object.
-
setDiscount
public void setDiscount(java.lang.String id)
-
getDiscountObject
public Discount getDiscountObject()
Get expandeddiscount
.
-
setDiscountObject
public void setDiscountObject(Discount expandableObject)
-
getAmount
public java.lang.Long getAmount()
The amount, in %s, of the discount.
-
setAmount
public void setAmount(java.lang.Long amount)
The amount, in %s, of the discount.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-