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
For more details about BillingCycle, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about Day, please refer to the API Reference.static class
For more details about Month, please refer to the API Reference.static class
For more details about Week, please refer to the API Reference.static class
For more details about Year, please refer to the API Reference. -
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
(Integer 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()
-