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


class CardPaymentMethod implements PaymentMethodData {
  @override
  final PaymentType type = PaymentType.card;
  final String pan;
  final String firstName;
  final String lastName;
  final int? expMonth;
  final int? expYear;
  final String? country;
  @override
  final Map<String, String>? metadata;

  const CardPaymentMethod({
    required this.pan,
    required this.expMonth,
    required this.expYear,
    required this.firstName,
    required this.lastName,
    this.country,
    this.metadata,
  });
}
