class PayfortResponseInsertModel {
  String? fortId;
  String? commandType;
  num? amount;
  String? sadadOLP;
  String? paymentOption;
  String? customerIP;
  String? eCI;
  String? responseMessage;
  String? cardNumber;
  String? cardBin;
  int? installmentsNumber;
  String? status;
  String? merchantRef;
  bool? isRefund;
  bool? remmeberMe;
  String? reconciliationReference;

  PayfortResponseInsertModel({
    this.fortId,
    this.commandType,
    this.amount,
    this.sadadOLP,
    this.paymentOption,
    this.customerIP,
    this.eCI,
    this.responseMessage,
    this.cardNumber,
    this.cardBin,
    this.installmentsNumber,
    this.status,
    this.merchantRef,
    this.isRefund,
    this.remmeberMe,
    this.reconciliationReference,
  });

  PayfortResponseInsertModel.fromJson(Map<String, dynamic> json) {
    fortId = json['Fort_id'];
    commandType = json['CommandType'];
    amount = json['Amount'];
    sadadOLP = json['Sadad_OLP'];
    paymentOption = json['Payment_Option'];
    customerIP = json['Customer_IP'];
    eCI = json['ECI'];
    responseMessage = json['Response_Message'];
    cardNumber = json['Card_Number'];
    cardBin = json['Card_Bin'];
    installmentsNumber = json['Installments_Number'];
    status = json['Status'];
    merchantRef = json['Merchant_Ref'];
    isRefund = json['IsRefund'];
    remmeberMe = json['RemmeberMe'];
    reconciliationReference = json['Reconciliation_Reference'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = Map<String, dynamic>();
    data['Fort_id'] = this.fortId;
    data['CommandType'] = this.commandType;
    data['Amount'] = this.amount;
    data['Sadad_OLP'] = this.sadadOLP;
    data['Payment_Option'] = this.paymentOption;
    data['Customer_IP'] = this.customerIP;
    data['ECI'] = this.eCI;
    data['Response_Message'] = this.responseMessage;
    data['Card_Number'] = this.cardNumber;
    data['Card_Bin'] = this.cardBin;
    data['Installments_Number'] = this.installmentsNumber;
    data['Status'] = this.status;
    data['Merchant_Ref'] = this.merchantRef;
    data['IsRefund'] = this.isRefund;
    data['RemmeberMe'] = this.remmeberMe;
    data['Reconciliation_Reference'] = this.reconciliationReference;
    return data;
  }
}
