49 lines
1.3 KiB
Dart
49 lines
1.3 KiB
Dart
// import 'package:pshared/models/payment/methods/type.dart';
|
||
|
||
// import 'package:pshared/models/payment/type.dart';
|
||
|
||
|
||
// abstract class PaymentMethodsService {
|
||
// Future<List<PaymentMethod>> fetchMethods();
|
||
// }
|
||
|
||
// class MockPaymentMethodsService implements PaymentMethodsService {
|
||
// @override
|
||
// Future<List<PaymentMethod>> fetchMethods() async {
|
||
// await Future.delayed(const Duration(milliseconds: 200));
|
||
// return [
|
||
// PaymentMethod(
|
||
// id: '1',
|
||
// label: 'My account',
|
||
// details: '•••4567',
|
||
// type: PaymentType.bankAccount,
|
||
// isMain: true,
|
||
// ),
|
||
// PaymentMethod(
|
||
// id: '2',
|
||
// label: 'Euro IBAN',
|
||
// details: 'DE•• •••8901',
|
||
// type: PaymentType.iban,
|
||
// ),
|
||
// PaymentMethod(
|
||
// id: '3',
|
||
// label: 'Wallet',
|
||
// details: 'WA‑12345667',
|
||
// type: PaymentType.wallet,
|
||
// ),
|
||
// PaymentMethod(
|
||
// id: '4',
|
||
// label: 'Wallet',
|
||
// details: 'WA-76654321',
|
||
// type: PaymentType.wallet,
|
||
// ),
|
||
// PaymentMethod(
|
||
// id: '5',
|
||
// label: 'Credit Card',
|
||
// details: '21•• •••• •••• 8901',
|
||
// type: PaymentType.card,
|
||
// ),
|
||
// ];
|
||
// }
|
||
// }
|