PayRequest.fromJson constructor
Implementation
factory PayRequest.fromJson(Map<String, Object?> json) => PayRequest(
paymentMethodData: json["payment_method_data"] == null
? null
: inttegro_payment_method.DataInput.fromJson(
(json["payment_method_data"] as Map).cast<String, Object?>(),
),
paymentMethodId: json["payment_method_id"] == null
? null
: json["payment_method_id"] as String,
paidOutOfBand: json["paid_out_of_band"] == null
? null
: json["paid_out_of_band"] as bool,
orderId: json["order_id"] as String,
);