import 'package:pshared/models/payment/methods/data.dart';
import 'package:pshared/models/payment/type.dart';


class IbanPaymentMethod implements PaymentMethodData {
  @override
  final PaymentType type = PaymentType.iban;

  final String iban;             // e.g. DE89 3704 0044 0532 0130 00
  final String accountHolder;   // Full name of the recipient
  final String? bic;            // Optional: for cross-border transfers
  final String? bankName;       // Optional: for UI clarity
  @override
  final Map<String, String>? metadata;

  const IbanPaymentMethod({
    required this.iban,
    required this.accountHolder,
    this.bic,
    this.bankName,
    this.metadata,
  });
}
