RazorpayPayment class abstract

Annotations
  • @freezed

Constructors

RazorpayPayment.new({required String id, required String entity, required dynamic amount, required String currency, required PaymentStatus status, required String order_id, required bool international, required String method, required int created_at, required int amount_refunded, required int fee, required int tax, RefundStatus? refund_status, String? description, String? card_id, String? bank, String? wallet, String? vpa, IMap<String>? notes, String? error_code, String? error_description, String? error_source, String? error_step, String? error_reason, RazorpayCard? card, PaymentEmi? emi, PaymentOffers? offers, String? token_id, RazorpayToken? token})
const
factory
RazorpayPayment.fromJson(Map<String, dynamic> json)
factory

Properties

amount → dynamic
no setterinherited
amount_refunded int
no setterinherited
bank String?
no setterinherited
card RazorpayCard?
no setterinherited
card_id String?
no setterinherited
copyWith → $RazorpayPaymentCopyWith<RazorpayPayment>
Create a copy of RazorpayPayment with the given fields replaced by the non-null parameter values.
no setterinherited
created_at int
no setterinherited
currency String
no setterinherited
description String?
no setterinherited
emi PaymentEmi?
no setterinherited
entity String
no setterinherited
error_code String?
no setterinherited
error_description String?
no setterinherited
error_reason String?
no setterinherited
error_source String?
no setterinherited
error_step String?
no setterinherited
fee int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
international bool
no setterinherited
method String
no setterinherited
notes IMap<String>?
no setterinherited
offers PaymentOffers?
no setterinherited
order_id String
no setterinherited
refund_status RefundStatus?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status PaymentStatus
no setterinherited
tax int
no setterinherited
token RazorpayToken?
no setterinherited
token_id String?
no setterinherited
vpa String?
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 RazorpayPayment to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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