RazorpayOrder class abstract

Annotations
  • @freezed

Constructors

RazorpayOrder.new({required String id, required String entity, required dynamic amount, required int amount_paid, required int amount_due, required String currency, required String status, required int created_at, String? offer_id, String? method, RazorpayOrderBankDetailsCreateRequestBody? bank_account, IMap? notes, bool? partial_payment, int? first_payment_min_amount, String? description, RazorpayAuthorizationToken? token, Map<String, String>? payments, Map<String, String>? offers, List<RazorpayTransfer>? transfers, bool? rto_review, List<LineItems>? line_items, dynamic line_items_total, int? shipping_fee, int? cod_fee, CustomerDetails? customer_details, List<Promotion>? promotions, DeviceDetails? device_details, String? phonepe_switch_context})
const
factory
RazorpayOrder.fromJson(Map<String, dynamic> json)
factory

Properties

amount → dynamic
no setterinherited
amount_due int
no setterinherited
amount_paid int
no setterinherited
bank_account RazorpayOrderBankDetailsCreateRequestBody?
no setterinherited
cod_fee int?
no setterinherited
copyWith → $RazorpayOrderCopyWith<RazorpayOrder>
Create a copy of RazorpayOrder with the given fields replaced by the non-null parameter values.
no setterinherited
created_at int
no setterinherited
currency String
no setterinherited
customer_details CustomerDetails?
no setterinherited
description String?
no setterinherited
device_details DeviceDetails?
no setterinherited
entity String
no setterinherited
first_payment_min_amount int?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
line_items List<LineItems>?
no setterinherited
line_items_total → dynamic
no setterinherited
method String?
no setterinherited
notes IMap?
no setterinherited
offer_id String?
no setterinherited
offers Map<String, String>?
no setterinherited
partial_payment bool?
no setterinherited
payments Map<String, String>?
no setterinherited
phonepe_switch_context String?
no setterinherited
promotions List<Promotion>?
no setterinherited
rto_review bool?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shipping_fee int?
no setterinherited
status String
no setterinherited
token RazorpayAuthorizationToken?
no setterinherited
transfers List<RazorpayTransfer>?
no setterinherited

Methods

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

Operators

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