RazorpayOrderBaseRequestBody class abstract

Annotations
  • @freezed

Constructors

RazorpayOrderBaseRequestBody.new({required dynamic amount, required String currency, String? receipt, String? offer_id, String? method, RazorpayOrderBankDetailsCreateRequestBody? bank_account, IMap? notes, bool? partial_payment, int? first_payment_min_amount, RazorpayCapturePayment? payment, 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
RazorpayOrderBaseRequestBody.fromJson(Map<String, dynamic> json)
factory

Properties

amount → dynamic
no setterinherited
bank_account RazorpayOrderBankDetailsCreateRequestBody?
no setterinherited
cod_fee int?
no setterinherited
copyWith → $RazorpayOrderBaseRequestBodyCopyWith<RazorpayOrderBaseRequestBody>
Create a copy of RazorpayOrderBaseRequestBody with the given fields replaced by the non-null parameter values.
no setterinherited
currency String
no setterinherited
customer_details CustomerDetails?
no setterinherited
device_details DeviceDetails?
no setterinherited
first_payment_min_amount int?
no setterinherited
hashCode int
The hash code for this object.
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
partial_payment bool?
no setterinherited
payment RazorpayCapturePayment?
no setterinherited
phonepe_switch_context String?
no setterinherited
promotions List<Promotion>?
no setterinherited
receipt String?
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

Methods

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

Operators

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