SubscriptionPendingUpdate class final

If specified, [pending updates](https://stripe.com/docs/billing/subscriptions/pending-updates) that will be applied to the subscription once the `latest_invoice` has been paid.

Constructors

SubscriptionPendingUpdate({DateTime? billingCycleAnchor, required DateTime expiresAt, List<SubscriptionItem>? subscriptionItems, DateTime? trialEnd, bool? trialFromPlan})
If specified, [pending updates](https://stripe.com/docs/billing/subscriptions/pending-updates) that will be applied to the subscription once the `latest_invoice` has been paid.
const
SubscriptionPendingUpdate.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>(SubscriptionPendingUpdate instance, Encoder<V> encoder) → V