class EROnlineCheckInPaymentDetailsResponse {
  num? cashPrice;
  num? cashPriceTax;
  num? cashPriceWithTax;
  int? companyId;
  String? companyName;
  num? companyShareWithTax;
  dynamic errCode;
  int? groupID;
  String? insurancePolicyNo;
  String? message;
  String? patientCardID;
  num? patientShare;
  num? patientShareWithTax;
  num? patientTaxAmount;
  int? policyId;
  String? policyName;
  String? procedureId;
  String? procedureName;
  dynamic setupID;
  int? statusCode;
  String? subPolicyNo;
  bool? isCash;
  bool? isEligible;
  bool? isInsured;

  EROnlineCheckInPaymentDetailsResponse(
      {this.cashPrice,
      this.cashPriceTax,
      this.cashPriceWithTax,
      this.companyId,
      this.companyName,
      this.companyShareWithTax,
      this.errCode,
      this.groupID,
      this.insurancePolicyNo,
      this.message,
      this.patientCardID,
      this.patientShare,
      this.patientShareWithTax,
      this.patientTaxAmount,
      this.policyId,
      this.policyName,
      this.procedureId,
      this.procedureName,
      this.setupID,
      this.statusCode,
      this.subPolicyNo,
      this.isCash,
      this.isEligible,
      this.isInsured});

  EROnlineCheckInPaymentDetailsResponse.fromJson(Map<String, dynamic> json) {
    cashPrice = json['CashPrice'];
    cashPriceTax = json['CashPriceTax'];
    cashPriceWithTax = json['CashPriceWithTax'];
    companyId = json['CompanyId'];
    companyName = json['CompanyName'];
    companyShareWithTax = json['CompanyShareWithTax'];
    errCode = json['ErrCode'];
    groupID = json['GroupID'];
    insurancePolicyNo = json['InsurancePolicyNo'];
    message = json['Message'];
    patientCardID = json['PatientCardID'];
    patientShare = json['PatientShare'];
    patientShareWithTax = json['PatientShareWithTax'];
    patientTaxAmount = json['PatientTaxAmount'];
    policyId = json['PolicyId'];
    policyName = json['PolicyName'];
    procedureId = json['ProcedureId'];
    procedureName = json['ProcedureName'];
    setupID = json['SetupID'];
    statusCode = json['StatusCode'];
    subPolicyNo = json['SubPolicyNo'];
    isCash = json['IsCash'];
    isEligible = json['IsEligible'];
    isInsured = json['IsInsured'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['CashPrice'] = this.cashPrice;
    data['CashPriceTax'] = this.cashPriceTax;
    data['CashPriceWithTax'] = this.cashPriceWithTax;
    data['CompanyId'] = this.companyId;
    data['CompanyName'] = this.companyName;
    data['CompanyShareWithTax'] = this.companyShareWithTax;
    data['ErrCode'] = this.errCode;
    data['GroupID'] = this.groupID;
    data['InsurancePolicyNo'] = this.insurancePolicyNo;
    data['Message'] = this.message;
    data['PatientCardID'] = this.patientCardID;
    data['PatientShare'] = this.patientShare;
    data['PatientShareWithTax'] = this.patientShareWithTax;
    data['PatientTaxAmount'] = this.patientTaxAmount;
    data['PolicyId'] = this.policyId;
    data['PolicyName'] = this.policyName;
    data['ProcedureId'] = this.procedureId;
    data['ProcedureName'] = this.procedureName;
    data['SetupID'] = this.setupID;
    data['StatusCode'] = this.statusCode;
    data['SubPolicyNo'] = this.subPolicyNo;
    data['IsCash'] = this.isCash;
    data['IsEligible'] = this.isEligible;
    data['IsInsured'] = this.isInsured;
    return data;
  }
}
