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);
}
