Package com.stripe.model
Class Invoice.ThresholdReason
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Invoice.ThresholdReason
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Invoice
public static class Invoice.ThresholdReason extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description ThresholdReason()
-
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
getAmountGte()
The total invoice amount threshold boundary if it triggered the threshold invoice.java.util.List<Invoice.ThresholdItemReason>
getItemReasons()
Indicates which line items triggered a threshold invoice.int
hashCode()
void
setAmountGte(java.lang.Long amountGte)
The total invoice amount threshold boundary if it triggered the threshold invoice.void
setItemReasons(java.util.List<Invoice.ThresholdItemReason> itemReasons)
Indicates which line items triggered a threshold invoice.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAmountGte
public java.lang.Long getAmountGte()
The total invoice amount threshold boundary if it triggered the threshold invoice.
-
getItemReasons
public java.util.List<Invoice.ThresholdItemReason> getItemReasons()
Indicates which line items triggered a threshold invoice.
-
setAmountGte
public void setAmountGte(java.lang.Long amountGte)
The total invoice amount threshold boundary if it triggered the threshold invoice.
-
setItemReasons
public void setItemReasons(java.util.List<Invoice.ThresholdItemReason> itemReasons)
Indicates which line items triggered a threshold invoice.
-
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
-
-