SubscriptionCreateOptionsBillingCycleAnchorConfig class final

billing_cycle_anchor_config_param

Mutually exclusive with billing_cycle_anchor and only valid with monthly and yearly price intervals. When provided, the billing_cycle_anchor is set to the next occurence of the day_of_month at the hour, minute, and second UTC.

Constructors

SubscriptionCreateOptionsBillingCycleAnchorConfig({required int dayOfMonth, int? hour, int? minute, int? month, int? second})
billing_cycle_anchor_config_param
const
SubscriptionCreateOptionsBillingCycleAnchorConfig.fromJson(Object? json)
factory

Properties

dayOfMonth → int
final
hashCode → int
The hash code for this object.
no setterinherited
hour → int?
final
minute → int?
final
month → int?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
second → int?
final

Methods

encodeWith<V>(Encoder<V> encoder) → V
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

encode<V>(SubscriptionCreateOptionsBillingCycleAnchorConfig instance, Encoder<V> encoder) → V