RazorpayToken class abstract

Annotations
  • @freezed

Constructors

RazorpayToken.new({required String id, required String entity, required String token, required String method, required TokenRecurringDetails recurring_details, String? bank, String? wallet, RazorpayCard? card, TokenVpaDetails? vpa, RazorpayBankAccount? bank_details, String? auth_type, String? mrn, int? max_amount, TokenStatus? status, String? error_code, String? error_description, String? internal_error_code, String? source, IMap? notes, bool? compliant_with_tokenisation_guidelines, String? customer_id, RazorpayCustomer? customer, RazorpayInvoiceAddress? billing_address})
const
factory
RazorpayToken.fromJson(Map<String, dynamic> json)
factory

Properties

auth_type String?
no setterinherited
bank String?
no setterinherited
bank_details RazorpayBankAccount?
no setterinherited
billing_address RazorpayInvoiceAddress?
no setterinherited
card RazorpayCard?
no setterinherited
compliant_with_tokenisation_guidelines bool?
no setterinherited
copyWith → $RazorpayTokenCopyWith<RazorpayToken>
Create a copy of RazorpayToken with the given fields replaced by the non-null parameter values.
no setterinherited
customer RazorpayCustomer?
no setterinherited
customer_id String?
no setterinherited
entity String
no setterinherited
error_code String?
no setterinherited
error_description String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
internal_error_code String?
no setterinherited
max_amount int?
no setterinherited
method String
no setterinherited
mrn String?
no setterinherited
notes IMap?
no setterinherited
recurring_details TokenRecurringDetails
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
no setterinherited
status TokenStatus?
no setterinherited
token String
no setterinherited
vpa TokenVpaDetails?
no setterinherited
wallet String?
no setterinherited

Methods

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

Operators

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