SubscriptionsResourcePendingUpdate class final

SubscriptionsResourcePendingUpdate

Pending Updates store the changes pending from a previous update that will be applied to the Subscription upon successful payment.

Constructors

SubscriptionsResourcePendingUpdate({DateTime? billingCycleAnchor, required DateTime expiresAt, List<SubscriptionItem>? subscriptionItems, DateTime? trialEnd, bool? trialFromPlan})
SubscriptionsResourcePendingUpdate
const
SubscriptionsResourcePendingUpdate.fromJson(Object? json)
factory

Properties

billingCycleAnchor → DateTime?
final
expiresAt → DateTime
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subscriptionItems → List<SubscriptionItem>?
final
trialEnd → DateTime?
final
trialFromPlan → bool?
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>(SubscriptionsResourcePendingUpdate instance, Encoder<V> encoder) → V