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


class OperationItem {
  final OperationStatus status;
  final String? fileName;
  final double amount;
  final String currency;
  final double toAmount;
  final String toCurrency;
  final String payId;
  final String? paymentRef;
  final String? operationRef;
  final String? gatewayService;
  final String? cardNumber;
  final PaymentMethod? paymentMethod;
  final String name;
  final DateTime date;
  // final String comment;

  OperationItem({
    required this.status,
    this.fileName,
    required this.amount,
    required this.currency,
    required this.toAmount,
    required this.toCurrency,
    required this.payId,
    this.paymentRef,
    this.operationRef,
    this.gatewayService,
    this.cardNumber,
    this.paymentMethod,
    required this.name,
    required this.date,
    // required this.comment,
  });
}
