CustomerSubscriptionPausedEvent class final

Occurs whenever a customer's subscription is paused. Only applies when subscriptions enter `status=paused`, not when [payment collection](/docs/billing/subscriptions/pause) is paused.

Implemented types

Constructors

CustomerSubscriptionPausedEvent({required Subscription object})
Occurs whenever a customer's subscription is paused. Only applies when subscriptions enter `status=paused`, not when [payment collection](/docs/billing/subscriptions/pause) is paused.
const
CustomerSubscriptionPausedEvent.fromJson(Object? json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
object Subscription
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
final

Methods

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

Operators

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

Static Methods

encode<V>(CustomerSubscriptionPausedEvent instance, Encoder<V> encoder) → V
override