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 classSpecific configuration for determining billing dates when type=day.static classSpecific configuration for determining billing dates when type=month.static classSpecific configuration for determining billing dates when type=week.static classSpecific 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 booleanbooleangetDay()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.inthashCode()voidSpecific configuration for determining billing dates when type=day.voidsetIntervalCount(Long intervalCount) The number of intervals (specified in the interval attribute) between cadence billings.voidSpecific configuration for determining billing dates when type=month.voidThe frequency at which a cadence bills.voidSpecific configuration for determining billing dates when type=week.voidSpecific 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()
-