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