Files
sendico/frontend/pshared/lib/api/requests/payment/initiate_payments.dart
2026-02-26 22:20:54 +01:00

21 lines
579 B
Dart

import 'package:json_annotation/json_annotation.dart';
import 'package:pshared/api/requests/payment/base.dart';
part 'initiate_payments.g.dart';
@JsonSerializable()
class InitiatePaymentsRequest extends PaymentBaseRequest {
final String quoteRef;
const InitiatePaymentsRequest({
required super.idempotencyKey,
super.metadata,
required this.quoteRef,
});
factory InitiatePaymentsRequest.fromJson(Map<String, dynamic> json) => _$InitiatePaymentsRequestFromJson(json);
@override
Map<String, dynamic> toJson() => _$InitiatePaymentsRequestToJson(this);
}