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


class CardTokenPaymentMethod implements PaymentMethodData {
  @override
  final PaymentType type = PaymentType.cardToken;
  final String token;
  final String maskedPan;
  @override
  final Map<String, String>? metadata;

  const CardTokenPaymentMethod({
    required this.token,
    required this.maskedPan,
    this.metadata,
  });
}
