Package com.stripe.model
Class Quote.Recurring
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Quote.Recurring
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Quote
public static class Quote.Recurring extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description Recurring()
-
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
getAmountSubtotal()
Total before any discounts or taxes are applied.java.lang.Long
getAmountTotal()
Total after discounts and taxes are applied.java.lang.String
getInterval()
The frequency at which a subscription is billed.java.lang.Long
getIntervalCount()
The number of intervals (specified in theinterval
attribute) between subscription billings.Quote.TotalDetails
getTotalDetails()
int
hashCode()
void
setAmountSubtotal(java.lang.Long amountSubtotal)
Total before any discounts or taxes are applied.void
setAmountTotal(java.lang.Long amountTotal)
Total after discounts and taxes are applied.void
setInterval(java.lang.String interval)
The frequency at which a subscription is billed.void
setIntervalCount(java.lang.Long intervalCount)
The number of intervals (specified in theinterval
attribute) between subscription billings.void
setTotalDetails(Quote.TotalDetails totalDetails)
-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAmountSubtotal
public java.lang.Long getAmountSubtotal()
Total before any discounts or taxes are applied.
-
getAmountTotal
public java.lang.Long getAmountTotal()
Total after discounts and taxes are applied.
-
getInterval
public java.lang.String getInterval()
The frequency at which a subscription is billed. One ofday
,week
,month
oryear
.
-
getIntervalCount
public java.lang.Long getIntervalCount()
The number of intervals (specified in theinterval
attribute) between subscription billings. For example,interval=month
andinterval_count=3
bills every 3 months.
-
getTotalDetails
public Quote.TotalDetails getTotalDetails()
-
setAmountSubtotal
public void setAmountSubtotal(java.lang.Long amountSubtotal)
Total before any discounts or taxes are applied.
-
setAmountTotal
public void setAmountTotal(java.lang.Long amountTotal)
Total after discounts and taxes are applied.
-
setInterval
public void setInterval(java.lang.String interval)
The frequency at which a subscription is billed. One ofday
,week
,month
oryear
.
-
setIntervalCount
public void setIntervalCount(java.lang.Long intervalCount)
The number of intervals (specified in theinterval
attribute) between subscription billings. For example,interval=month
andinterval_count=3
bills every 3 months.
-
setTotalDetails
public void setTotalDetails(Quote.TotalDetails totalDetails)
-
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
-
-