Subscription class

Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

Subscription({int? version, String? id, String? customerId, SubscriptionStatus? status, String? locationId, String? createdAt, SubscriptionSource? source, String? cardId, List<SubscriptionAction>? actions, String? canceledDate, String? chargedThroughDate, List<String>? invoiceIds, String? planId, Money? priceOverrideMoney, String? startDate, String? taxPercentage, String? timezone})
Subscription.fromJson(Map<String, dynamic> json)
factory

Properties

actions → List<SubscriptionAction>?
final
canceledDate → String?
final
cardId → String?
final
chargedThroughDate → String?
final
createdAt → String?
final
customerId → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
final
invoiceIds → List<String>?
final
locationId → String?
final
planId → String?
final
priceOverrideMoney → Money?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → SubscriptionSource?
final
startDate → String?
final
status → SubscriptionStatus?
final
taxPercentage → String?
final
timezone → String?
final
version → int?
final

Methods

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

Operators

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