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

@@ -6,7 +6,6 @@ import 'package:pshared/data/dto/ledger/type.dart';
part 'create.g.dart';
@JsonSerializable()
class CreateLedgerAccountRequest {
final Map<String, String>? metadata;
@@ -27,7 +26,7 @@ class CreateLedgerAccountRequest {
this.ownerRef,
});
factory CreateLedgerAccountRequest.fromJson(Map<String, dynamic> json) => _$CreateLedgerAccountRequestFromJson(json);
factory CreateLedgerAccountRequest.fromJson(Map<String, dynamic> json) =>
_$CreateLedgerAccountRequestFromJson(json);
Map<String, dynamic> toJson() => _$CreateLedgerAccountRequestToJson(this);
}