RazorpayAuthorizationOrderCreateRequestBody class abstract

Annotations
  • @freezed

Constructors

RazorpayAuthorizationOrderCreateRequestBody.new({required dynamic amount, required String currency, required String customer_id, required dynamic token, String? method, IMap? notes, 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, bool? payment_capture})
const
factory
RazorpayAuthorizationOrderCreateRequestBody.fromJson(Map<String, dynamic> json)
factory

Properties

amount → dynamic
no setterinherited
cod_fee int?
no setterinherited
copyWith → $RazorpayAuthorizationOrderCreateRequestBodyCopyWith<RazorpayAuthorizationOrderCreateRequestBody>
Create a copy of RazorpayAuthorizationOrderCreateRequestBody with the given fields replaced by the non-null parameter values.
no setterinherited
currency String
no setterinherited
customer_details CustomerDetails?
no setterinherited
customer_id String
no setterinherited
device_details DeviceDetails?
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
payment RazorpayCapturePayment?
no setterinherited
payment_capture bool?
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
token → dynamic
no setterinherited

Methods

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

Operators

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