Package com.stripe.model.v2.billing
Class Cadence.BillingCycle
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.Cadence.BillingCycle
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Cadence
The billing cycle is the object that defines future billing cycle dates.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Specific configuration for determining billing dates when type=day.static class
Specific configuration for determining billing dates when type=month.static class
Specific configuration for determining billing dates when type=week.static class
Specific configuration for determining billing dates when type=year. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getDay()
Specific configuration for determining billing dates when type=day.The number of intervals (specified in the interval attribute) between cadence billings.getMonth()
Specific configuration for determining billing dates when type=month.getType()
The frequency at which a cadence bills.getWeek()
Specific configuration for determining billing dates when type=week.getYear()
Specific configuration for determining billing dates when type=year.int
hashCode()
void
Specific configuration for determining billing dates when type=day.void
setIntervalCount
(Long intervalCount) The number of intervals (specified in the interval attribute) between cadence billings.void
Specific configuration for determining billing dates when type=month.void
The frequency at which a cadence bills.void
Specific configuration for determining billing dates when type=week.void
Specific configuration for determining billing dates when type=year.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
BillingCycle
public BillingCycle()
-
-
Method Details
-
getDay
Specific configuration for determining billing dates when type=day. -
getIntervalCount
The number of intervals (specified in the interval attribute) between cadence billings. For example, type=month and interval_count=3 bills every 3 months. -
getMonth
Specific configuration for determining billing dates when type=month. -
getType
The frequency at which a cadence bills.One of
day
,month
,week
, oryear
. -
getWeek
Specific configuration for determining billing dates when type=week. -
getYear
Specific configuration for determining billing dates when type=year. -
setDay
Specific configuration for determining billing dates when type=day. -
setIntervalCount
The number of intervals (specified in the interval attribute) between cadence billings. For example, type=month and interval_count=3 bills every 3 months. -
setMonth
Specific configuration for determining billing dates when type=month. -
setType
The frequency at which a cadence bills.One of
day
,month
,week
, oryear
. -
setWeek
Specific configuration for determining billing dates when type=week. -
setYear
Specific configuration for determining billing dates when type=year. -
equals
-
canEqual
-
hashCode
public int hashCode()
-