Subscription class

Inheritance
Annotations
  • @JsonSerializable(explicitToJson: true, includeIfNull: false, fieldRename: FieldRename.snake)

Constructors

Subscription({bool? cancelAtPeriodEnd, int? currentPeriodEnd, int? currentPeriodStart, String? customer, int? daysUntilDue, String? defaultPaymentMethod, String? defaultSource, String? description, String? id, String? invoice, SubscriptionItemList? items, Map<String, dynamic>? metadata, String? object, String? subscriptionName, TransferData? transferData})
Subscription.fromJson(Map<String, dynamic> json)
factory

Properties

blueprintId String?
getter/setter pairinherited
cancelAtPeriodEnd bool?
getter/setter pair
currentPeriodEnd int?
getter/setter pair
currentPeriodStart int?
getter/setter pair
customer String?
getter/setter pair
daysUntilDue int?
getter/setter pair
defaultPaymentMethod String?
getter/setter pair
defaultSource String?
getter/setter pair
description String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pairoverride
invoice String?
getter/setter pair
items SubscriptionItemList?
getter/setter pair
message String?
getter/setter pairinherited
metadata Map<String, dynamic>?
getter/setter pair
object String?
getter/setter pairoverride
param String?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stripeAccount String?
getter/setter pairinherited
stripeError String?
getter/setter pairinherited
subscriptionName String?
getter/setter pair
transferData TransferData?
getter/setter pair

Methods

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

Operators

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