+source +destination in payments

This commit is contained in:
Stephan D
2026-03-10 19:15:20 +01:00
parent 9c2b3bf8bd
commit e5b4de5d48
16 changed files with 716 additions and 56 deletions

View File

@@ -1,11 +1,13 @@
import 'package:pshared/models/payment/endpoint.dart';
import 'package:pshared/models/payment/execution_operation.dart';
import 'package:pshared/models/payment/quote/quote.dart';
import 'package:pshared/models/payment/state.dart';
class Payment {
final String? paymentRef;
final String? idempotencyKey;
final String? state;
final PaymentEndpoint? source;
final PaymentEndpoint? destination;
final PaymentOrchestrationState orchestrationState;
final String? failureCode;
final String? failureReason;
@@ -16,8 +18,9 @@ class Payment {
const Payment({
required this.paymentRef,
required this.idempotencyKey,
required this.state,
required this.source,
required this.destination,
required this.orchestrationState,
required this.failureCode,
required this.failureReason,