restucturization of recipients payment methods
All checks were successful
ci/woodpecker/push/billing_fees Pipeline was successful
ci/woodpecker/push/bff Pipeline was successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/chain_gateway Pipeline was successful
ci/woodpecker/push/fx_ingestor Pipeline was successful
ci/woodpecker/push/fx_oracle Pipeline was successful
ci/woodpecker/push/frontend Pipeline was successful
ci/woodpecker/push/nats Pipeline was successful
ci/woodpecker/push/ledger Pipeline was successful
ci/woodpecker/push/notification Pipeline was successful
ci/woodpecker/push/payments_orchestrator Pipeline was successful

This commit is contained in:
Stephan D
2025-12-04 14:40:21 +01:00
parent 3b04753f4e
commit bf85ca062c
120 changed files with 1415 additions and 538 deletions

View File

@@ -0,0 +1,21 @@
import 'package:pshared/data/dto/payment/iban.dart';
import 'package:pshared/models/payment/methods/iban.dart';
extension IbanPaymentMethodMapper on IbanPaymentMethod {
IbanPaymentDataDTO toDTO() => IbanPaymentDataDTO(
iban: iban,
accountHolder: accountHolder,
bic: bic,
bankName: bankName,
);
}
extension IbanPaymentDataDTOMapper on IbanPaymentDataDTO {
IbanPaymentMethod toDomain() => IbanPaymentMethod(
iban: iban,
accountHolder: accountHolder,
bic: bic,
bankName: bankName,
);
}