class ApplePayInsertRequest {
  String clientRequestID;
  int clinicID;
  String currency;
  String customerEmail;
  dynamic customerID;
  String customerName;
  String deviceToken;
  String voipToken;
  int doctorID;
  String projectID;
  String serviceID;
  int channelID;
  dynamic patientID;
  int patientTypeID;
  int patientOutSA;
  dynamic appointmentDate;
  int appointmentNo;
  String orderDescription;
  String liveServiceID;
  String latitude;
  String longitude;
  String amount;
  String isSchedule;
  String language;
  int userName;
  String responseContinueURL;
  String backClickUrl;
  String paymentOption;
  double versionID;
  int channel;
  int languageID;
  String iPAdress;
  String generalid;
  String sessionID;
  bool isDentalAllowedBackend;
  int deviceTypeID;

  ApplePayInsertRequest(
      {this.clientRequestID,
        this.clinicID,
        this.currency,
        this.customerEmail,
        this.customerID,
        this.customerName,
        this.deviceToken,
        this.voipToken,
        this.doctorID,
        this.projectID,
        this.serviceID,
        this.channelID,
        this.patientID,
        this.patientTypeID,
        this.patientOutSA,
        this.appointmentDate,
        this.appointmentNo,
        this.orderDescription,
        this.liveServiceID,
        this.latitude,
        this.longitude,
        this.amount,
        this.isSchedule,
        this.language,
        this.userName,
        this.responseContinueURL,
        this.backClickUrl,
        this.paymentOption,
        this.versionID,
        this.channel,
        this.languageID,
        this.iPAdress,
        this.generalid,
        this.sessionID,
        this.isDentalAllowedBackend,
        this.deviceTypeID});

  ApplePayInsertRequest.fromJson(Map<String, dynamic> json) {
    clientRequestID = json['ClientRequestID'];
    clinicID = json['ClinicID'];
    currency = json['Currency'];
    customerEmail = json['CustomerEmail'];
    customerID = json['CustomerID'];
    customerName = json['CustomerName'];
    deviceToken = json['DeviceToken'];
    voipToken = json['VoipToken'];
    doctorID = json['DoctorID'];
    projectID = json['ProjectID'];
    serviceID = json['Service_ID'];
    channelID = json['Channel_ID'];
    patientID = json['PatientID'];
    patientTypeID = json['PatientTypeID'];
    patientOutSA = json['PatientOutSA'];
    appointmentDate = json['AppointmentDate'];
    appointmentNo = json['AppointmentNo'];
    orderDescription = json['OrderDescription'];
    liveServiceID = json['Live_ServiceID'];
    latitude = json['Latitude'];
    longitude = json['Longitude'];
    amount = json['Amount'];
    isSchedule = json['IsSchedule'];
    language = json['Language'];
    userName = json['userName'];
    responseContinueURL = json['ResponseContinueURL'];
    backClickUrl = json['BackClickUrl'];
    paymentOption = json['PaymentOption'];
    versionID = json['VersionID'];
    channel = json['Channel'];
    languageID = json['LanguageID'];
    iPAdress = json['IPAdress'];
    generalid = json['generalid'];
    sessionID = json['SessionID'];
    isDentalAllowedBackend = json['isDentalAllowedBackend'];
    deviceTypeID = json['DeviceTypeID'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ClientRequestID'] = this.clientRequestID;
    data['ClinicID'] = this.clinicID;
    data['Currency'] = this.currency;
    data['CustomerEmail'] = this.customerEmail;
    data['CustomerID'] = this.customerID;
    data['CustomerName'] = this.customerName;
    data['DeviceToken'] = this.deviceToken;
    data['VoipToken'] = this.voipToken;
    data['DoctorID'] = this.doctorID;
    data['ProjectID'] = this.projectID;
    data['Service_ID'] = this.serviceID;
    data['Channel_ID'] = this.channelID;
    data['PatientID'] = this.patientID;
    data['PatientTypeID'] = this.patientTypeID;
    data['PatientOutSA'] = this.patientOutSA;
    data['AppointmentDate'] = this.appointmentDate;
    data['AppointmentNo'] = this.appointmentNo;
    data['OrderDescription'] = this.orderDescription;
    data['Live_ServiceID'] = this.liveServiceID;
    data['Latitude'] = this.latitude;
    data['Longitude'] = this.longitude;
    data['Amount'] = this.amount;
    data['IsSchedule'] = this.isSchedule;
    data['Language'] = this.language;
    data['userName'] = this.userName;
    data['ResponseContinueURL'] = this.responseContinueURL;
    data['BackClickUrl'] = this.backClickUrl;
    data['PaymentOption'] = this.paymentOption;
    data['VersionID'] = this.versionID;
    data['Channel'] = this.channel;
    data['LanguageID'] = this.languageID;
    data['IPAdress'] = this.iPAdress;
    data['generalid'] = this.generalid;
    data['SessionID'] = this.sessionID;
    data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
    data['DeviceTypeID'] = this.deviceTypeID;
    return data;
  }
}
