added ledger as souec of funds for payouts

This commit is contained in:
Arseni
2026-03-03 21:03:30 +03:00
parent 3f578353da
commit 51c72a87ae
29 changed files with 796 additions and 385 deletions

View File

@@ -8,7 +8,9 @@ import 'package:pshared/models/payment/settlement_mode.dart';
class PaymentIntent {
final PaymentKind kind;
final String? sourceRef;
final PaymentMethodData? source;
final String? destinationRef;
final PaymentMethodData? destination;
final Money? amount;
final FxIntent? fx;
@@ -19,7 +21,9 @@ class PaymentIntent {
const PaymentIntent({
this.kind = PaymentKind.unspecified,
this.sourceRef,
this.source,
this.destinationRef,
this.destination,
this.amount,
this.fx,

View File

@@ -0,0 +1 @@
enum PaymentSourceType { wallet, ledger }