Package com.stripe.model
Class InvoiceLineItem.DiscountAmount
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.InvoiceLineItem.DiscountAmount
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- InvoiceLineItem
public static class InvoiceLineItem.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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.LonggetAmount()java.lang.StringgetDiscount()Get ID of expandablediscountobject.DiscountgetDiscountObject()Get expandeddiscount.inthashCode()voidsetAmount(java.lang.Long amount)voidsetDiscount(java.lang.String id)voidsetDiscountObject(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 expandablediscountobject.
-
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()
-
setAmount
public void setAmount(java.lang.Long amount)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-