RazorpaySubscription class abstract

Annotations
  • @freezed

Constructors

RazorpaySubscription({required String id, required String entity, required String plan_id, required SubscriptionStatus status, required int total_count, required int quantity, required int paid_count, required bool has_scheduled_changes, required String remaining_count, @JsonKey.new(toJson: _boolToInt, fromJson: _intToBool) bool? customer_notify, String? offer_id, int? expire_by, List<RazorpaySubscriptionAddonsItem>? addons, IMap? notes, int? current_start, int? current_end, int? ended_at, int? change_scheduled_at, String? customer_id, String? payment_method})
const
factory
RazorpaySubscription.fromJson(Map<String, dynamic> json)
factory

Properties

addons → List<RazorpaySubscriptionAddonsItem>?
no setterinherited
change_scheduled_at → int?
no setterinherited
copyWith → $RazorpaySubscriptionCopyWith<RazorpaySubscription>
Create a copy of RazorpaySubscription with the given fields replaced by the non-null parameter values.
no setterinherited
current_end → int?
no setterinherited
current_start → int?
no setterinherited
customer_id → String?
no setterinherited
customer_notify → bool?
no setterinherited
ended_at → int?
no setterinherited
entity → String
no setterinherited
expire_by → int?
no setterinherited
has_scheduled_changes → bool
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
id → String
no setterinherited
notes → IMap?
no setterinherited
offer_id → String?
no setterinherited
no setterinherited
payment_method → String?
no setterinherited
plan_id → String
no setterinherited
quantity → int
no setterinherited
remaining_count → String
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → SubscriptionStatus
no setterinherited
total_count → int
no setterinherited

Methods

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

Operators

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