Untitled

 avatar
faisalsalameh
dart
7 months ago
14 kB
2
Indexable
Never
class Dispatcher {
  int? rid;
  int? merchantRid;
  String? merchantName;
  String? tenantIdName;
  String? deliveryMerchantId;
  String? apiAccessKey;
  String? name;
  String? tenantStatus;
  String? tenantType;
  String? paymentReportType;
  String? generalEmail;
  String? generalPhoneNumber;
  bool? postOfficeIntegration;
  String? hospitalUsername;
  String? hospitalPassword;
  String? pharmacyUsername;
  String? pharmacyPassword;
  String? hospitalLastChecked;
  String? pharmacyLastChecked;
  bool? hasHospitalPassword;
  bool? hasPharmacyPassword;
  String? addressLocation;
  String? addressLine;
  String? addressLabel;
  String? directions;
  double? longitude;
  double? latitude;
  bool? defaultHakeemTenant;
  bool? sendFirstMsg;
  bool? allowHakeemPackaging;
  bool? allowHakeemDispense;
  bool? isActive;
  bool? allowItemsDeletion;
  bool? separatePayment;
  int? providerDeliveryCharge;
  int? consumerDeliveryCharge;
  int? paymentProcessingFees;
  int? hakeemCutCash;
  int? hakeemCutInsurance;
  int? hakeemCutBiologic;
  int? hakeemChargesCod;
  double? hakeemChargesCredit;
  int? paymentUponDeliveryFees;
  String? tenantImg;
  String? tenantImgPath;
  String? tenantGroup;
  int? tenantSavingErx;
  String? businessType;
  String? licenseNumber;
  String? businessBrandSector;
  String? contactPersonName;
  String? contactPersonPhone;
  String? contactPersonEmail;
  String? defaultCurrency;
  String? state;
  String? country;
  String? iban;
  String? tenantPricingTemplateList;
  String? tenantDeliveryTeamList;
  bool? isMaster;
  String? postOffice;
  String? deliveryOption;
  String? allowPatientPickUp;
  String? license;
  String? defaultInquiryUrl;
  bool? allowErxApproval;
  bool? allowErxDownload;
  bool? automationEnabled;
  bool? omnyRxEnabled;
  String? activeCredsOption;
  String? createdOn;
  bool? allowWhatsAppNotification;
  bool? allowSmsNotification;
  String? logo;
  String? logoObject;
  String? pharmacyClaimsSavedTo;
  String? pharmacyRemittanceSavedTo;
  bool? pharmacyClaimsIntegration;
  String? overviewDashboard;
  String? zeinxDashboard;
  bool? zeinxEnabled;
  String? logoApiLink;
  bool? hasReferralPartner;
  String? referralPartnerRid;
  String? referralPartner;
  String? locationCity;
  String? locationArea;
  bool? saveHakeemRelatedOnly;
  bool? retailEnabled;
  bool? retailLiveForCustomers;
  String? bannersList;
  String? categoriesList;

  Dispatcher(
      {this.rid,
      this.merchantRid,
      this.merchantName,
      this.tenantIdName,
      this.deliveryMerchantId,
      this.apiAccessKey,
      this.name,
      this.tenantStatus,
      this.tenantType,
      this.paymentReportType,
      this.generalEmail,
      this.generalPhoneNumber,
      this.postOfficeIntegration,
      this.hospitalUsername,
      this.hospitalPassword,
      this.pharmacyUsername,
      this.pharmacyPassword,
      this.hospitalLastChecked,
      this.pharmacyLastChecked,
      this.hasHospitalPassword,
      this.hasPharmacyPassword,
      this.addressLocation,
      this.addressLine,
      this.addressLabel,
      this.directions,
      this.longitude,
      this.latitude,
      this.defaultHakeemTenant,
      this.sendFirstMsg,
      this.allowHakeemPackaging,
      this.allowHakeemDispense,
      this.isActive,
      this.allowItemsDeletion,
      this.separatePayment,
      this.providerDeliveryCharge,
      this.consumerDeliveryCharge,
      this.paymentProcessingFees,
      this.hakeemCutCash,
      this.hakeemCutInsurance,
      this.hakeemCutBiologic,
      this.hakeemChargesCod,
      this.hakeemChargesCredit,
      this.paymentUponDeliveryFees,
      this.tenantImg,
      this.tenantImgPath,
      this.tenantGroup,
      this.tenantSavingErx,
      this.businessType,
      this.licenseNumber,
      this.businessBrandSector,
      this.contactPersonName,
      this.contactPersonPhone,
      this.contactPersonEmail,
      this.defaultCurrency,
      this.state,
      this.country,
      this.iban,
      this.tenantPricingTemplateList,
      this.tenantDeliveryTeamList,
      this.isMaster,
      this.postOffice,
      this.deliveryOption,
      this.allowPatientPickUp,
      this.license,
      this.defaultInquiryUrl,
      this.allowErxApproval,
      this.allowErxDownload,
      this.automationEnabled,
      this.omnyRxEnabled,
      this.activeCredsOption,
      this.createdOn,
      this.allowWhatsAppNotification,
      this.allowSmsNotification,
      this.logo,
      this.logoObject,
      this.pharmacyClaimsSavedTo,
      this.pharmacyRemittanceSavedTo,
      this.pharmacyClaimsIntegration,
      this.overviewDashboard,
      this.zeinxDashboard,
      this.zeinxEnabled,
      this.logoApiLink,
      this.hasReferralPartner,
      this.referralPartnerRid,
      this.referralPartner,
      this.locationCity,
      this.locationArea,
      this.saveHakeemRelatedOnly,
      this.retailEnabled,
      this.retailLiveForCustomers,
      this.bannersList,
      this.categoriesList});

  Dispatcher.fromJson(Map<String, dynamic> json) {
    rid = json['rid'];
    merchantRid = json['merchantRid'];
    merchantName = json['merchantName'];
    tenantIdName = json['tenantIdName'];
    deliveryMerchantId = json['deliveryMerchantId'];
    apiAccessKey = json['apiAccessKey'];
    name = json['name'];
    tenantStatus = json['tenantStatus'];
    tenantType = json['tenantType'];
    paymentReportType = json['paymentReportType'];
    generalEmail = json['generalEmail'];
    generalPhoneNumber = json['generalPhoneNumber'];
    postOfficeIntegration = json['postOfficeIntegration'];
    hospitalUsername = json['hospitalUsername'];
    hospitalPassword = json['hospitalPassword'];
    pharmacyUsername = json['pharmacyUsername'];
    pharmacyPassword = json['pharmacyPassword'];
    hospitalLastChecked = json['hospitalLastChecked'];
    pharmacyLastChecked = json['pharmacyLastChecked'];
    hasHospitalPassword = json['hasHospitalPassword'];
    hasPharmacyPassword = json['hasPharmacyPassword'];
    addressLocation = json['addressLocation'];
    addressLine = json['addressLine'];
    addressLabel = json['addressLabel'];
    directions = json['directions'];
    longitude = json['longitude'];
    latitude = json['latitude'];
    defaultHakeemTenant = json['defaultHakeemTenant'];
    sendFirstMsg = json['sendFirstMsg'];
    allowHakeemPackaging = json['allowHakeemPackaging'];
    allowHakeemDispense = json['allowHakeemDispense'];
    isActive = json['isActive'];
    allowItemsDeletion = json['allowItemsDeletion'];
    separatePayment = json['separatePayment'];
    providerDeliveryCharge = json['providerDeliveryCharge'];
    consumerDeliveryCharge = json['consumerDeliveryCharge'];
    paymentProcessingFees = json['paymentProcessingFees'];
    hakeemCutCash = json['hakeemCutCash'];
    hakeemCutInsurance = json['hakeemCutInsurance'];
    hakeemCutBiologic = json['hakeemCutBiologic'];
    hakeemChargesCod = json['hakeemChargesCod'];
    hakeemChargesCredit = json['hakeemChargesCredit'];
    paymentUponDeliveryFees = json['paymentUponDeliveryFees'];
    tenantImg = json['tenantImg'];
    tenantImgPath = json['tenantImgPath'];
    tenantGroup = json['tenantGroup'];
    tenantSavingErx = json['tenantSavingErx'];
    businessType = json['businessType'];
    licenseNumber = json['licenseNumber'];
    businessBrandSector = json['businessBrandSector'];
    contactPersonName = json['contactPersonName'];
    contactPersonPhone = json['contactPersonPhone'];
    contactPersonEmail = json['contactPersonEmail'];
    defaultCurrency = json['defaultCurrency'];
    state = json['state'];
    country = json['country'];
    iban = json['iban'];
    tenantPricingTemplateList = json['tenantPricingTemplateList'];
    tenantDeliveryTeamList = json['tenantDeliveryTeamList'];
    isMaster = json['isMaster'];
    postOffice = json['postOffice'];
    deliveryOption = json['deliveryOption'];
    allowPatientPickUp = json['allowPatientPickUp'];
    license = json['license'];
    defaultInquiryUrl = json['defaultInquiryUrl'];
    allowErxApproval = json['allowErxApproval'];
    allowErxDownload = json['allowErxDownload'];
    automationEnabled = json['automationEnabled'];
    omnyRxEnabled = json['omnyRxEnabled'];
    activeCredsOption = json['activeCredsOption'];
    createdOn = json['createdOn'];
    allowWhatsAppNotification = json['allowWhatsAppNotification'];
    allowSmsNotification = json['allowSmsNotification'];
    logo = json['logo'];
    logoObject = json['logoObject'];
    pharmacyClaimsSavedTo = json['pharmacyClaimsSavedTo'];
    pharmacyRemittanceSavedTo = json['pharmacyRemittanceSavedTo'];
    pharmacyClaimsIntegration = json['pharmacyClaimsIntegration'];
    overviewDashboard = json['overviewDashboard'];
    zeinxDashboard = json['zeinxDashboard'];
    zeinxEnabled = json['zeinxEnabled'];
    logoApiLink = json['logoApiLink'];
    hasReferralPartner = json['hasReferralPartner'];
    referralPartnerRid = json['referralPartnerRid'];
    referralPartner = json['referralPartner'];
    locationCity = json['locationCity'];
    locationArea = json['locationArea'];
    saveHakeemRelatedOnly = json['saveHakeemRelatedOnly'];
    retailEnabled = json['retailEnabled'];
    retailLiveForCustomers = json['retailLiveForCustomers'];
    bannersList = json['bannersList'];
    categoriesList = json['categoriesList'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['rid'] = this.rid;
    data['merchantRid'] = this.merchantRid;
    data['merchantName'] = this.merchantName;
    data['tenantIdName'] = this.tenantIdName;
    data['deliveryMerchantId'] = this.deliveryMerchantId;
    data['apiAccessKey'] = this.apiAccessKey;
    data['name'] = this.name;
    data['tenantStatus'] = this.tenantStatus;
    data['tenantType'] = this.tenantType;
    data['paymentReportType'] = this.paymentReportType;
    data['generalEmail'] = this.generalEmail;
    data['generalPhoneNumber'] = this.generalPhoneNumber;
    data['postOfficeIntegration'] = this.postOfficeIntegration;
    data['hospitalUsername'] = this.hospitalUsername;
    data['hospitalPassword'] = this.hospitalPassword;
    data['pharmacyUsername'] = this.pharmacyUsername;
    data['pharmacyPassword'] = this.pharmacyPassword;
    data['hospitalLastChecked'] = this.hospitalLastChecked;
    data['pharmacyLastChecked'] = this.pharmacyLastChecked;
    data['hasHospitalPassword'] = this.hasHospitalPassword;
    data['hasPharmacyPassword'] = this.hasPharmacyPassword;
    data['addressLocation'] = this.addressLocation;
    data['addressLine'] = this.addressLine;
    data['addressLabel'] = this.addressLabel;
    data['directions'] = this.directions;
    data['longitude'] = this.longitude;
    data['latitude'] = this.latitude;
    data['defaultHakeemTenant'] = this.defaultHakeemTenant;
    data['sendFirstMsg'] = this.sendFirstMsg;
    data['allowHakeemPackaging'] = this.allowHakeemPackaging;
    data['allowHakeemDispense'] = this.allowHakeemDispense;
    data['isActive'] = this.isActive;
    data['allowItemsDeletion'] = this.allowItemsDeletion;
    data['separatePayment'] = this.separatePayment;
    data['providerDeliveryCharge'] = this.providerDeliveryCharge;
    data['consumerDeliveryCharge'] = this.consumerDeliveryCharge;
    data['paymentProcessingFees'] = this.paymentProcessingFees;
    data['hakeemCutCash'] = this.hakeemCutCash;
    data['hakeemCutInsurance'] = this.hakeemCutInsurance;
    data['hakeemCutBiologic'] = this.hakeemCutBiologic;
    data['hakeemChargesCod'] = this.hakeemChargesCod;
    data['hakeemChargesCredit'] = this.hakeemChargesCredit;
    data['paymentUponDeliveryFees'] = this.paymentUponDeliveryFees;
    data['tenantImg'] = this.tenantImg;
    data['tenantImgPath'] = this.tenantImgPath;
    data['tenantGroup'] = this.tenantGroup;
    data['tenantSavingErx'] = this.tenantSavingErx;
    data['businessType'] = this.businessType;
    data['licenseNumber'] = this.licenseNumber;
    data['businessBrandSector'] = this.businessBrandSector;
    data['contactPersonName'] = this.contactPersonName;
    data['contactPersonPhone'] = this.contactPersonPhone;
    data['contactPersonEmail'] = this.contactPersonEmail;
    data['defaultCurrency'] = this.defaultCurrency;
    data['state'] = this.state;
    data['country'] = this.country;
    data['iban'] = this.iban;
    data['tenantPricingTemplateList'] = this.tenantPricingTemplateList;
    data['tenantDeliveryTeamList'] = this.tenantDeliveryTeamList;
    data['isMaster'] = this.isMaster;
    data['postOffice'] = this.postOffice;
    data['deliveryOption'] = this.deliveryOption;
    data['allowPatientPickUp'] = this.allowPatientPickUp;
    data['license'] = this.license;
    data['defaultInquiryUrl'] = this.defaultInquiryUrl;
    data['allowErxApproval'] = this.allowErxApproval;
    data['allowErxDownload'] = this.allowErxDownload;
    data['automationEnabled'] = this.automationEnabled;
    data['omnyRxEnabled'] = this.omnyRxEnabled;
    data['activeCredsOption'] = this.activeCredsOption;
    data['createdOn'] = this.createdOn;
    data['allowWhatsAppNotification'] = this.allowWhatsAppNotification;
    data['allowSmsNotification'] = this.allowSmsNotification;
    data['logo'] = this.logo;
    data['logoObject'] = this.logoObject;
    data['pharmacyClaimsSavedTo'] = this.pharmacyClaimsSavedTo;
    data['pharmacyRemittanceSavedTo'] = this.pharmacyRemittanceSavedTo;
    data['pharmacyClaimsIntegration'] = this.pharmacyClaimsIntegration;
    data['overviewDashboard'] = this.overviewDashboard;
    data['zeinxDashboard'] = this.zeinxDashboard;
    data['zeinxEnabled'] = this.zeinxEnabled;
    data['logoApiLink'] = this.logoApiLink;
    data['hasReferralPartner'] = this.hasReferralPartner;
    data['referralPartnerRid'] = this.referralPartnerRid;
    data['referralPartner'] = this.referralPartner;
    data['locationCity'] = this.locationCity;
    data['locationArea'] = this.locationArea;
    data['saveHakeemRelatedOnly'] = this.saveHakeemRelatedOnly;
    data['retailEnabled'] = this.retailEnabled;
    data['retailLiveForCustomers'] = this.retailLiveForCustomers;
    data['bannersList'] = this.bannersList;
    data['categoriesList'] = this.categoriesList;
    return data;
  }
}
Leave a Comment