Package com.stripe.model
Class Subscription.PendingInvoiceItemInterval
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Subscription.PendingInvoiceItemInterval
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Subscription
public static class Subscription.PendingInvoiceItemInterval extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description PendingInvoiceItemInterval()
-
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.String
getInterval()
Specifies invoicing frequency.java.lang.Long
getIntervalCount()
The number of intervals between invoices.int
hashCode()
void
setInterval(java.lang.String interval)
Specifies invoicing frequency.void
setIntervalCount(java.lang.Long intervalCount)
The number of intervals between invoices.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getInterval
public java.lang.String getInterval()
Specifies invoicing frequency. Eitherday
,week
,month
oryear
.One of
day
,month
,week
, oryear
.
-
getIntervalCount
public java.lang.Long getIntervalCount()
The number of intervals between invoices. For example,interval=month
andinterval_count=3
bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
-
setInterval
public void setInterval(java.lang.String interval)
Specifies invoicing frequency. Eitherday
,week
,month
oryear
.One of
day
,month
,week
, oryear
.
-
setIntervalCount
public void setIntervalCount(java.lang.Long intervalCount)
The number of intervals between invoices. For example,interval=month
andinterval_count=3
bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
-
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
-
-