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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetInterval()Specifies invoicing frequency.java.lang.LonggetIntervalCount()The number of intervals between invoices.inthashCode()voidsetInterval(java.lang.String interval)Specifies invoicing frequency.voidsetIntervalCount(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,monthoryear.One of
day,month,week, oryear.
-
getIntervalCount
public java.lang.Long getIntervalCount()
The number of intervals between invoices. For example,interval=monthandinterval_count=3bills 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,monthoryear.One of
day,month,week, oryear.
-
setIntervalCount
public void setIntervalCount(java.lang.Long intervalCount)
The number of intervals between invoices. For example,interval=monthandinterval_count=3bills 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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-