Files
sendico/frontend/pshared/lib/api/requests/payment/base.dart
2025-12-11 01:13:13 +01:00

20 lines
461 B
Dart

import 'package:json_annotation/json_annotation.dart';
part 'base.g.dart';
@JsonSerializable()
class PaymentBaseRequest {
final String idempotencyKey;
final Map<String, String>? metadata;
const PaymentBaseRequest({
required this.idempotencyKey,
this.metadata,
});
factory PaymentBaseRequest.fromJson(Map<String, dynamic> json) => _$PaymentBaseRequestFromJson(json);
Map<String, dynamic> toJson() => _$PaymentBaseRequestToJson(this);
}