PauseSubscriptionRequest class

Annotations
  • @JsonSerializable()

Constructors

PauseSubscriptionRequest({String? pauseEffectiveDate, int? pauseCycleDuration, String? pauseReason, ChangeTiming? resumeChangeTiming, String? resumeEffectiveDate})
const
PauseSubscriptionRequest.fromJson(Map<String, dynamic> json)
Converts a Map to an PauseSubscriptionRequest
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
pauseCycleDuration int?
The number of billing cycles the subscription will be paused before it is reactivated.
final
pauseEffectiveDate String?
The YYYY-MM-DD-formatted date when the scheduled PAUSE action takes place on the subscription.
final
pauseReason String?
The user-provided reason to pause the subscription.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
resumeChangeTiming ChangeTiming?
The timing whether the subscription is reactivated immediately or at the end of the billing cycle, relative to resume_effective_date.
final
resumeEffectiveDate String?
The date when the subscription is reactivated by a scheduled RESUME action. This date must be at least one billing cycle ahead of pause_effective_date.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a PauseSubscriptionRequest to a Map
toString() String
A string representation of this object.
inherited

Operators

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