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
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:
13
frontend/pshared/lib/data/mapper/payment/wallet.dart
Normal file
13
frontend/pshared/lib/data/mapper/payment/wallet.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
import 'package:pshared/data/dto/payment/wallet.dart';
|
||||
import 'package:pshared/models/payment/methods/wallet.dart';
|
||||
|
||||
|
||||
extension WalletPaymentMethodMapper on WalletPaymentMethod {
|
||||
WalletPaymentDataDTO toDTO() => WalletPaymentDataDTO(
|
||||
walletId: walletId,
|
||||
);
|
||||
}
|
||||
|
||||
extension WalletPaymentDataDTOMapper on WalletPaymentDataDTO {
|
||||
WalletPaymentMethod toDomain() => WalletPaymentMethod(walletId: walletId);
|
||||
}
|
||||
Reference in New Issue
Block a user