import 'dart:convert';

class Covid19GetPaymentInfo {
  dynamic propertyChanged;
  int? cashPriceField;
  int? cashPriceTaxField;
  int? cashPriceWithTaxField;
  int? companyIdField;
  String? companyNameField;
  int? companyShareWithTaxField;
  dynamic errCodeField;
  int? groupIdField;
  dynamic insurancePolicyNoField;
  String? messageField;
  dynamic patientCardIdField;
  int? patientShareField;
  double? patientShareWithTaxField;
  double? patientTaxAmountField;
  int? policyIdField;
  dynamic policyNameField;
  dynamic procedureIdField;
  String? procedureNameField;
  dynamic setupIdField;
  int? statusCodeField;
  dynamic subPolicyNoField;

  Covid19GetPaymentInfo({
    this.propertyChanged,
    this.cashPriceField,
    this.cashPriceTaxField,
    this.cashPriceWithTaxField,
    this.companyIdField,
    this.companyNameField,
    this.companyShareWithTaxField,
    this.errCodeField,
    this.groupIdField,
    this.insurancePolicyNoField,
    this.messageField,
    this.patientCardIdField,
    this.patientShareField,
    this.patientShareWithTaxField,
    this.patientTaxAmountField,
    this.policyIdField,
    this.policyNameField,
    this.procedureIdField,
    this.procedureNameField,
    this.setupIdField,
    this.statusCodeField,
    this.subPolicyNoField,
  });

  factory Covid19GetPaymentInfo.fromRawJson(String str) => Covid19GetPaymentInfo.fromJson(json.decode(str));

  String toRawJson() => json.encode(toJson());

  factory Covid19GetPaymentInfo.fromJson(Map<String, dynamic> json) => Covid19GetPaymentInfo(
    propertyChanged: json["PropertyChanged"],
    cashPriceField: json["cashPriceField"],
    cashPriceTaxField: json["cashPriceTaxField"],
    cashPriceWithTaxField: json["cashPriceWithTaxField"],
    companyIdField: json["companyIdField"],
    companyNameField: json["companyNameField"],
    companyShareWithTaxField: json["companyShareWithTaxField"],
    errCodeField: json["errCodeField"],
    groupIdField: json["groupIDField"],
    insurancePolicyNoField: json["insurancePolicyNoField"],
    messageField: json["messageField"],
    patientCardIdField: json["patientCardIDField"],
    patientShareField: json["patientShareField"],
    patientShareWithTaxField: json["patientShareWithTaxField"]?.toDouble(),
    patientTaxAmountField: json["patientTaxAmountField"]?.toDouble(),
    policyIdField: json["policyIdField"],
    policyNameField: json["policyNameField"],
    procedureIdField: json["procedureIdField"],
    procedureNameField: json["procedureNameField"],
    setupIdField: json["setupIDField"],
    statusCodeField: json["statusCodeField"],
    subPolicyNoField: json["subPolicyNoField"],
  );

  Map<String, dynamic> toJson() => {
    "PropertyChanged": propertyChanged,
    "cashPriceField": cashPriceField,
    "cashPriceTaxField": cashPriceTaxField,
    "cashPriceWithTaxField": cashPriceWithTaxField,
    "companyIdField": companyIdField,
    "companyNameField": companyNameField,
    "companyShareWithTaxField": companyShareWithTaxField,
    "errCodeField": errCodeField,
    "groupIDField": groupIdField,
    "insurancePolicyNoField": insurancePolicyNoField,
    "messageField": messageField,
    "patientCardIDField": patientCardIdField,
    "patientShareField": patientShareField,
    "patientShareWithTaxField": patientShareWithTaxField,
    "patientTaxAmountField": patientTaxAmountField,
    "policyIdField": policyIdField,
    "policyNameField": policyNameField,
    "procedureIdField": procedureIdField,
    "procedureNameField": procedureNameField,
    "setupIDField": setupIdField,
    "statusCodeField": statusCodeField,
    "subPolicyNoField": subPolicyNoField,
  };
}
