diff --git a/android/app/build.gradle b/android/app/build.gradle
index 99f2b204..3adef1e4 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -72,9 +72,13 @@ flutter {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- implementation "com.google.firebase:firebase-messaging:20.3.0"
+ implementation "com.google.firebase:firebase-messaging:21.0.0"
+// implementation ('com.google.firebase:firebase-inappmessaging-display:19.1.2',{
+// exclude group: 'com.google.protobuf',module: 'protobuf-javalite'
+// exclude group: 'com.google.protobuf',module: 'protobuf-lite'
+// })
implementation 'pub.devrel:easypermissions:0.4.0'
- implementation 'com.google.firebase:firebase-inappmessaging-display:17.2.0'
+ // implementation 'com.google.firebase:firebase-inappmessaging-display:17.2.0'
implementation 'com.google.guava:guava:27.0.1-android'
// Dependency on local binaries
implementation fileTree(dir: 'libs', include: ['*.jar'])
diff --git a/android/build.gradle b/android/build.gradle
index 8e56476b..433bc8ad 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -8,7 +8,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- classpath 'com.google.gms:google-services:4.3.2'
+ classpath 'com.google.gms:google-services:4.3.4'
}
}
diff --git a/android/gradle.properties b/android/gradle.properties
index 9c0729c9..38c8d454 100644
--- a/android/gradle.properties
+++ b/android/gradle.properties
@@ -1,5 +1,4 @@
-
+org.gradle.jvmargs=-Xmx1536M
android.enableR8=true
android.useAndroidX=true
android.enableJetifier=true
-org.gradle.jvmargs=-Xmx4608m
diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties
index 5660070d..c935be88 100644
--- a/android/gradle/wrapper/gradle-wrapper.properties
+++ b/android/gradle/wrapper/gradle-wrapper.properties
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
diff --git a/assets/images/new-design/empty_box.png b/assets/images/new-design/empty_box.png
new file mode 100644
index 00000000..af3551fd
Binary files /dev/null and b/assets/images/new-design/empty_box.png differ
diff --git a/assets/images/new-design/liveCare_white_logo.svg b/assets/images/new-design/liveCare_white_logo.svg
new file mode 100644
index 00000000..494b3671
--- /dev/null
+++ b/assets/images/new-design/liveCare_white_logo.svg
@@ -0,0 +1,40 @@
+
diff --git a/assets/images/new-design/livecare_arabic_logo.svg b/assets/images/new-design/livecare_arabic_logo.svg
new file mode 100644
index 00000000..c524a803
--- /dev/null
+++ b/assets/images/new-design/livecare_arabic_logo.svg
@@ -0,0 +1,39 @@
+
diff --git a/assets/images/new-design/livecare_white_logo.png b/assets/images/new-design/livecare_white_logo.png
new file mode 100644
index 00000000..dc223965
Binary files /dev/null and b/assets/images/new-design/livecare_white_logo.png differ
diff --git a/assets/images/no_image.png b/assets/images/no_image.png
new file mode 100644
index 00000000..ebe05472
Binary files /dev/null and b/assets/images/no_image.png differ
diff --git a/assets/images/offer.png b/assets/images/offer.png
new file mode 100644
index 00000000..b9977670
Binary files /dev/null and b/assets/images/offer.png differ
diff --git a/assets/images/offer_ar.png b/assets/images/offer_ar.png
new file mode 100644
index 00000000..1fdbf749
Binary files /dev/null and b/assets/images/offer_ar.png differ
diff --git a/assets/images/pharmacy/Group 1206.svg b/assets/images/pharmacy/Group 1206.svg
new file mode 100644
index 00000000..ef8f7473
--- /dev/null
+++ b/assets/images/pharmacy/Group 1206.svg
@@ -0,0 +1,14 @@
+
diff --git a/assets/images/pharmacy/Group 1207.svg b/assets/images/pharmacy/Group 1207.svg
new file mode 100644
index 00000000..fd2ffd41
--- /dev/null
+++ b/assets/images/pharmacy/Group 1207.svg
@@ -0,0 +1,17 @@
+
diff --git a/assets/images/pharmacy/Logo Parmacy-green.png b/assets/images/pharmacy/Logo Parmacy-green.png
new file mode 100644
index 00000000..72862b33
Binary files /dev/null and b/assets/images/pharmacy/Logo Parmacy-green.png differ
diff --git a/assets/images/pharmacy/aramex_shipping_logo.svg b/assets/images/pharmacy/aramex_shipping_logo.svg
new file mode 100644
index 00000000..30cc03b8
--- /dev/null
+++ b/assets/images/pharmacy/aramex_shipping_logo.svg
@@ -0,0 +1,14 @@
+
diff --git a/assets/images/pharmacy/arrow-left-png.png b/assets/images/pharmacy/arrow-left-png.png
new file mode 100644
index 00000000..18d58c87
Binary files /dev/null and b/assets/images/pharmacy/arrow-left-png.png differ
diff --git a/assets/images/pharmacy/arrow-left.png b/assets/images/pharmacy/arrow-left.png
new file mode 100644
index 00000000..18d58c87
Binary files /dev/null and b/assets/images/pharmacy/arrow-left.png differ
diff --git a/assets/images/pharmacy/arrow-right-png.png b/assets/images/pharmacy/arrow-right-png.png
new file mode 100644
index 00000000..19af7c0b
Binary files /dev/null and b/assets/images/pharmacy/arrow-right-png.png differ
diff --git a/assets/images/pharmacy/arrow.png b/assets/images/pharmacy/arrow.png
new file mode 100644
index 00000000..19af7c0b
Binary files /dev/null and b/assets/images/pharmacy/arrow.png differ
diff --git a/assets/images/pharmacy/arrow_lef.png b/assets/images/pharmacy/arrow_lef.png
new file mode 100644
index 00000000..19af7c0b
Binary files /dev/null and b/assets/images/pharmacy/arrow_lef.png differ
diff --git a/assets/images/pharmacy/arrow_left.svg b/assets/images/pharmacy/arrow_left.svg
new file mode 100644
index 00000000..00fa7556
--- /dev/null
+++ b/assets/images/pharmacy/arrow_left.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/images/pharmacy/arrow_right.svg b/assets/images/pharmacy/arrow_right.svg
new file mode 100644
index 00000000..b4243287
--- /dev/null
+++ b/assets/images/pharmacy/arrow_right.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/images/pharmacy/check_icon.svg b/assets/images/pharmacy/check_icon.svg
new file mode 100644
index 00000000..cfa4f441
--- /dev/null
+++ b/assets/images/pharmacy/check_icon.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/images/pharmacy/compare.png b/assets/images/pharmacy/compare.png
new file mode 100644
index 00000000..11a49dfb
Binary files /dev/null and b/assets/images/pharmacy/compare.png differ
diff --git a/assets/images/pharmacy/contact_us_icon.svg b/assets/images/pharmacy/contact_us_icon.svg
new file mode 100644
index 00000000..fa591d47
--- /dev/null
+++ b/assets/images/pharmacy/contact_us_icon.svg
@@ -0,0 +1,10 @@
+
diff --git a/assets/images/pharmacy/credit_card_icon.svg b/assets/images/pharmacy/credit_card_icon.svg
new file mode 100644
index 00000000..9ba6c2bf
--- /dev/null
+++ b/assets/images/pharmacy/credit_card_icon.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/images/pharmacy/delete_red_icon.svg b/assets/images/pharmacy/delete_red_icon.svg
new file mode 100644
index 00000000..8897a683
--- /dev/null
+++ b/assets/images/pharmacy/delete_red_icon.svg
@@ -0,0 +1,8 @@
+
diff --git a/assets/images/pharmacy/edit_icon.svg b/assets/images/pharmacy/edit_icon.svg
new file mode 100644
index 00000000..df7cca2f
--- /dev/null
+++ b/assets/images/pharmacy/edit_icon.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/pharmacy/empty_box.svg b/assets/images/pharmacy/empty_box.svg
new file mode 100644
index 00000000..05816608
--- /dev/null
+++ b/assets/images/pharmacy/empty_box.svg
@@ -0,0 +1,18 @@
+
diff --git a/assets/images/pharmacy/hmg_shipping_greenlogo.svg b/assets/images/pharmacy/hmg_shipping_greenlogo.svg
new file mode 100644
index 00000000..449712a5
--- /dev/null
+++ b/assets/images/pharmacy/hmg_shipping_greenlogo.svg
@@ -0,0 +1,25 @@
+
diff --git a/assets/images/pharmacy/hmg_shipping_logo.svg b/assets/images/pharmacy/hmg_shipping_logo.svg
new file mode 100644
index 00000000..8e9db3d6
--- /dev/null
+++ b/assets/images/pharmacy/hmg_shipping_logo.svg
@@ -0,0 +1,17 @@
+
diff --git a/assets/images/pharmacy/lakum_icon.svg b/assets/images/pharmacy/lakum_icon.svg
new file mode 100644
index 00000000..e2b223de
--- /dev/null
+++ b/assets/images/pharmacy/lakum_icon.svg
@@ -0,0 +1,8 @@
+
diff --git a/assets/images/pharmacy/medication_refill_icon.svg b/assets/images/pharmacy/medication_refill_icon.svg
new file mode 100644
index 00000000..d5951130
--- /dev/null
+++ b/assets/images/pharmacy/medication_refill_icon.svg
@@ -0,0 +1,32 @@
+
diff --git a/assets/images/pharmacy/mobile_number_icon.svg b/assets/images/pharmacy/mobile_number_icon.svg
new file mode 100644
index 00000000..d98aaf29
--- /dev/null
+++ b/assets/images/pharmacy/mobile_number_icon.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/pharmacy/my_family_icon.svg b/assets/images/pharmacy/my_family_icon.svg
new file mode 100644
index 00000000..838b357e
--- /dev/null
+++ b/assets/images/pharmacy/my_family_icon.svg
@@ -0,0 +1,19 @@
+
diff --git a/assets/images/pharmacy/my_prescription_icon.svg b/assets/images/pharmacy/my_prescription_icon.svg
new file mode 100644
index 00000000..bda0e22e
--- /dev/null
+++ b/assets/images/pharmacy/my_prescription_icon.svg
@@ -0,0 +1,54 @@
+
diff --git a/assets/images/pharmacy/orders_icon.svg b/assets/images/pharmacy/orders_icon.svg
new file mode 100644
index 00000000..f09ae19d
--- /dev/null
+++ b/assets/images/pharmacy/orders_icon.svg
@@ -0,0 +1,8 @@
+
diff --git a/assets/images/pharmacy/our_locations_icon.svg b/assets/images/pharmacy/our_locations_icon.svg
new file mode 100644
index 00000000..2be16631
--- /dev/null
+++ b/assets/images/pharmacy/our_locations_icon.svg
@@ -0,0 +1,10 @@
+
diff --git a/assets/images/pharmacy/pill_reminder_icon.svg b/assets/images/pharmacy/pill_reminder_icon.svg
new file mode 100644
index 00000000..f4fb4ddc
--- /dev/null
+++ b/assets/images/pharmacy/pill_reminder_icon.svg
@@ -0,0 +1,49 @@
+
diff --git a/assets/images/pharmacy/quote_end.svg b/assets/images/pharmacy/quote_end.svg
new file mode 100644
index 00000000..083ff39a
--- /dev/null
+++ b/assets/images/pharmacy/quote_end.svg
@@ -0,0 +1,8 @@
+
diff --git a/assets/images/pharmacy/quote_start.svg b/assets/images/pharmacy/quote_start.svg
new file mode 100644
index 00000000..74216f14
--- /dev/null
+++ b/assets/images/pharmacy/quote_start.svg
@@ -0,0 +1,8 @@
+
diff --git a/assets/images/pharmacy/review_icon.svg b/assets/images/pharmacy/review_icon.svg
new file mode 100644
index 00000000..bb826f21
--- /dev/null
+++ b/assets/images/pharmacy/review_icon.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/images/pharmacy/shipping_addresses_icon.svg b/assets/images/pharmacy/shipping_addresses_icon.svg
new file mode 100644
index 00000000..ebb8692f
--- /dev/null
+++ b/assets/images/pharmacy/shipping_addresses_icon.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/images/pharmacy/shipping_mark_icon.svg b/assets/images/pharmacy/shipping_mark_icon.svg
new file mode 100644
index 00000000..5cf9606b
--- /dev/null
+++ b/assets/images/pharmacy/shipping_mark_icon.svg
@@ -0,0 +1,16 @@
+
diff --git a/assets/images/pharmacy/shipping_truck_icon.svg b/assets/images/pharmacy/shipping_truck_icon.svg
new file mode 100644
index 00000000..8ffda974
--- /dev/null
+++ b/assets/images/pharmacy/shipping_truck_icon.svg
@@ -0,0 +1,34 @@
+
diff --git a/assets/images/pharmacy/success_check_icon.svg b/assets/images/pharmacy/success_check_icon.svg
new file mode 100644
index 00000000..ed1379b8
--- /dev/null
+++ b/assets/images/pharmacy/success_check_icon.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/images/pharmacy/success_review_icon.svg b/assets/images/pharmacy/success_review_icon.svg
new file mode 100644
index 00000000..f6951456
--- /dev/null
+++ b/assets/images/pharmacy/success_review_icon.svg
@@ -0,0 +1,24 @@
+
diff --git a/assets/images/pharmacy/terms.png b/assets/images/pharmacy/terms.png
new file mode 100644
index 00000000..76cfacab
Binary files /dev/null and b/assets/images/pharmacy/terms.png differ
diff --git a/assets/images/pharmacy/user.svg b/assets/images/pharmacy/user.svg
new file mode 100644
index 00000000..8e978105
--- /dev/null
+++ b/assets/images/pharmacy/user.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/pharmacy/user_icon.svg b/assets/images/pharmacy/user_icon.svg
new file mode 100644
index 00000000..8e978105
--- /dev/null
+++ b/assets/images/pharmacy/user_icon.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/pharmacy/wishklist_icon.svg b/assets/images/pharmacy/wishklist_icon.svg
new file mode 100644
index 00000000..cd0ce16d
--- /dev/null
+++ b/assets/images/pharmacy/wishklist_icon.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/pharmacy/wishlist_icon.svg b/assets/images/pharmacy/wishlist_icon.svg
new file mode 100644
index 00000000..910a3ab8
--- /dev/null
+++ b/assets/images/pharmacy/wishlist_icon.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/images/pharmacy_module/ic_payment_option.png b/assets/images/pharmacy_module/ic_payment_option.png
new file mode 100644
index 00000000..5f3fca8f
Binary files /dev/null and b/assets/images/pharmacy_module/ic_payment_option.png differ
diff --git a/assets/images/pharmacy_module/ic_shipping_address.png b/assets/images/pharmacy_module/ic_shipping_address.png
new file mode 100644
index 00000000..9566fb30
Binary files /dev/null and b/assets/images/pharmacy_module/ic_shipping_address.png differ
diff --git a/assets/images/pharmacy_module/ic_shipping_mark.png b/assets/images/pharmacy_module/ic_shipping_mark.png
new file mode 100644
index 00000000..cc4b272d
Binary files /dev/null and b/assets/images/pharmacy_module/ic_shipping_mark.png differ
diff --git a/assets/images/pharmacy_module/ic_shipping_truck.png b/assets/images/pharmacy_module/ic_shipping_truck.png
new file mode 100644
index 00000000..274ae1da
Binary files /dev/null and b/assets/images/pharmacy_module/ic_shipping_truck.png differ
diff --git a/assets/images/pharmacy_module/lakum/Account_activation_icon.png b/assets/images/pharmacy_module/lakum/Account_activation_icon.png
new file mode 100644
index 00000000..dc93366c
Binary files /dev/null and b/assets/images/pharmacy_module/lakum/Account_activation_icon.png differ
diff --git a/assets/images/pharmacy_module/lakum/Lakum_transfer_icon.png b/assets/images/pharmacy_module/lakum/Lakum_transfer_icon.png
new file mode 100644
index 00000000..b7d33dd6
Binary files /dev/null and b/assets/images/pharmacy_module/lakum/Lakum_transfer_icon.png differ
diff --git a/assets/images/pharmacy_module/lakum/expired_icon.png b/assets/images/pharmacy_module/lakum/expired_icon.png
new file mode 100644
index 00000000..9a980984
Binary files /dev/null and b/assets/images/pharmacy_module/lakum/expired_icon.png differ
diff --git a/assets/images/pharmacy_module/lakum/inactive_cross.png b/assets/images/pharmacy_module/lakum/inactive_cross.png
new file mode 100644
index 00000000..5a592b7a
Binary files /dev/null and b/assets/images/pharmacy_module/lakum/inactive_cross.png differ
diff --git a/assets/images/pharmacy_module/lakum/lakum_card_front_bg.png b/assets/images/pharmacy_module/lakum/lakum_card_front_bg.png
new file mode 100644
index 00000000..73323a0e
Binary files /dev/null and b/assets/images/pharmacy_module/lakum/lakum_card_front_bg.png differ
diff --git a/assets/images/pharmacy_module/lakum/lakum_checkout.png b/assets/images/pharmacy_module/lakum/lakum_checkout.png
new file mode 100644
index 00000000..e0230a00
Binary files /dev/null and b/assets/images/pharmacy_module/lakum/lakum_checkout.png differ
diff --git a/assets/images/pharmacy_module/lakum/waiting_gained_icon.png b/assets/images/pharmacy_module/lakum/waiting_gained_icon.png
new file mode 100644
index 00000000..37ff1ac9
Binary files /dev/null and b/assets/images/pharmacy_module/lakum/waiting_gained_icon.png differ
diff --git a/assets/images/pharmacy_module/lakum/will_be_expired_icon.png b/assets/images/pharmacy_module/lakum/will_be_expired_icon.png
new file mode 100644
index 00000000..7f31f622
Binary files /dev/null and b/assets/images/pharmacy_module/lakum/will_be_expired_icon.png differ
diff --git a/assets/images/pharmacy_module/payment/LogoParmacyGreen.png b/assets/images/pharmacy_module/payment/LogoParmacyGreen.png
new file mode 100644
index 00000000..72862b33
Binary files /dev/null and b/assets/images/pharmacy_module/payment/LogoParmacyGreen.png differ
diff --git a/assets/images/pharmacy_module/payment/aramex_shipping_logo.png b/assets/images/pharmacy_module/payment/aramex_shipping_logo.png
new file mode 100644
index 00000000..e7b45d9c
Binary files /dev/null and b/assets/images/pharmacy_module/payment/aramex_shipping_logo.png differ
diff --git a/assets/images/pharmacy_module/payment/hmg_shipping_logo.png b/assets/images/pharmacy_module/payment/hmg_shipping_logo.png
new file mode 100644
index 00000000..725b2e5e
Binary files /dev/null and b/assets/images/pharmacy_module/payment/hmg_shipping_logo.png differ
diff --git a/assets/images/pharmacy_module/payment/installment.png b/assets/images/pharmacy_module/payment/installment.png
new file mode 100644
index 00000000..034497ef
Binary files /dev/null and b/assets/images/pharmacy_module/payment/installment.png differ
diff --git a/assets/images/pharmacy_module/payment/mada.png b/assets/images/pharmacy_module/payment/mada.png
new file mode 100644
index 00000000..f65b970c
Binary files /dev/null and b/assets/images/pharmacy_module/payment/mada.png differ
diff --git a/assets/images/pharmacy_module/payment/mastercard.png b/assets/images/pharmacy_module/payment/mastercard.png
new file mode 100644
index 00000000..1d48b854
Binary files /dev/null and b/assets/images/pharmacy_module/payment/mastercard.png differ
diff --git a/assets/images/pharmacy_module/payment/sadad.png b/assets/images/pharmacy_module/payment/sadad.png
new file mode 100644
index 00000000..35e0426c
Binary files /dev/null and b/assets/images/pharmacy_module/payment/sadad.png differ
diff --git a/assets/images/pharmacy_module/payment/visa.png b/assets/images/pharmacy_module/payment/visa.png
new file mode 100644
index 00000000..8d29703c
Binary files /dev/null and b/assets/images/pharmacy_module/payment/visa.png differ
diff --git a/assets/images/pharmacy_module/payment_image.png b/assets/images/pharmacy_module/payment_image.png
new file mode 100644
index 00000000..ebf7a929
Binary files /dev/null and b/assets/images/pharmacy_module/payment_image.png differ
diff --git a/assets/images/progress-loading-red.gif b/assets/images/progress-loading-red.gif
new file mode 100644
index 00000000..517c3dab
Binary files /dev/null and b/assets/images/progress-loading-red.gif differ
diff --git a/lib/config/config.dart b/lib/config/config.dart
index 4183fe68..cd7a5383 100644
--- a/lib/config/config.dart
+++ b/lib/config/config.dart
@@ -13,9 +13,14 @@ const PACKAGES_CATEGORIES = '/api/categories';
const PACKAGES_PRODUCTS = '/api/products';
const BASE_URL = 'https://uat.hmgwebservices.com/';
+// const BASE_URL = 'https://hmgwebservices.com/';
+
+//const BASE_PHARMACY_URL = 'http://swd-pharapp-01:7200/api/';
+const BASE_PHARMACY_URL = 'https://uat.hmgwebservices.com/epharmacy/api/';
+const PHARMACY_BASE_URL = 'https://uat.hmgwebservices.com/epharmacy/api/';
const PING_SERVICE = 'Services/Weather.svc/REST/CheckConnectivity';
-// const BASE_URL = 'https://hmgwebservices.com/';
+
const GET_PROJECT = 'Services/Lists.svc/REST/GetProject';
///Geofencing
@@ -101,13 +106,17 @@ const GET_BABY_BY_USER_ID = 'Services/Community.svc/REST/GetBabyByUserID';
///userInformation
const GET_USERINFORMATION_REQUEST = 'Services/Community.svc/REST/GetUserInformation_New';
+///Update email
+const UPDATE_PATENT_EMAIL = 'Services/Patients.svc/REST/UpdatePateintEmail';
+const UPDATE_PATENT_INFO = 'Services/Community.svc/REST/UpdateUserInfo_New';
+
///addNewChild
const GET_NEWCHILD_REQUEST = 'Services/Community.svc/REST/CreateNewBaby';
///newUserId
const GET_NEW_USER_REQUEST = 'Services/Community.svc/REST/CreateNewUser_New';
-///delteChild
+///delete Child
const DELETE_CHILD_REQUEST = 'Services/Community.svc/REST/DeleteBaby';
///addNewTABLE
@@ -307,12 +316,46 @@ const GET_ALL_CITIES = 'services/Lists.svc/rest/GetAllCities';
const CREATE_E_REFERRAL = "Services/Patients.svc/REST/CreateEReferral";
const GET_E_REFERRALS = "Services/Patients.svc/REST/GetEReferrals";
+//Pharmacy wishlist
+// const GET_WISHLIST = "http://swd-pharapp-01:7200/api/shopping_cart_items/";
+
// pharmacy
+const PHARMACY_VERIFY_CUSTOMER = "epharmacy/api/VerifyCustomer";
+const PHARMACY_GET_COUNTRY = "epharmacy/api/countries";
+const PHARMACY_CREATE_CUSTOMER = "epharmacy/api/CreateCustomer";
const GET_PHARMACY_BANNER = "epharmacy/api/promotionbanners";
const GET_PHARMACY_TOP_MANUFACTURER = "epharmacy/api/topmanufacturer";
const GET_PHARMACY_BEST_SELLER_PRODUCT = "epharmacy/api/bestsellerproducts";
const GET_PHARMACY_PRODUCTs_BY_IDS = "epharmacy/api/productsbyids/";
const GET_CUSTOMERS_ADDRESSES = "epharmacy/api/Customers/";
+const GET_ORDER = "orders?";
+const GET_ORDER_DETAILS = "epharmacy/api/orders/";
+const ADD_CUSTOMER_ADDRESS = "epharmacy/api/addcustomeraddress";
+const EDIT_CUSTOMER_ADDRESS = "epharmacy/api/editcustomeraddress";
+const DELETE_CUSTOMER_ADDRESS = "epharmacy/api/deletecustomeraddress";
+const GET_ADDRESS = "Customers/";
+const GET_Cancel_ORDER = "cancelorder/";
+const WRITE_REVIEW = "Content-Type" + "text/plain; charset=utf-8";
+const GET_SHOPPING_CART = "epharmacy/api/shopping_cart_items/";
+const GET_SHIPPING_OPTIONS = "epharmacy/api/get_shipping_option/";
+const DELETE_SHOPPING_CART = "epharmacy/api/delete_shopping_cart_items/";
+const DELETE_SHOPPING_CART_ALL =
+ "epharmacy/api/delete_shopping_cart_item_by_customer/";
+const ORDER_SHOPPING_CART = "epharmacy/api/orders";
+const GET_LACUM_ACCOUNT_INFORMATION =
+ "Services/Patients.svc/REST/GetLakumAccountInformation";
+const GET_LACUM_GROUP_INFORMATION =
+ "Services/Patients.svc/REST/GetlakumInQueryInfoGrouping";
+const LACUM_ACCOUNT_ACTIVATE =
+ "Services/Patients.svc/REST/LakumAccountActivation";
+const LACUM_ACCOUNT_DEACTIVATE =
+ "Services/Patients.svc/REST/LakumAccountDeactivation";
+const CREATE_LAKUM_ACCOUNT =
+ "Services/Patients.svc/REST/PHR_CreateLakumAccount";
+const TRANSFER_YAHALA_LOYALITY_POINTS =
+ "Services/Patients.svc/REST/TransferYaHalaLoyaltyPoints";
+const LAKUM_GET_USER_TERMS_AND_CONDITIONS =
+ "Services/ERP.svc/REST/GetUserTermsAndConditionsForEPharmcy";
// Home Health Care
const HHC_GET_ALL_SERVICES = "Services/Patients.svc/REST/PatientER_HHC_GetAllServices";
@@ -321,12 +364,62 @@ const PATIENT_ER_UPDATE_PRES_ORDER = "Services/Patients.svc/REST/PatientER_Updat
const GET_ORDER_DETAIL_BY_ID = "Services/Patients.svc/REST/PatientER_HHC_GetTransactionsForOrder";
const GET_CMC_ORDER_DETAIL_BY_ID = "Services/Patients.svc/REST/PatientER_CMC_GetTransactionsForOrder";
const GET_CHECK_UP_ITEMS = "Services/Patients.svc/REST/GetCheckUpItems";
-const PUSH_NOTIFICATION_GET_ALL_NOTIFICATIONS = 'Services/MobileNotifications.svc/REST/PushNotification_GetAllNotifications';
-const PUSH_NOTIFICATION_SET_MESSAGES_FROM_POOL_AS_READ = 'Services/MobileNotifications.svc/REST/PushNotification_SetMessagesFromPoolAsRead';
+const PUSH_NOTIFICATION_GET_ALL_NOTIFICATIONS =
+ 'Services/MobileNotifications.svc/REST/PushNotification_GetAllNotifications';
+const PUSH_NOTIFICATION_SET_MESSAGES_FROM_POOL_AS_READ =
+ 'Services/MobileNotifications.svc/REST/PushNotification_SetMessagesFromPoolAsRead';
+const GET_PATIENT_ALL_PRES_ORD =
+ 'Services/Patients.svc/REST/PatientER_GetPatientAllPresOrders';
+const PATIENT_ER_INSERT_PRES_ORDER =
+ 'Services/Patients.svc/REST/PatientER_InsertPresOrder';
+const PHARMACY_MAKE_REVIEW = 'epharmacy/api/insertreviews';
+
+//Pharmacy wishlist
+const GET_WISHLIST = "shopping_cart_items/";
+const DELETE_WISHLIST = "delete_shopping_cart_item_by_product?customer_id=";
+const GET_REVIEW = "customerreviews/";
+const GET_BRANDS = "manufacturer";
+const GET_TOP_BRANDS = "topmanufacturer?page=1&limit=8";
+const GET_PRODUCT_DETAIL = "products/";
+const GET_LOCATION = "Services/Patients.svc/REST/GetPharmcyListBySKU";
+const GET_SPECIFICATION = "productspecification/";
+const GET_BRAND_ITEMS = "products?ManufacturerId=";
+
+// External API
+const ADD_ADDRESS_INFO =
+ "https://mdlaboratories.com/exacartapi/api/addcustomeraddress";
+const GET_CUSTOMER_ADDRESSES =
+ "https://mdlaboratories.com/exacartapi/api/Customers/";
+const GET_CUSTOMER_INFO =
+ "https://mdlaboratories.com/exacartapi/api/VerifyCustomer";
+
+//Pharmacy
+
+const GET_PHARMACY_CATEGORISE =
+ 'epharmacy/api/categories?fields=id,name,namen,description,image,localized_names,display_order,parent_category_id,is_leaf&parent_id=0';
+const GET_OFFERS_CATEGORISE = 'epharmacy/api/discountcategories';
+const GET_OFFERS_PRODUCTS = 'epharmacy/api/offerproducts/';
+const GET_CATEGORISE_PARENT =
+ 'epharmacy/api/categories?fields=id,name,namen,description,image,localized_names,display_order,parent_category_id,is_leaf&parent_id=';
+const GET_PARENT_PRODUCTS = 'epharmacy/api/products?categoryid=';
+const GET_SUB_CATEGORISE =
+ 'epharmacy/api/categories?fields=id,name,namen,description,image,localized_names,display_order,parent_category_id,is_leaf&parent_id=';
+const GET_SUB_PRODUCTS = 'epharmacy/api/products?categoryid=';
+const GET_FINAL_PRODUCTS =
+ 'epharmacy/api/products?fields=id,reviews,discount_ids,name,namen,localized_names,display_order,short_description,full_description,full_descriptionn,sku,order_minimum_quantity,order_maximum_quantity,price,old_price,images,is_rx,rx_message,rx_messagen,discount_name,discount_namen,approved_rating_sum,approved_total_reviews,allow_back_in_stock_subscriptions,stock_quantity,stock_availability,stock_availabilityn,discount_percentage&CategoryId=';
+
+
const TIMER_MIN = 10;
const GOOGLE_API_KEY = "AIzaSyCmevVlr2Bh-c8W1VUzo8gt8JRY7n5PANw";
+const GET_BRANDS_LIST = 'epharmacy/api/categoryManufacturer?categoryids=';
+
+const GET_SEARCH_PRODUCTS =
+ 'epharmacy/api/searchproducts?fields=id,discount_ids,reviews,name,namen,localized_names,display_order,short_description,full_description,full_descriptionn,sku,order_minimum_quantity,order_maximum_quantity,price,old_price,images,is_rx,rx_message,rx_messagen,discount_name,discount_namen,approved_rating_sum,approved_total_reviews,allow_back_in_stock_subscriptions,stock_quantity,stock_availability,stock_availabilityn,discount_percentage&search_key=';
+
+const SCAN_QR_CODE = 'epharmacy/api/productbysku/';
+
class AppGlobal {
static var context;
diff --git a/lib/config/localized_values.dart b/lib/config/localized_values.dart
index b1f25ad9..387dbcb1 100644
--- a/lib/config/localized_values.dart
+++ b/lib/config/localized_values.dart
@@ -586,6 +586,82 @@ const Map localizedValues = {
"ar":
"خدمة الاشعة: هذه الخدمة تمكنك من الاطلاع على تقارير وصور الاشعة التي تمت في مجموعة الحبيب الطبية وكذلك ارسال التقرير عن طريق الايميل."
},
+ "orders": {"en": "Orders", "ar": "الطلبات"},
+ "lakum": {"en": "Lakum", "ar": "لكم"},
+ "wishlist": {"en": "Wishlist", "ar": "الرغبات"},
+ "reviews": {"en": "Reviews", "ar": "التقيمات"},
+ // "myPrescriptions": {"en": "My Prescriptions", "ar": "وصفاتي"},
+ // "medicationRefill": {"en": "Medication Refill", "ar": "تعبئة الأدوية"},
+ "pillReminder": {"en": "Pill Reminder", "ar": "تذكير الأدويه"},
+ "shippingAddresses": {"en": "Shipping Addresses", "ar": "عناوين الشحن"},
+ "reachUs": {"en": "Reach Us", "ar": "الوصول لنا"},
+ "ourLocations": {"en": "Our Locations", "ar": "مواقعنا"},
+ "edit": {"en": "Edit", "ar": "تعديل"},
+ "delete": {"en": "Delete", "ar": " حذف"},
+ "addAddress": {"en": "ADD A NEW ADDRESS", "ar": " اضافة عنوان جديد"},
+ "addNewAddress": {"en": "Add New Address", "ar": " اضافة عنوان جديد"},
+ "order": {"en": "My Order", "ar": " طلباتي"},
+ "delivered": {"en": "Delivered", "ar": " تم التوصيل"},
+ "pending": {"en": "Pending", "ar": " معلقة "},
+ "processing": {"en": "Processing", "ar": " تحت المعالجة"},
+ "cancelled": {"en": "Cancelled", "ar": " ملغي"},
+ "writeReview": {"en": "Write Review", "ar": " اكتب تقييمك"},
+ "shareReview": {"en": "SHARE REVIEW", "ar": " اكتب تقييمك"},
+ "review": {"en": " reviews", "ar": " تقييمات"},
+ "pendingOrder": {"en": " PENDING", "ar": " معلقة"},
+ "deliveredOrder": {"en": " DELIVERED", "ar": " تم التوصيل"},
+ "processingOrder": {"en": " PROCESSING", "ar": "قيد التنفيذ"},
+ "cancelledOrder": {"en": " CANCELLED", "ar": "ملغي"},
+ "compare": {"en": " Compare", "ar": "مقارنه"},
+ "medicationsRefill": {"en": " Medication Refill", "ar": "طلب أعادة صرف"},
+ "myPrescription": {"en": " My Prescriptions", "ar": "وصفاتي"},
+ "quantity": {"en": " QTY ", "ar": "الكمية"},
+ "backMyAccount": {
+ "en": "BACK TO MY ACCOUNT ",
+ "ar": " الرجوع لحسابي الشخصي"
+ },
+ "reviewSuccessful": {"en": "Review Successful", "ar": " تقييم ناجح"},
+ "reviewShared": {
+ "en": "Your review has been shared on product review section",
+ "ar": " تمت مشاركة تقييمك في قسم تقييم المنتج"
+ },
+ "reviewComment": {
+ "en": "Your reviews help other to choose better product",
+ "ar": " تقييمك سوف يساعد الأخرين في اختيار المنتج الأفضل"
+ },
+ "shippedMethod": {"en": "SHIP BY:", "ar": " الشحن بواسطة:"},
+ "orderDetail": {"en": "Order Details", "ar": " تفاصيل الطلب"},
+ "orderSummary": {"en": "Order Summary", "ar": " تفاصيل المنتج"},
+ "subtotal": {"en": "Subtotal", "ar": " المجموع الفرعي"},
+ "shipping": {"en": "Shipping", "ar": " الشحن"},
+ "shipBy": {"en": "SHIP BY:", "ar": "الشحن عن طريق:"},
+ "lakumPoints": {"en": "Lakum Points", "ar": "نقاط لكم"},
+ "use": {"en": "USE", "ar": "استخدم"},
+ "proceedPay": {"en": "PROCEED TO PAY", "ar": "المتابعة للدفع"},
+ "vat": {"en": "VAT (15%)", "ar": "(15%) القيمة المضافة"},
+ "inclusiveVat": {"en": "(inclusive VAT)", "ar": "(شامل الضريبة)"},
+ "items": {"en": "item(s)", "ar": "عنصر"},
+ "checkOut": {"en": "CHECK OUT", "ar": "الدفع"},
+ "sar": {"en": "SAR", "ar": " ر.س "},
+ "payOnline": {"en": "PAY ONLINE", "ar": "اتمام عملية الدفع "},
+ "cancelOrder": {"en": "CANCEL ORDER", "ar": "الغاء الطلب "},
+ "confirmAddress": {"en": "CONFIRM ADDRESS ", "ar": " تأكيد العنوان "},
+ "confirmLocation": {"en": "CONFIRM LOCATION ", "ar": " تأكيد الموقع "},
+ "conditionsHMG": {"en": "Terms & Conditions ", "ar": "الشروط و الأحكام "},
+ "conditions": {"en": "Terms & Conditions of Lakum", "ar": "شروط و احكام لكم"},
+ "confirmDeleteMsg": {
+ "en": "Are you sure! want to delete ",
+ "ar": "هل انت متأكد تريد الحذف "
+ },
+ "confirmDelete": {"en": "DELETE", "ar": "حذف"},
+ "confirmCancellation": {
+ "en": "Are you sure! want to cancel this order ",
+ "ar": "هل انت متأكد تريد حذف هذا المنتج "
+ },
+ "orderNumber": {"en": "Order#: ", "ar": "الطلب: "},
+ "orderDate": {"en": "Date", "ar": "التاريخ:"},
+ "itemsNo": {"en": "items(s)", "ar": "عناصر"},
+ "noOrder": {"en": "You Don't have any orders.", "ar": "ليس لديك طلبات"},
"TermsService": {"en": "Terms of Service", "ar": "شروط الخدمه"},
"Beforeusing": {
@@ -638,12 +714,50 @@ const Map localizedValues = {
"recentlyViewed": {"en": "Recently Viewed", "ar": "شوهدت مؤخرا"},
"bestSellers": {"en": "Best Sellers", "ar": "أفضل البائعين"},
"deleteAllItems": {"en": "Delete All Items", "ar": "حذف كافة العناصر"},
+ "total": {"en": "Total", "ar": "المجموع"},
+ "selectAddress": {"en": "Select Address", "ar": "حدد العنوان"},
+ "shippingAddress": {"en": "SHIPPING ADDRESS", "ar": "عنوان الشحن"},
+ "changeAddress": {"en": "Change Address", "ar": "تغيير العنوان"},
+ "selectPaymentOption": {
+ "en": "Select Payment Option",
+ "ar": "حدد خيار الدفع"
+ },
+ "changeMethod": {"en": "Change Method", "ar": "تغيير خيار الدفع"},
+ "reviewOrder": {"en": "Review Order", "ar": "مراجعة الطلب"},
+ "active": {"en": "ACTIVE", "ar": "فعال"},
+ "inactive": {"en": "INACTIVE", "ar": "غير فعال"},
+ "balance": {"en": "BALANCE", "ar": "الحالي"},
+ "gained": {"en": "GAINED", "ar": "المكتسب"},
+ "consumed": {"en": "CONSUMED", "ar": "المستهلك"},
+ "transferred": {"en": "TRANSFERRED", "ar": "المحول"},
+ "checkBeneficiary": {"en": "CHECK BENEFICIARY", "ar": "تحقق من المستفيد"},
+ "beneficiaryName": {"en": "Beneficiary Name", "ar": "اسم المستفيد"},
+ "accountActivation": {"en": "Account Activation", "ar": "تفعيل الحساب"},
+ "acceptLbl": {"en": "Accept", "ar": "موافقة"},
"select-gender": {"en": "Select Gender", "ar": "اختر الجنس"},
"i-am-a": {"en": "I am a ...", "ar": "أنا ..."},
"select-age": {"en": "Select Your Age", "ar": "حدد العمر"},
"i-am": {"en": "I am", "ar": "أنا"},
"years-old": {"en": "years old", "ar": "سنة"},
- "drag-point": {"en": "Drag point to change your age", "ar": "اسحب لتغيير عمرك"},
+ "drag-point": {
+ "en": "Drag point to change your age",
+ "ar": "اسحب لتغيير عمرك"
+ },
+
+ "categorise": {"en": "Categories", "ar": "التطبيقات"},
+ "wishList": {"en": "WishList", "ar": "الرغبات"},
+ "myAccount": {"en": "My Account", "ar": "حسابي"},
+ "cart": {"en": "Cart", "ar": "التسوق"},
+ "searchProductHere": {
+ "en": "Search Product here",
+ "ar": "ابحث في الطلب الخاص بك"
+ },
+ "HHCNotAuthMsg": {
+ "en":
+ "This service provides a set of home health care services, continuous and comprehensive follow-up in their places of residence for those who cannot access health facilities, such as (laboratory analyzes - radiology - vaccinations - physical therapy), etc.",
+ "ar":
+ "من خلال هذه الخدمة يمكنك طلب مجموعة من الفحوصات التي تساعدك وتساعد طبيبك في فهم حالتك الصحية الحالية ومن ثم تحديد المخاطر المحتملة"
+ },
"email": {"en": "Email", "ar": "البريد الالكتروني"},
"Book": {"en": "Book", "ar": "احجز"},
"AppointmentLabel": {"en": "Appointment", "ar": "موعد"},
@@ -876,7 +990,6 @@ const Map localizedValues = {
"number": {"en": "Number", "ar": "الرقم"},
"not-classified": {"en": "Not classified", "ar": "غير محدد"},
"selectClinic": {"en": "Select Clinic", "ar": " بحث بالعيادة"},
- "reviews": {"en": "Reviews", "ar": "تقييمات"},
"searchItemError": {
"en": "Item name should be more than 3 character ",
"ar": "يجب أن يكون اسم العنصر أكثر من 3 أحرف"
@@ -944,7 +1057,6 @@ const Map localizedValues = {
"en": "Select Transportation Method",
"ar": "حدد طريقة النقل"
},
- "sar": {"en": "SR", "ar": "ر.س"},
"RRT-direction-heading": {"en": "Select Direction", "ar": "حدد الاتجاه"},
"to-hospital": {"en": "To Hospital", "ar": "الى المستشفى"},
"from-hospital": {"en": "From Hospital", "ar": "من المستشفى"},
@@ -1051,7 +1163,6 @@ const Map localizedValues = {
"requested": {"en": "Requested", "ar": "مطلوب"},
"ready": {"en": "Ready", "ar": "جاهز"},
"completed": {"en": "Completed", "ar": "مكتمل"},
- "cancelled": {"en": "Cancelled", "ar": "ملغى"},
"request-medical-report": {
"en": "Request medical report",
@@ -1241,4 +1352,101 @@ const Map localizedValues = {
"en": "Live Care",
"ar": "لايف كير"
},
+ "topBrands":{
+ "en":"Top Brands",
+ "ar":"اعلى العلامات التجارية"
+ },
+
+ "notifyMe":{
+ "en":"notify me",
+ "ar":"اعلمني"
+ },
+ "specification":{
+ "en":"Specification",
+ "ar":"تخصيص"
+ },
+
+ "availability":{
+ "en":"Availability",
+ "ar":"التوفر"
+ },
+
+ "quantitySize":{
+ "en":"Quantity",
+ "ar":"كميه"
+ },
+ "addToCart":{
+ "en":"add to cart",
+ "ar":"إضفة للسلة"
+ },
+ "buyNow":{
+ "en":"buy now",
+ "ar":"إشتري الان"
+ },
+ "quantityShortcut":{
+ "en":"QTY",
+ "ar":"كمية"
+ },
+
+
+ "pharmacyServiceTermsCondition": {
+ "en": "I agree with the terms of service and I adhere to them unconditionally",
+ "ar": " أوافق على شروط الخدمة وألتزم بها دون قيد أو شرط"
+ },
+ "Year": {"en": "YEAR", "ar": "السنة"},
+ "Month": {"en": "MONTH", "ar": "الشهر"},
+ "point": {"en": "POINT", "ar": "النقاط"},
+ "riyal": {"en": "RIYAL", "ar": "الريال"},
+ "termOfService": {"en": "Terms of service", "ar": "شروط الخدمة"},
+ "shoppingCart": {"en": "Shopping Cart", "ar": "عربة التسوق"},
+
+ "referralStatus": {"en": "Referral Status", "ar": "حالة الإحالة"},
+ "referralDate": {"en": "Referral Date", "ar": "تاريخ الإحالة"},
+ "patientName": {"en": "Patient Name", "ar": "اسم المريض"},
+ "referralNumber": {"en": "Referral Number", "ar": "رقم الإحالة"},
+ "requestID": {"en": "Request ID", "ar": " رقم الطلب"},
+ "OrderStatus": {"en": "Status", "ar": "الحاله"},
+ "pickupDate": {"en": "Pickup Date", "ar": "التاريخ"},
+ "serviceName": {"en": "Service Name", "ar": " اسم الخدمة"},
+ "orderLocation": {"en": "Location", "ar": "الموقع"},
+ "selectService": {"en": "Select Service", "ar": "حدد الخدمة"},
+ "coveredService": {"en": "Covered Service : ", "ar": " الخدمات المغطاة : "},
+ "selectedService": {
+ "en": "Selected Service : ",
+ "ar": " الخدمات المختارة : "
+ },
+ "cancelOrderMsg": {
+ "en": "Are you sure!! want to cancel this order",
+ "ar": "هل أنت واثق!! تريد إلغاء هذا الطلب"
+ },
+ "processDoneSuccessfully": {
+ "en": "Process Done Successfully",
+ "ar": "تمت العملية بنجاح"
+ },
+ "selectHomeHealthCareServices": {
+ "en": "Select Home Health Care Services",
+ "ar": " حدد خدمات الرعاية الصحية المنزلية"
+ },
+ "description-vaccination": {"en": "Description", "ar": "وصف"},
+ "due-date": {"en": "Due date", "ar": "تاريخ الاستحقاق"},
+ "valid-email": {
+ "en": "Please enter valid email",
+ "ar": "الرجاء إدخال عنوان بريد صحيح"
+ },
+ "confirm-send": {
+ "en": "Send the child's schedule to the email?",
+ "ar": "ارسال جدول التطعيمات الى بريدك الالكتروني؟"
+ },
+ "vaccination": {"en": "Vaccination", "ar": "جدول التطعيمات"},
+ "welcomeBack": {"en": "Welcome back", "ar": "مرحبا مرة أخرى"},
+
+ "updated-email": {
+ "en": "Updated email successfully",
+ "ar": "تم تحديث البريد الالكتروني"
+ },
+
+ "view-list-children": {
+ "en": "View List of Children",
+ "ar": "عرض قائمة الأطفال"
+ },
};
diff --git a/lib/config/shared_pref_kay.dart b/lib/config/shared_pref_kay.dart
index 16b826d2..458040bb 100644
--- a/lib/config/shared_pref_kay.dart
+++ b/lib/config/shared_pref_kay.dart
@@ -21,7 +21,8 @@ const THEME_VALUE = 'is_vibration';
const MAIN_USER = 'main-user';
const PHARMACY_LAST_VISITED_PRODUCTS = 'last-visited';
const HMG_GEOFENCES = 'hmg-geo-fences';
-
+const PHARMACY_CUSTOMER_ID = 'costumer-id';
const WEATHER = 'weather';
const BLOOD_TYPE = 'blood-type';
const NOTIFICATION_COUNT = 'notification-count';
+const PHARMACY_SELECTED_ADDRESS = 'selected-address';
diff --git a/lib/core/model/AlHabibMedicalService/EReferral/get_all_projects_response_model.dart b/lib/core/model/AlHabibMedicalService/EReferral/get_all_projects_response_model.dart
new file mode 100644
index 00000000..438f1630
--- /dev/null
+++ b/lib/core/model/AlHabibMedicalService/EReferral/get_all_projects_response_model.dart
@@ -0,0 +1,76 @@
+class GetAllProjectsResponseModel {
+ String desciption;
+ Null desciptionN;
+ int iD;
+ String legalName;
+ String legalNameN;
+ String name;
+ Null nameN;
+ String phoneNumber;
+ String setupID;
+ int distanceInKilometers;
+ bool isActive;
+ String latitude;
+ String longitude;
+ int mainProjectID;
+ Null projectOutSA;
+ bool usingInDoctorApp;
+
+ GetAllProjectsResponseModel(
+ {this.desciption,
+ this.desciptionN,
+ this.iD,
+ this.legalName,
+ this.legalNameN,
+ this.name,
+ this.nameN,
+ this.phoneNumber,
+ this.setupID,
+ this.distanceInKilometers,
+ this.isActive,
+ this.latitude,
+ this.longitude,
+ this.mainProjectID,
+ this.projectOutSA,
+ this.usingInDoctorApp});
+
+ GetAllProjectsResponseModel.fromJson(Map json) {
+ desciption = json['Desciption'];
+ desciptionN = json['DesciptionN'];
+ iD = json['ID'];
+ legalName = json['LegalName'];
+ legalNameN = json['LegalNameN'];
+ name = json['Name'];
+ nameN = json['NameN'];
+ phoneNumber = json['PhoneNumber'];
+ setupID = json['SetupID'];
+ distanceInKilometers = json['DistanceInKilometers'];
+ isActive = json['IsActive'];
+ latitude = json['Latitude'];
+ longitude = json['Longitude'];
+ mainProjectID = json['MainProjectID'];
+ projectOutSA = json['ProjectOutSA'];
+ usingInDoctorApp = json['UsingInDoctorApp'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['Desciption'] = this.desciption;
+ data['DesciptionN'] = this.desciptionN;
+ data['ID'] = this.iD;
+ data['LegalName'] = this.legalName;
+ data['LegalNameN'] = this.legalNameN;
+ data['Name'] = this.name;
+ data['NameN'] = this.nameN;
+ data['PhoneNumber'] = this.phoneNumber;
+ data['SetupID'] = this.setupID;
+ data['DistanceInKilometers'] = this.distanceInKilometers;
+ data['IsActive'] = this.isActive;
+ data['Latitude'] = this.latitude;
+ data['Longitude'] = this.longitude;
+ data['MainProjectID'] = this.mainProjectID;
+ data['ProjectOutSA'] = this.projectOutSA;
+ data['UsingInDoctorApp'] = this.usingInDoctorApp;
+ return data;
+ }
+}
diff --git a/lib/core/model/AlHabibMedicalService/EReferral/get_ereferral_response_model.dart b/lib/core/model/AlHabibMedicalService/EReferral/get_ereferral_response_model.dart
new file mode 100644
index 00000000..e873261d
--- /dev/null
+++ b/lib/core/model/AlHabibMedicalService/EReferral/get_ereferral_response_model.dart
@@ -0,0 +1,128 @@
+class GetEReferralResponseModel {
+ dynamic acceptedBrachCode;
+ dynamic acceptedBranchName;
+ dynamic acceptedBranchNameAr;
+ Channel channel;
+ dynamic identityCardAttachment;
+ String identityNumber;
+ dynamic insuranceCardAttachment;
+ bool isInsuredPatient;
+ String otherRelationship;
+ String patientContactNo;
+ int patientId;
+ String patientName;
+ int preferredBranchCode;
+ String preferredBranchName;
+ String referralDate;
+ int referralNumber;
+ Channel relationshipType;
+ String requesterContactNo;
+ String requesterName;
+ String status;
+ String statusAr;
+
+ GetEReferralResponseModel(
+ {this.acceptedBrachCode,
+ this.acceptedBranchName,
+ this.acceptedBranchNameAr,
+ this.channel,
+ this.identityCardAttachment,
+ this.identityNumber,
+ this.insuranceCardAttachment,
+ this.isInsuredPatient,
+ this.otherRelationship,
+ this.patientContactNo,
+ this.patientId,
+ this.patientName,
+ this.preferredBranchCode,
+ this.preferredBranchName,
+ this.referralDate,
+ this.referralNumber,
+ this.relationshipType,
+ this.requesterContactNo,
+ this.requesterName,
+ this.status,
+ this.statusAr});
+
+ GetEReferralResponseModel.fromJson(Map json) {
+ acceptedBrachCode = json['AcceptedBrachCode'];
+ acceptedBranchName = json['AcceptedBranchName'];
+ acceptedBranchNameAr = json['AcceptedBranchNameAr'];
+ channel =
+ json['Channel'] != null ? new Channel.fromJson(json['Channel']) : null;
+ identityCardAttachment = json['IdentityCardAttachment'];
+ identityNumber = json['IdentityNumber'];
+ insuranceCardAttachment = json['InsuranceCardAttachment'];
+ isInsuredPatient = json['IsInsuredPatient'];
+ otherRelationship = json['OtherRelationship'];
+ patientContactNo = json['PatientContactNo'];
+ patientId = json['PatientId'];
+ patientName = json['PatientName'];
+ preferredBranchCode = json['PreferredBranchCode'];
+ preferredBranchName = json['PreferredBranchName'];
+ referralDate = json['ReferralDate'];
+ referralNumber = json['ReferralNumber'];
+ relationshipType = json['RelationshipType'] != null
+ ? new Channel.fromJson(json['RelationshipType'])
+ : null;
+ requesterContactNo = json['RequesterContactNo'];
+ requesterName = json['RequesterName'];
+ status = json['Status'];
+ statusAr = json['StatusAr'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['AcceptedBrachCode'] = this.acceptedBrachCode;
+ data['AcceptedBranchName'] = this.acceptedBranchName;
+ data['AcceptedBranchNameAr'] = this.acceptedBranchNameAr;
+ if (this.channel != null) {
+ data['Channel'] = this.channel.toJson();
+ }
+ data['IdentityCardAttachment'] = this.identityCardAttachment;
+ data['IdentityNumber'] = this.identityNumber;
+ data['InsuranceCardAttachment'] = this.insuranceCardAttachment;
+ data['IsInsuredPatient'] = this.isInsuredPatient;
+ data['OtherRelationship'] = this.otherRelationship;
+ data['PatientContactNo'] = this.patientContactNo;
+ data['PatientId'] = this.patientId;
+ data['PatientName'] = this.patientName;
+ data['PreferredBranchCode'] = this.preferredBranchCode;
+ data['PreferredBranchName'] = this.preferredBranchName;
+ data['ReferralDate'] = this.referralDate;
+ data['ReferralNumber'] = this.referralNumber;
+ if (this.relationshipType != null) {
+ data['RelationshipType'] = this.relationshipType.toJson();
+ }
+ data['RequesterContactNo'] = this.requesterContactNo;
+ data['RequesterName'] = this.requesterName;
+ data['Status'] = this.status;
+ data['StatusAr'] = this.statusAr;
+ return data;
+ }
+}
+
+class Channel {
+ int iD;
+ String text;
+ String textAr;
+ String textEn;
+
+ Channel({this.iD, this.text, this.textAr, this.textEn});
+
+ Channel.fromJson(Map json) {
+ iD = json['ID'];
+ text = json['Text'];
+ textAr = json['Text_Ar'];
+ textEn = json['Text_En'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['ID'] = this.iD;
+ data['Text'] = this.text;
+ data['Text_Ar'] = this.textAr;
+ data['Text_En'] = this.textEn;
+ return data;
+ }
+}
diff --git a/lib/core/model/pharmacies/Addresses.dart b/lib/core/model/pharmacies/Addresses.dart
index 74d5a591..b00b1a17 100644
--- a/lib/core/model/pharmacies/Addresses.dart
+++ b/lib/core/model/pharmacies/Addresses.dart
@@ -17,6 +17,7 @@ class Addresses {
String createdOnUtc;
String province;
String latLong;
+ bool isChecked;
Addresses(
{this.id,
@@ -36,7 +37,8 @@ class Addresses {
this.customerAttributes,
this.createdOnUtc,
this.province,
- this.latLong});
+ this.latLong,
+ this.isChecked = false});
Addresses.fromJson(Map json) {
id = json['id'];
@@ -57,6 +59,7 @@ class Addresses {
createdOnUtc = json['created_on_utc'];
province = json['province'];
latLong = json['lat_long'];
+ isChecked = json['isChecked'];
}
Map toJson() {
@@ -79,6 +82,7 @@ class Addresses {
data['created_on_utc'] = this.createdOnUtc;
data['province'] = this.province;
data['lat_long'] = this.latLong;
+ data['isChecked'] = this.isChecked;
return data;
}
diff --git a/lib/core/model/pharmacies/BillingAddress.dart b/lib/core/model/pharmacies/BillingAddress.dart
new file mode 100644
index 00000000..765ac54d
--- /dev/null
+++ b/lib/core/model/pharmacies/BillingAddress.dart
@@ -0,0 +1,84 @@
+class BillingAddress {
+ String id;
+ String firstName;
+ String lastName;
+ String email;
+ String company;
+ int countryId;
+ String country;
+ String stateProvinceId;
+ String city;
+ String address1;
+ String address2;
+ String zipPostalCode;
+ String phoneNumber;
+ String faxNumber;
+ String customerAttributes;
+ String createdOnUtc;
+ String province;
+ String latLong;
+
+ BillingAddress(
+ {this.id,
+ this.firstName,
+ this.lastName,
+ this.email,
+ this.company,
+ this.countryId,
+ this.country,
+ this.stateProvinceId,
+ this.city,
+ this.address1,
+ this.address2,
+ this.zipPostalCode,
+ this.phoneNumber,
+ this.faxNumber,
+ this.customerAttributes,
+ this.createdOnUtc,
+ this.province,
+ this.latLong});
+
+ BillingAddress.fromJson(Map json) {
+ id = json['id'];
+ firstName = json['first_name'];
+ lastName = json['last_name'];
+ email = json['email'];
+ company = json['company'];
+ countryId = json['country_id'];
+ country = json['country'];
+ stateProvinceId = json['state_province_id'];
+ city = json['city'];
+ address1 = json['address1'];
+ address2 = json['address2'];
+ zipPostalCode = json['zip_postal_code'];
+ phoneNumber = json['phone_number'];
+ faxNumber = json['fax_number'];
+ customerAttributes = json['customer_attributes'];
+ createdOnUtc = json['created_on_utc'];
+ province = json['province'];
+ latLong = json['lat_long'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['id'] = this.id;
+ data['first_name'] = this.firstName;
+ data['last_name'] = this.lastName;
+ data['email'] = this.email;
+ data['company'] = this.company;
+ data['country_id'] = this.countryId;
+ data['country'] = this.country;
+ data['state_province_id'] = this.stateProvinceId;
+ data['city'] = this.city;
+ data['address1'] = this.address1;
+ data['address2'] = this.address2;
+ data['zip_postal_code'] = this.zipPostalCode;
+ data['phone_number'] = this.phoneNumber;
+ data['fax_number'] = this.faxNumber;
+ data['customer_attributes'] = this.customerAttributes;
+ data['created_on_utc'] = this.createdOnUtc;
+ data['province'] = this.province;
+ data['lat_long'] = this.latLong;
+ return data;
+ }
+}
diff --git a/lib/core/model/pharmacies/Country.dart b/lib/core/model/pharmacies/Country.dart
new file mode 100644
index 00000000..77f519d3
--- /dev/null
+++ b/lib/core/model/pharmacies/Country.dart
@@ -0,0 +1,32 @@
+class CountryData {
+ int id;
+ String name;
+ String namen;
+ String twoLetterIsoCode;
+ String threeLetterIsoCode;
+
+ CountryData(
+ {this.id,
+ this.name,
+ this.namen,
+ this.twoLetterIsoCode,
+ this.threeLetterIsoCode});
+
+ CountryData.fromJson(Map json) {
+ id = json['id'];
+ name = json['name'];
+ namen = json['namen'];
+ twoLetterIsoCode = json['two_letter_iso_code'];
+ threeLetterIsoCode = json['three_letter_iso_code'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['id'] = this.id;
+ data['name'] = this.name;
+ data['namen'] = this.namen;
+ data['two_letter_iso_code'] = this.twoLetterIsoCode;
+ data['three_letter_iso_code'] = this.threeLetterIsoCode;
+ return data;
+ }
+}
diff --git a/lib/core/model/pharmacies/Customer.dart b/lib/core/model/pharmacies/Customer.dart
index a5311489..e3defbbe 100644
--- a/lib/core/model/pharmacies/Customer.dart
+++ b/lib/core/model/pharmacies/Customer.dart
@@ -1,4 +1,10 @@
+import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart';
+import 'package:diplomaticquarterapp/core/model/pharmacies/BillingAddress.dart';
+
class Customer {
+ BillingAddress billingAddress;
+ BillingAddress shippingAddress;
+ List addresses;
String fileNumber;
String iqamaNumber;
int isOutSa;
@@ -8,8 +14,6 @@ class Customer {
String phone;
String countryCode;
String yahalaAccountno;
- String billingAddress;
- String shippingAddress;
String id;
String username;
String email;
@@ -17,50 +21,63 @@ class Customer {
String lastName;
String languageId;
String adminComment;
- String isTaxExempt;
- String hasShoppingCartItems;
- String active;
- String deleted;
- String isSystemAccount;
+ bool isTaxExempt;
+ bool hasShoppingCartItems;
+ bool active;
+ bool deleted;
+ bool isSystemAccount;
String systemName;
String lastIpAddress;
String createdOnUtc;
String lastLoginDateUtc;
String lastActivityDateUtc;
- String registeredInStoreId;
+ int registeredInStoreId;
Customer(
- {this.fileNumber,
- this.iqamaNumber,
- this.isOutSa,
- this.patientType,
- this.gender,
- this.birthDate,
- this.phone,
- this.countryCode,
- this.yahalaAccountno,
- this.billingAddress,
- this.shippingAddress,
- this.id,
- this.username,
- this.email,
- this.firstName,
- this.lastName,
- this.languageId,
- this.adminComment,
- this.isTaxExempt,
- this.hasShoppingCartItems,
- this.active,
- this.deleted,
- this.isSystemAccount,
- this.systemName,
- this.lastIpAddress,
- this.createdOnUtc,
- this.lastLoginDateUtc,
- this.lastActivityDateUtc,
- this.registeredInStoreId});
+ {this.billingAddress,
+ this.shippingAddress,
+ this.addresses,
+ this.fileNumber,
+ this.iqamaNumber,
+ this.isOutSa,
+ this.patientType,
+ this.gender,
+ this.birthDate,
+ this.phone,
+ this.countryCode,
+ this.yahalaAccountno,
+ this.id,
+ this.username,
+ this.email,
+ this.firstName,
+ this.lastName,
+ this.languageId,
+ this.adminComment,
+ this.isTaxExempt,
+ this.hasShoppingCartItems,
+ this.active,
+ this.deleted,
+ this.isSystemAccount,
+ this.systemName,
+ this.lastIpAddress,
+ this.createdOnUtc,
+ this.lastLoginDateUtc,
+ this.lastActivityDateUtc,
+ this.registeredInStoreId});
Customer.fromJson(Map json) {
+ billingAddress = json['billing_address'] != null
+ ? new BillingAddress.fromJson(json['billing_address'])
+ : null;
+ shippingAddress = json['shipping_address'] != null
+ ? new BillingAddress.fromJson(json['shipping_address'])
+ : null;
+ if (json['addresses'] != null) {
+ addresses = new List();
+ json['addresses'].forEach((v) {
+ addresses.add(new Addresses.fromJson(v));
+ });
+ }
fileNumber = json['file_number'];
iqamaNumber = json['iqama_number'];
isOutSa = json['is_out_sa'];
@@ -70,8 +87,6 @@ class Customer {
phone = json['phone'];
countryCode = json['country_code'];
yahalaAccountno = json['yahala_accountno'];
- billingAddress = json['billing_address'];
- shippingAddress = json['shipping_address'];
id = json['id'];
username = json['username'];
email = json['email'];
@@ -94,6 +109,15 @@ class Customer {
Map toJson() {
final Map data = new Map();
+ if (this.billingAddress != null) {
+ data['billing_address'] = this.billingAddress.toJson();
+ }
+ if (this.shippingAddress != null) {
+ data['shipping_address'] = this.shippingAddress.toJson();
+ }
+ if (this.addresses != null) {
+ data['addresses'] = this.addresses.map((v) => v.toJson()).toList();
+ }
data['file_number'] = this.fileNumber;
data['iqama_number'] = this.iqamaNumber;
data['is_out_sa'] = this.isOutSa;
@@ -103,8 +127,6 @@ class Customer {
data['phone'] = this.phone;
data['country_code'] = this.countryCode;
data['yahala_accountno'] = this.yahalaAccountno;
- data['billing_address'] = this.billingAddress;
- data['shipping_address'] = this.shippingAddress;
data['id'] = this.id;
data['username'] = this.username;
data['email'] = this.email;
@@ -125,4 +147,4 @@ class Customer {
data['registered_in_store_id'] = this.registeredInStoreId;
return data;
}
-}
\ No newline at end of file
+}
diff --git a/lib/core/model/pharmacies/LacumAccountInformation.dart b/lib/core/model/pharmacies/LacumAccountInformation.dart
new file mode 100644
index 00000000..4f1d0455
--- /dev/null
+++ b/lib/core/model/pharmacies/LacumAccountInformation.dart
@@ -0,0 +1,1926 @@
+import 'LakumInquiryInformationObjVersion.dart';
+
+class LacumAccountInformation {
+
+ String date;
+ int languageID;
+ int serviceName;
+ String time;
+ String androidLink;
+ String authenticationTokenID;
+ String data;
+ bool dataw;
+ int dietType;
+ String errorCode;
+ String errorEndUserMessage;
+ String errorEndUserMessageN;
+ String errorMessage;
+ int errorType;
+ int foodCategory;
+ String iOSLink;
+ bool isAuthenticated;
+ int mealOrderStatus;
+ int mealType;
+ int messageStatus;
+ int numberOfResultRecords;
+ String patientBlodType;
+ String successMsg;
+ String successMsgN;
+ int accountStatus;
+ String activeArchiveObject;
+ int activeMedicationCount;
+ String allMedicationTakenDuringAdmissionList;
+ int appointmentNo;
+ String arePatientsOnlineList;
+ String balanceAmount;
+ String bloodGroupList;
+ int cVIUnreadCount;
+ String checkUserHasAccount;
+ int complaintNo;
+ String dischargeList;
+ int episodeID;
+ String finalRadiologyList;
+ String fullName;
+ String geoFPointsList;
+ String geoGetPateintInfo;
+ String getAllDoctorsByProjectAndClinicList;
+ String getAppointmentNumbersForDoctorList;
+ String getCheckUpItemsList;
+ String getCosmeticConferenceForTodayList;
+ String getDoctorERClinicResult;
+ String getInvoiceApprovalList;
+ String getNearestProjectList;
+ String getPatientAdmissionOrAppoinmentNoList;
+ String getPatientBloodType;
+ String getPatientInsuranceCardStatusStatisticsList;
+ String getSurveyList;
+ String getTotalRegisteredPatientList;
+ String getUserDetailsList;
+ String getCustomerPointInfo;
+ String hISApprovalList;
+ String hISInpAdmissionList;
+ String hISProgNoteAssesmentModelList;
+ String hMGGetAllOffersList;
+ bool hasApproval;
+ bool hasConsultation;
+ bool hasDental;
+ bool hasLab;
+ bool hasPharmacy;
+ bool hasRad;
+ String hmgSMSGetByProjectIDAndPatientIDList;
+ int hoursLeft;
+ String iNPMGetAllAdmissionList;
+ String iNPMGetPatientInfoForSickLeaveReportList;
+ String iNPMHISPatientMedicalStatusUnreadCount;
+ String iNPMLABGetPatientLabOrdersResultsList;
+ String iNPMLABGetPatientLabResultsList;
+ String iNPMLABGetPatientRADReportList;
+ String iNPMLABGetPatientRadResultsList;
+ String iNPMRadGetPatientRadOrdersCVIList;
+ String iNPMRadGetPatientRadOrdersList;
+ String iNPMRadGetRadMedicalRecordsList;
+ String iNPGetPrescriptionDischargesList;
+ String iNPGetPrescriptionReportList;
+ String identificationNo;
+ bool isHomeMedicineDeliverySupported;
+ int isInsertedOrUpdated;
+ bool isMainAcoountEqualPatienID;
+ bool isPatientAlreadyAgreed;
+ bool isPatientCallBackBlackList;
+ bool isPatientHaveFingerPrint;
+ bool isPatientOnline;
+ bool isPatientTokenRemoved;
+ bool isPaused;
+ bool isProjectWorkingHours;
+ String isStoreRateAllowed;
+ String isStoreRateInserted;
+ String isStoreRateUpdated;
+ int labRadUpdatedToRead;
+ int labReportUnreadNo;
+ String lakumInquiryInformationObj;
+ LakumInquiryInformationObjVersion lakumInquiryInformationObjVersion;
+ String lakumResponseList;
+ String laserGetBodyPartsByCategoryList;
+ String laserGetCategoriesList;
+ String list;
+ int listCount;
+ int listCountDeliverd;
+ int listCountUnDeliverd;
+ String listDeviceInfo;
+ String listFamilyAppointments;
+ String listLabResultsByAppNo;
+ String listLakumInquiryInformationObj;
+ String listOpinionGetAllPeriod;
+ String listOpinionGetAllServices;
+ String listOpinionGetIsAgreeValue;
+ String listOpinionGetOpinionLogin;
+ String listOpinionGetRequestedSerives;
+ String listOpinionGetShareServicesDetails;
+ String listOpinionUserTerms;
+ String listPLO;
+ String listPLR;
+ String listPLSR;
+ String listPRM;
+ String listPatientFamilyFiles;
+ String listPatientFileInfo;
+ String listRAD;
+ String listRADAPI;
+ String listActiveGetPrescriptionReportByPatientID;
+ String listAppointmentsForDentalClinic;
+ String listBabyInfoResult;
+ String listCheckInsuranceCoverage;
+ String listCompanyClass;
+ String listConsentMedicalReport;
+ String listDentalAppointments;
+ String listDeviceTokenIDByAppointmentNo;
+ String listDischargeDiagnosis;
+ String listDischargeMedicine;
+ String listDischargeSummary;
+ String listDoctorResponse;
+ String listDoneVaccines;
+ String listEReferralResult;
+ String listEReferrals;
+ String listGetAllPatientsLiveCareAdmin;
+ String listGetDataForExcel;
+ String listGetMainCountID;
+ String listGetPrescriptionReportByPatientID;
+ String listGetSickLeave;
+ String listHISInvoice;
+ String listHISInvoiceProcedures;
+ String listInpatientInvoices;
+ String listInsuranceCheckList;
+ String listInsuranceCompanies;
+ String listInsuranceCompaniesGroup;
+ String listInsuranceUpdateDetails;
+ String listInvoiceApprovalProcedureInfo;
+ String listIsLastSatisfactionSurveyReviewedModel;
+ String listLabOrderDetailsModel;
+ String listMedicalReport;
+ String listMedicalReportApprovals;
+ String listMedicalReportStatus;
+ String listMonthBloodPressureResult;
+ String listMonthBloodPressureResultAverage;
+ String listMonthDiabtecPatientResult;
+ String listMonthDiabtectResultAverage;
+ String listMonthWeightMeasurementResult;
+ String listMonthWeightMeasurementResultAverage;
+ String listOnlinePrescriptionResult;
+ String listOutPatientInvoices;
+ String listPHRInvoice;
+ String listPHRInvoiceItems;
+ String listPHRPaymentMethods;
+ String listPateintDetails;
+ String listPateintInformation;
+ String listPatientAdmissionInfo;
+ String listPatientAdvanceBalanceAmount;
+ String listPatientCallBackLogs;
+ String listPatientCallBackToUpdateFromICServer;
+ String listPatientCount;
+ String listPatientDashboard;
+ String listPatientERGetAdminClinicsModel;
+ String listPatientERGetAdminProjectsModel;
+ String listPatientERGetAllClinicsModel;
+ String listPatientHISInvoices;
+ String listPatientICProjects;
+ String listPatientICProjectsByID;
+ String listPatientICProjectsTimings;
+ String listPatientIDByUID;
+ String listPatientIDForSurveyResult;
+ String listPatientInfo;
+ String listPatientInfoForDDScreen;
+ String listPatientInfoForSickleaveReport;
+ String listPatientInsuranceCard;
+ String listPatientInsuranceCardHistory;
+ String listPatientInsuranceDetails;
+ String listPatientPHRInvoices;
+ String listPatientServicePoint;
+ String listPatientStatusCount;
+ String listPatientChatRequestMapModel;
+ String listPatientChatRequestModel;
+ String listPatientChatRequestVCModel;
+ String listPaymentMethods;
+ String listPointServices;
+ String listPregnancyStagesInfo;
+ String listProjectAvgERWaitingTime;
+ String listProjectAvgERWaitingTimeHourly;
+ String listRadMedicalRecords;
+ String listRadMedicalRecordsAPI;
+ String listRadMedicalRecordsCVI;
+ String listRadMedicalRecordsCVIAPI;
+ String listRadMedicalRecordsResults;
+ String listSickLeave;
+ String listTransaction;
+ String listVideoConferenceSessions;
+ String listWeekBloodPressureResult;
+ String listWeekBloodPressureResultAverage;
+ String listWeekDiabtecPatientResult;
+ String listWeekDiabtectResultAverage;
+ String listWeekWeightMeasurementResult;
+ String listWeekWeightMeasurementResultAverage;
+ String listYearBloodPressureResult;
+ String listYearBloodPressureResultAverage;
+ String listYearDiabtecPatientResult;
+ String listYearDiabtecResultAverage;
+ String listYearWeightMeasurementResult;
+ String listYearWeightMeasurementResultAverage;
+ String listEInvoiceForDental;
+ String listEInvoiceForOnlineCheckIn;
+ String medGetActivitiesTransactionsStsList;
+ String medGetAvgMonthTransactionsStsList;
+ String medGetAvgWeekTransactionsStsList;
+ String medGetCategoriesList;
+ String medGetMonthActivitiesTransactionsStsList;
+ String medGetMonthStepsTransactionsStsList;
+ String medGetMonthTransactionsStsList;
+ String medGetPatientLastRecordList;
+ String medGetSubCategoriesList;
+ String medGetTransactionsAndActTransactionsResult;
+ String medGetTransactionsList;
+ String medGetWeekActivitiesTransactionsStsList;
+ String medGetWeekStepsTransactionsStsList;
+ String medGetWeekTransactionsStsList;
+ String medGetYearActivitiesTransactionsStsList;
+ String medGetYearSleepTransactionsStsList;
+ String medGetYearStepsTransactionsStsList;
+ String medGetYearTransactionsStsList;
+ String medInsertTransactionsOutputsList;
+ String medicalRecordImages;
+ int medicalReportToRead;
+ int medicalReportUnreadNo;
+ bool missingIDCardAttachment;
+ bool missingInsuranceCardAttachment;
+ bool missingMedicalReportAttachment;
+ bool missingOtherRelationship;
+ bool missingPatientContactNo;
+ bool missingPatientId;
+ bool missingPatientIdentityNumber;
+ bool missingPatientName;
+ bool missingReferralContactNo;
+ bool missingReferralRelationship;
+ bool missingReferralRequesterName;
+ String mobileNumber;
+ int nationalityNumber;
+ String onlineCheckInAppointments;
+ String opinionUserAgreementContent;
+ bool orderInsert;
+ String pateintInfoForUpdateList;
+ String pateintUpatedList;
+ String patientBirthdayCertificate;
+ String patientERCMCRequestSummaryByProject;
+ String patientERCMCRequestWithTotal;
+ String patientERCMCGetAllServicesList;
+ String patientERCMCGetTransactionsForOrderList;
+ String patientERCoordinates;
+ String patientERCountOrderList;
+ String patientERCountsForApprovalOffice;
+ String patientERDeleteOldCurrentDoctorsOutputsList;
+ String patientERDeliveryGetAllDeliverdOrderList;
+ String patientERDeliveryGetAllOrderList;
+ bool patientERDeliveryIsOrderInserted;
+ bool patientERDeliveryIsOrderUpdated;
+ bool patientERDeliveryIsPausedChanged;
+ String patientERDeliveryNextOrder;
+ int patientERDeliveryOrderInsert;
+ int patientERDeliveryUpdateOrderStatus;
+ bool patientERDriverUpdate;
+ String patientERExacartCheckIsDispenseAccpetableList;
+ String patientERExacartGetDispenseQuantitiesByOrderIDList;
+ String patientERExacartGetOrderDetailsByePharmacyOrderNoList;
+ String patientERExacartGetOrderDetailsList;
+ String patientERExacartGetTotalDispenseQuantitiesByPresNoList;
+ bool patientERExacartIsDispenseAdded;
+ String patientERExacartIsDispenseAddedList;
+ bool patientERExacartIsOrderCompleted;
+ String patientERGetAdminByProjectAndRoleList;
+ String patientERGetAdminProjectsList;
+ String patientERGetAllDriversList;
+ String patientERGetAllNeedAproveStatusList;
+ String patientERGetAllPresOrdersStatusList;
+ String patientERGetAllProjectsList;
+ String patientERGetArchiveInformationList;
+ String patientERGetAskDoctorTotalByDateFilterList;
+ String patientERGetBookScheduleConfigsList;
+ String patientERGetClinicAndTimeAndEpisodeForAppointmentList;
+ String patientERGetClinicAndTimeForDischargeList;
+ String patientERGetDashboardDataforApporvalSectionForAdminList;
+ String patientERGetDashboardDataforApporvalSectionList;
+ String patientERGetDashboardDataforHHCSectionForAdminList;
+ String patientERGetDashboardDataforHHCSectionList;
+ String patientERGetDashboardDataforPrescriptionSectionForAdminList;
+ String patientERGetDashboardDataforPrescriptionSectionList;
+ String patientERGetDoctorDashboardDataModelList;
+ String patientERGetDriverLocationList;
+ String patientERGetInsuranceCardRequestByDateFilterList;
+ String patientERGetLiveCareSummaryBookedAppoinmentStatusList;
+ String patientERGetLiveCareSummaryCovidList;
+ String patientERGetLiveCareSummaryForCMCList;
+ String patientERGetLiveCareSummaryForHHCList;
+ String patientERGetLiveCareSummaryForHomeDeliveryList;
+ String patientERGetLiveCareSummaryForInsuranceCardRequestList;
+ String patientERGetLiveCareSummaryForNewFilesList;
+ String patientERGetLiveCareSummaryForOnlinePaymetRequestList;
+ String patientERGetLiveCareSummaryForOnlinePharmacyOrdersList;
+ String patientERGetLiveCareSummaryForTrasnportationList;
+ String patientERGetLiveCareSummaryLiveCareCountsList;
+ String patientERGetMedicalRequestTotalByDateFilterList;
+ String patientERGetNearestPendingOrdersList;
+ String patientERGetNeedAproveHistoryForOrderList;
+ String patientERGetNeedAprovePendingOrdersList;
+ String patientERGetNeedAproveStatusStatisticsList;
+ String patientERGetPatientAllPresOrdersList;
+ String patientERGetPendingPatientsCountList;
+ String patientERGetPresOrdersHistoryForAdminList;
+ String patientERGetPresOrdersHistoryForOrderList;
+ String patientERGetPresOrdersStatusStatisticsList;
+ String patientERHHCRequest;
+ String patientERHHCRequestSummaryByProject;
+ String patientERHHCRequestWithTotal;
+ String patientERHHCGetAllServicesList;
+ String patientERHHCGetTransactionsForOrderList;
+ String patientERHomeDeliveryCounts;
+ bool patientERInsertDriver;
+ String patientERInsertNewCurrentDoctorsOutputsList;
+ String patientERInsuranceStatusCountList;
+ bool patientERIsNearestProjectUpdated;
+ bool patientERIsNeedAproveReturnedToQueue;
+ bool patientERIsNeedAproveUpdated;
+ bool patientERIsOrderClientRequestUpdated;
+ bool patientERIsOrderReturnedToQueue;
+ bool patientERIsPresOrderInserted;
+ bool patientERIsPresOrderUpdated;
+ bool patientERIsProjectUpdated;
+ String patientERNotCompletedDetails;
+ String patientERPatientsCountByCallStatus;
+ String patientERPeakHourCounts;
+ String patientERPresOrderInfo;
+ String patientERPrescriptionCounts;
+ String patientERProjectsContribution;
+ String patientERRRTGetAllQuestionsList;
+ String patientERRRTGetAllTransportationMethodList;
+ String patientERRRTGetPickUpRequestByPresOrderIDList;
+ String patientERRealRRTGetAllServicesList;
+ String patientERRealRRTGetOrderDetailsList;
+ String patientERRealRRTGetTransactionsForOrderList;
+ bool patientERRealRRTIsTransInserted;
+ String patientERRequestList;
+ String patientERTransportationRequestWithTotal;
+ String patientERealRRTGetServicePriceList;
+ String patientInfoByAdmissionNoList;
+ String patientMonitorGetPatientHeartRate;
+ int patientNotServedCounts;
+ String patientPrescriptionList;
+ String patientAllergies;
+ String patientCheckAppointmentValidationList;
+ String patientLoginTokenList;
+ String patientQRLoginInfoList;
+ String patientSELECTDeviceIMEIbyIMEIList;
+ String pharmList;
+ String prefLang;
+ int radReportUnreadNo;
+ String radGetPatientRadOrdersForDentalList;
+ int referralNumber;
+ String reminderConfigurations;
+ String requestNo;
+ int rowCount;
+ String servicePrivilegeList;
+ String shareFamilyFileObj;
+ String status;
+ int successCode;
+ String surveyRate;
+ String symptomCheckerConditionList;
+ String symptomCheckerGetAllDefaultQuestionsList;
+ String symptomCheckerGetBodyPartSymptomsList;
+ String symptomCheckerGetBodyPartsByCodeList;
+ String symptomCheckerGetBodyPartsList;
+ String symptomCheckerJsonResponseInString;
+ int timerTime;
+ int totalAdvanceBalanceAmount;
+ int totalPatientsCount;
+ int totalPendingApprovalCount;
+ int totalUnUsedCount;
+ int transactionNo;
+ int unReadCounts;
+ bool updateStatus;
+ String userAgreementContent;
+ int yahalaAccountNo;
+ bool check24HourComplaint;
+ String currency;
+ String message;
+ int patientID;
+ int returnValue;
+ String returnValueStr;
+ int statusCode;
+
+ LacumAccountInformation(
+ {this.date,
+ this.languageID,
+ this.serviceName,
+ this.time,
+ this.androidLink,
+ this.authenticationTokenID,
+ this.data,
+ this.dataw,
+ this.dietType,
+ this.errorCode,
+ this.errorEndUserMessage,
+ this.errorEndUserMessageN,
+ this.errorMessage,
+ this.errorType,
+ this.foodCategory,
+ this.iOSLink,
+ this.isAuthenticated,
+ this.mealOrderStatus,
+ this.mealType,
+ this.messageStatus,
+ this.numberOfResultRecords,
+ this.patientBlodType,
+ this.successMsg,
+ this.successMsgN,
+ this.accountStatus,
+ this.activeArchiveObject,
+ this.activeMedicationCount,
+ this.allMedicationTakenDuringAdmissionList,
+ this.appointmentNo,
+ this.arePatientsOnlineList,
+ this.balanceAmount,
+ this.bloodGroupList,
+ this.cVIUnreadCount,
+ this.checkUserHasAccount,
+ this.complaintNo,
+ this.dischargeList,
+ this.episodeID,
+ this.finalRadiologyList,
+ this.fullName,
+ this.geoFPointsList,
+ this.geoGetPateintInfo,
+ this.getAllDoctorsByProjectAndClinicList,
+ this.getAppointmentNumbersForDoctorList,
+ this.getCheckUpItemsList,
+ this.getCosmeticConferenceForTodayList,
+ this.getDoctorERClinicResult,
+ this.getInvoiceApprovalList,
+ this.getNearestProjectList,
+ this.getPatientAdmissionOrAppoinmentNoList,
+ this.getPatientBloodType,
+ this.getPatientInsuranceCardStatusStatisticsList,
+ this.getSurveyList,
+ this.getTotalRegisteredPatientList,
+ this.getUserDetailsList,
+ this.getCustomerPointInfo,
+ this.hISApprovalList,
+ this.hISInpAdmissionList,
+ this.hISProgNoteAssesmentModelList,
+ this.hMGGetAllOffersList,
+ this.hasApproval,
+ this.hasConsultation,
+ this.hasDental,
+ this.hasLab,
+ this.hasPharmacy,
+ this.hasRad,
+ this.hmgSMSGetByProjectIDAndPatientIDList,
+ this.hoursLeft,
+ this.iNPMGetAllAdmissionList,
+ this.iNPMGetPatientInfoForSickLeaveReportList,
+ this.iNPMHISPatientMedicalStatusUnreadCount,
+ this.iNPMLABGetPatientLabOrdersResultsList,
+ this.iNPMLABGetPatientLabResultsList,
+ this.iNPMLABGetPatientRADReportList,
+ this.iNPMLABGetPatientRadResultsList,
+ this.iNPMRadGetPatientRadOrdersCVIList,
+ this.iNPMRadGetPatientRadOrdersList,
+ this.iNPMRadGetRadMedicalRecordsList,
+ this.iNPGetPrescriptionDischargesList,
+ this.iNPGetPrescriptionReportList,
+ this.identificationNo,
+ this.isHomeMedicineDeliverySupported,
+ this.isInsertedOrUpdated,
+ this.isMainAcoountEqualPatienID,
+ this.isPatientAlreadyAgreed,
+ this.isPatientCallBackBlackList,
+ this.isPatientHaveFingerPrint,
+ this.isPatientOnline,
+ this.isPatientTokenRemoved,
+ this.isPaused,
+ this.isProjectWorkingHours,
+ this.isStoreRateAllowed,
+ this.isStoreRateInserted,
+ this.isStoreRateUpdated,
+ this.labRadUpdatedToRead,
+ this.labReportUnreadNo,
+ this.lakumInquiryInformationObj,
+ this.lakumInquiryInformationObjVersion,
+ this.lakumResponseList,
+ this.laserGetBodyPartsByCategoryList,
+ this.laserGetCategoriesList,
+ this.list,
+ this.listCount,
+ this.listCountDeliverd,
+ this.listCountUnDeliverd,
+ this.listDeviceInfo,
+ this.listFamilyAppointments,
+ this.listLabResultsByAppNo,
+ this.listLakumInquiryInformationObj,
+ this.listOpinionGetAllPeriod,
+ this.listOpinionGetAllServices,
+ this.listOpinionGetIsAgreeValue,
+ this.listOpinionGetOpinionLogin,
+ this.listOpinionGetRequestedSerives,
+ this.listOpinionGetShareServicesDetails,
+ this.listOpinionUserTerms,
+ this.listPLO,
+ this.listPLR,
+ this.listPLSR,
+ this.listPRM,
+ this.listPatientFamilyFiles,
+ this.listPatientFileInfo,
+ this.listRAD,
+ this.listRADAPI,
+ this.listActiveGetPrescriptionReportByPatientID,
+ this.listAppointmentsForDentalClinic,
+ this.listBabyInfoResult,
+ this.listCheckInsuranceCoverage,
+ this.listCompanyClass,
+ this.listConsentMedicalReport,
+ this.listDentalAppointments,
+ this.listDeviceTokenIDByAppointmentNo,
+ this.listDischargeDiagnosis,
+ this.listDischargeMedicine,
+ this.listDischargeSummary,
+ this.listDoctorResponse,
+ this.listDoneVaccines,
+ this.listEReferralResult,
+ this.listEReferrals,
+ this.listGetAllPatientsLiveCareAdmin,
+ this.listGetDataForExcel,
+ this.listGetMainCountID,
+ this.listGetPrescriptionReportByPatientID,
+ this.listGetSickLeave,
+ this.listHISInvoice,
+ this.listHISInvoiceProcedures,
+ this.listInpatientInvoices,
+ this.listInsuranceCheckList,
+ this.listInsuranceCompanies,
+ this.listInsuranceCompaniesGroup,
+ this.listInsuranceUpdateDetails,
+ this.listInvoiceApprovalProcedureInfo,
+ this.listIsLastSatisfactionSurveyReviewedModel,
+ this.listLabOrderDetailsModel,
+ this.listMedicalReport,
+ this.listMedicalReportApprovals,
+ this.listMedicalReportStatus,
+ this.listMonthBloodPressureResult,
+ this.listMonthBloodPressureResultAverage,
+ this.listMonthDiabtecPatientResult,
+ this.listMonthDiabtectResultAverage,
+ this.listMonthWeightMeasurementResult,
+ this.listMonthWeightMeasurementResultAverage,
+ this.listOnlinePrescriptionResult,
+ this.listOutPatientInvoices,
+ this.listPHRInvoice,
+ this.listPHRInvoiceItems,
+ this.listPHRPaymentMethods,
+ this.listPateintDetails,
+ this.listPateintInformation,
+ this.listPatientAdmissionInfo,
+ this.listPatientAdvanceBalanceAmount,
+ this.listPatientCallBackLogs,
+ this.listPatientCallBackToUpdateFromICServer,
+ this.listPatientCount,
+ this.listPatientDashboard,
+ this.listPatientERGetAdminClinicsModel,
+ this.listPatientERGetAdminProjectsModel,
+ this.listPatientERGetAllClinicsModel,
+ this.listPatientHISInvoices,
+ this.listPatientICProjects,
+ this.listPatientICProjectsByID,
+ this.listPatientICProjectsTimings,
+ this.listPatientIDByUID,
+ this.listPatientIDForSurveyResult,
+ this.listPatientInfo,
+ this.listPatientInfoForDDScreen,
+ this.listPatientInfoForSickleaveReport,
+ this.listPatientInsuranceCard,
+ this.listPatientInsuranceCardHistory,
+ this.listPatientInsuranceDetails,
+ this.listPatientPHRInvoices,
+ this.listPatientServicePoint,
+ this.listPatientStatusCount,
+ this.listPatientChatRequestMapModel,
+ this.listPatientChatRequestModel,
+ this.listPatientChatRequestVCModel,
+ this.listPaymentMethods,
+ this.listPointServices,
+ this.listPregnancyStagesInfo,
+ this.listProjectAvgERWaitingTime,
+ this.listProjectAvgERWaitingTimeHourly,
+ this.listRadMedicalRecords,
+ this.listRadMedicalRecordsAPI,
+ this.listRadMedicalRecordsCVI,
+ this.listRadMedicalRecordsCVIAPI,
+ this.listRadMedicalRecordsResults,
+ this.listSickLeave,
+ this.listTransaction,
+ this.listVideoConferenceSessions,
+ this.listWeekBloodPressureResult,
+ this.listWeekBloodPressureResultAverage,
+ this.listWeekDiabtecPatientResult,
+ this.listWeekDiabtectResultAverage,
+ this.listWeekWeightMeasurementResult,
+ this.listWeekWeightMeasurementResultAverage,
+ this.listYearBloodPressureResult,
+ this.listYearBloodPressureResultAverage,
+ this.listYearDiabtecPatientResult,
+ this.listYearDiabtecResultAverage,
+ this.listYearWeightMeasurementResult,
+ this.listYearWeightMeasurementResultAverage,
+ this.listEInvoiceForDental,
+ this.listEInvoiceForOnlineCheckIn,
+ this.medGetActivitiesTransactionsStsList,
+ this.medGetAvgMonthTransactionsStsList,
+ this.medGetAvgWeekTransactionsStsList,
+ this.medGetCategoriesList,
+ this.medGetMonthActivitiesTransactionsStsList,
+ this.medGetMonthStepsTransactionsStsList,
+ this.medGetMonthTransactionsStsList,
+ this.medGetPatientLastRecordList,
+ this.medGetSubCategoriesList,
+ this.medGetTransactionsAndActTransactionsResult,
+ this.medGetTransactionsList,
+ this.medGetWeekActivitiesTransactionsStsList,
+ this.medGetWeekStepsTransactionsStsList,
+ this.medGetWeekTransactionsStsList,
+ this.medGetYearActivitiesTransactionsStsList,
+ this.medGetYearSleepTransactionsStsList,
+ this.medGetYearStepsTransactionsStsList,
+ this.medGetYearTransactionsStsList,
+ this.medInsertTransactionsOutputsList,
+ this.medicalRecordImages,
+ this.medicalReportToRead,
+ this.medicalReportUnreadNo,
+ this.missingIDCardAttachment,
+ this.missingInsuranceCardAttachment,
+ this.missingMedicalReportAttachment,
+ this.missingOtherRelationship,
+ this.missingPatientContactNo,
+ this.missingPatientId,
+ this.missingPatientIdentityNumber,
+ this.missingPatientName,
+ this.missingReferralContactNo,
+ this.missingReferralRelationship,
+ this.missingReferralRequesterName,
+ this.mobileNumber,
+ this.nationalityNumber,
+ this.onlineCheckInAppointments,
+ this.opinionUserAgreementContent,
+ this.orderInsert,
+ this.pateintInfoForUpdateList,
+ this.pateintUpatedList,
+ this.patientBirthdayCertificate,
+ this.patientERCMCRequestSummaryByProject,
+ this.patientERCMCRequestWithTotal,
+ this.patientERCMCGetAllServicesList,
+ this.patientERCMCGetTransactionsForOrderList,
+ this.patientERCoordinates,
+ this.patientERCountOrderList,
+ this.patientERCountsForApprovalOffice,
+ this.patientERDeleteOldCurrentDoctorsOutputsList,
+ this.patientERDeliveryGetAllDeliverdOrderList,
+ this.patientERDeliveryGetAllOrderList,
+ this.patientERDeliveryIsOrderInserted,
+ this.patientERDeliveryIsOrderUpdated,
+ this.patientERDeliveryIsPausedChanged,
+ this.patientERDeliveryNextOrder,
+ this.patientERDeliveryOrderInsert,
+ this.patientERDeliveryUpdateOrderStatus,
+ this.patientERDriverUpdate,
+ this.patientERExacartCheckIsDispenseAccpetableList,
+ this.patientERExacartGetDispenseQuantitiesByOrderIDList,
+ this.patientERExacartGetOrderDetailsByePharmacyOrderNoList,
+ this.patientERExacartGetOrderDetailsList,
+ this.patientERExacartGetTotalDispenseQuantitiesByPresNoList,
+ this.patientERExacartIsDispenseAdded,
+ this.patientERExacartIsDispenseAddedList,
+ this.patientERExacartIsOrderCompleted,
+ this.patientERGetAdminByProjectAndRoleList,
+ this.patientERGetAdminProjectsList,
+ this.patientERGetAllDriversList,
+ this.patientERGetAllNeedAproveStatusList,
+ this.patientERGetAllPresOrdersStatusList,
+ this.patientERGetAllProjectsList,
+ this.patientERGetArchiveInformationList,
+ this.patientERGetAskDoctorTotalByDateFilterList,
+ this.patientERGetBookScheduleConfigsList,
+ this.patientERGetClinicAndTimeAndEpisodeForAppointmentList,
+ this.patientERGetClinicAndTimeForDischargeList,
+ this.patientERGetDashboardDataforApporvalSectionForAdminList,
+ this.patientERGetDashboardDataforApporvalSectionList,
+ this.patientERGetDashboardDataforHHCSectionForAdminList,
+ this.patientERGetDashboardDataforHHCSectionList,
+ this.patientERGetDashboardDataforPrescriptionSectionForAdminList,
+ this.patientERGetDashboardDataforPrescriptionSectionList,
+ this.patientERGetDoctorDashboardDataModelList,
+ this.patientERGetDriverLocationList,
+ this.patientERGetInsuranceCardRequestByDateFilterList,
+ this.patientERGetLiveCareSummaryBookedAppoinmentStatusList,
+ this.patientERGetLiveCareSummaryCovidList,
+ this.patientERGetLiveCareSummaryForCMCList,
+ this.patientERGetLiveCareSummaryForHHCList,
+ this.patientERGetLiveCareSummaryForHomeDeliveryList,
+ this.patientERGetLiveCareSummaryForInsuranceCardRequestList,
+ this.patientERGetLiveCareSummaryForNewFilesList,
+ this.patientERGetLiveCareSummaryForOnlinePaymetRequestList,
+ this.patientERGetLiveCareSummaryForOnlinePharmacyOrdersList,
+ this.patientERGetLiveCareSummaryForTrasnportationList,
+ this.patientERGetLiveCareSummaryLiveCareCountsList,
+ this.patientERGetMedicalRequestTotalByDateFilterList,
+ this.patientERGetNearestPendingOrdersList,
+ this.patientERGetNeedAproveHistoryForOrderList,
+ this.patientERGetNeedAprovePendingOrdersList,
+ this.patientERGetNeedAproveStatusStatisticsList,
+ this.patientERGetPatientAllPresOrdersList,
+ this.patientERGetPendingPatientsCountList,
+ this.patientERGetPresOrdersHistoryForAdminList,
+ this.patientERGetPresOrdersHistoryForOrderList,
+ this.patientERGetPresOrdersStatusStatisticsList,
+ this.patientERHHCRequest,
+ this.patientERHHCRequestSummaryByProject,
+ this.patientERHHCRequestWithTotal,
+ this.patientERHHCGetAllServicesList,
+ this.patientERHHCGetTransactionsForOrderList,
+ this.patientERHomeDeliveryCounts,
+ this.patientERInsertDriver,
+ this.patientERInsertNewCurrentDoctorsOutputsList,
+ this.patientERInsuranceStatusCountList,
+ this.patientERIsNearestProjectUpdated,
+ this.patientERIsNeedAproveReturnedToQueue,
+ this.patientERIsNeedAproveUpdated,
+ this.patientERIsOrderClientRequestUpdated,
+ this.patientERIsOrderReturnedToQueue,
+ this.patientERIsPresOrderInserted,
+ this.patientERIsPresOrderUpdated,
+ this.patientERIsProjectUpdated,
+ this.patientERNotCompletedDetails,
+ this.patientERPatientsCountByCallStatus,
+ this.patientERPeakHourCounts,
+ this.patientERPresOrderInfo,
+ this.patientERPrescriptionCounts,
+ this.patientERProjectsContribution,
+ this.patientERRRTGetAllQuestionsList,
+ this.patientERRRTGetAllTransportationMethodList,
+ this.patientERRRTGetPickUpRequestByPresOrderIDList,
+ this.patientERRealRRTGetAllServicesList,
+ this.patientERRealRRTGetOrderDetailsList,
+ this.patientERRealRRTGetTransactionsForOrderList,
+ this.patientERRealRRTIsTransInserted,
+ this.patientERRequestList,
+ this.patientERTransportationRequestWithTotal,
+ this.patientERealRRTGetServicePriceList,
+ this.patientInfoByAdmissionNoList,
+ this.patientMonitorGetPatientHeartRate,
+ this.patientNotServedCounts,
+ this.patientPrescriptionList,
+ this.patientAllergies,
+ this.patientCheckAppointmentValidationList,
+ this.patientLoginTokenList,
+ this.patientQRLoginInfoList,
+ this.patientSELECTDeviceIMEIbyIMEIList,
+ this.pharmList,
+ this.prefLang,
+ this.radReportUnreadNo,
+ this.radGetPatientRadOrdersForDentalList,
+ this.referralNumber,
+ this.reminderConfigurations,
+ this.requestNo,
+ this.rowCount,
+ this.servicePrivilegeList,
+ this.shareFamilyFileObj,
+ this.status,
+ this.successCode,
+ this.surveyRate,
+ this.symptomCheckerConditionList,
+ this.symptomCheckerGetAllDefaultQuestionsList,
+ this.symptomCheckerGetBodyPartSymptomsList,
+ this.symptomCheckerGetBodyPartsByCodeList,
+ this.symptomCheckerGetBodyPartsList,
+ this.symptomCheckerJsonResponseInString,
+ this.timerTime,
+ this.totalAdvanceBalanceAmount,
+ this.totalPatientsCount,
+ this.totalPendingApprovalCount,
+ this.totalUnUsedCount,
+ this.transactionNo,
+ this.unReadCounts,
+ this.updateStatus,
+ this.userAgreementContent,
+ this.yahalaAccountNo,
+ this.check24HourComplaint,
+ this.currency,
+ this.message,
+ this.patientID,
+ this.returnValue,
+ this.returnValueStr,
+ this.statusCode});
+
+ LacumAccountInformation.fromJson(Map json) {
+ date = json['Date'];
+ languageID = json['LanguageID'];
+ serviceName = json['ServiceName'];
+ time = json['Time'];
+ androidLink = json['AndroidLink'];
+ authenticationTokenID = json['AuthenticationTokenID'];
+ data = json['Data'];
+ dataw = json['Dataw'];
+ dietType = json['DietType'];
+ errorCode = json['ErrorCode'];
+ errorEndUserMessage = json['ErrorEndUserMessage'];
+ errorEndUserMessageN = json['ErrorEndUserMessageN'];
+ errorMessage = json['ErrorMessage'];
+ errorType = json['ErrorType'];
+ foodCategory = json['FoodCategory'];
+ iOSLink = json['IOSLink'];
+ isAuthenticated = json['IsAuthenticated'];
+ mealOrderStatus = json['MealOrderStatus'];
+ mealType = json['MealType'];
+ messageStatus = json['MessageStatus'];
+ numberOfResultRecords = json['NumberOfResultRecords'];
+ patientBlodType = json['PatientBlodType'];
+ successMsg = json['SuccessMsg'];
+ successMsgN = json['SuccessMsgN'];
+ accountStatus = json['AccountStatus'];
+ activeArchiveObject = json['ActiveArchiveObject'];
+ activeMedicationCount = json['ActiveMedicationCount'];
+ allMedicationTakenDuringAdmissionList =
+ json['AllMedicationTakenDuringAdmission_List'];
+ appointmentNo = json['AppointmentNo'];
+ arePatientsOnlineList = json['ArePatientsOnlineList'];
+ balanceAmount = json['BalanceAmount'];
+ bloodGroupList = json['BloodGroupList'];
+ cVIUnreadCount = json['CVI_UnreadCount'];
+ checkUserHasAccount = json['CheckUserHasAccount'];
+ complaintNo = json['ComplaintNo'];
+ dischargeList = json['DischargeList'];
+ episodeID = json['EpisodeID'];
+ finalRadiologyList = json['FinalRadiologyList'];
+ fullName = json['FullName'];
+ geoFPointsList = json['GeoF_PointsList'];
+ geoGetPateintInfo = json['GeoGetPateintInfo'];
+ getAllDoctorsByProjectAndClinicList =
+ json['GetAllDoctorsByProjectAndClinicList'];
+ getAppointmentNumbersForDoctorList =
+ json['GetAppointmentNumbersForDoctorList'];
+ getCheckUpItemsList = json['GetCheckUpItemsList'];
+ getCosmeticConferenceForTodayList =
+ json['GetCosmeticConferenceForTodayList'];
+ getDoctorERClinicResult = json['GetDoctorERClinicResult'];
+ getInvoiceApprovalList = json['GetInvoiceApprovalList'];
+ getNearestProjectList = json['GetNearestProjectList'];
+ getPatientAdmissionOrAppoinmentNoList =
+ json['GetPatientAdmissionOrAppoinmentNo_List'];
+ getPatientBloodType = json['GetPatientBloodType'];
+ getPatientInsuranceCardStatusStatisticsList =
+ json['GetPatientInsuranceCardStatusStatisticsList'];
+ getSurveyList = json['GetSurveyList'];
+ getTotalRegisteredPatientList = json['GetTotalRegisteredPatientList'];
+ getUserDetailsList = json['GetUserDetailsList'];
+ getCustomerPointInfo = json['Get_CustomerPointInfo'];
+ hISApprovalList = json['HIS_Approval_List'];
+ hISInpAdmissionList = json['HIS_InpAdmission_List'];
+ hISProgNoteAssesmentModelList = json['HIS_ProgNoteAssesmentModel_List'];
+ hMGGetAllOffersList = json['HMG_GetAllOffersList'];
+ hasApproval = json['Has_Approval'];
+ hasConsultation = json['Has_Consultation'];
+ hasDental = json['Has_Dental'];
+ hasLab = json['Has_Lab'];
+ hasPharmacy = json['Has_Pharmacy'];
+ hasRad = json['Has_Rad'];
+ hmgSMSGetByProjectIDAndPatientIDList =
+ json['Hmg_SMS_Get_By_ProjectID_And_PatientIDList'];
+ hoursLeft = json['HoursLeft'];
+ iNPMGetAllAdmissionList = json['INPM_GetAllAdmission_List'];
+ iNPMGetPatientInfoForSickLeaveReportList =
+ json['INPM_GetPatientInfoForSickLeaveReport_List'];
+ iNPMHISPatientMedicalStatusUnreadCount =
+ json['INPM_HIS_PatientMedicalStatus_UnreadCount'];
+ iNPMLABGetPatientLabOrdersResultsList =
+ json['INPM_LAB_GetPatientLabOrdersResults_List'];
+ iNPMLABGetPatientLabResultsList =
+ json['INPM_LAB_GetPatientLabResults_List'];
+ iNPMLABGetPatientRADReportList = json['INPM_LAB_GetPatientRADReport_List'];
+ iNPMLABGetPatientRadResultsList =
+ json['INPM_LAB_GetPatientRadResults_List'];
+ iNPMRadGetPatientRadOrdersCVIList =
+ json['INPM_Rad_GetPatientRadOrders_CVI_List'];
+ iNPMRadGetPatientRadOrdersList = json['INPM_Rad_GetPatientRadOrders_List'];
+ iNPMRadGetRadMedicalRecordsList =
+ json['INPM_Rad_GetRadMedicalRecords_List'];
+ iNPGetPrescriptionDischargesList =
+ json['INP_GetPrescriptionDischarges_List'];
+ iNPGetPrescriptionReportList = json['INP_GetPrescriptionReport_List'];
+ identificationNo = json['IdentificationNo'];
+ isHomeMedicineDeliverySupported = json['IsHomeMedicineDeliverySupported'];
+ isInsertedOrUpdated = json['IsInsertedOrUpdated'];
+ isMainAcoountEqualPatienID = json['IsMainAcoountEqualPatienID'];
+ isPatientAlreadyAgreed = json['IsPatientAlreadyAgreed'];
+ isPatientCallBackBlackList = json['IsPatientCallBackBlackList'];
+ isPatientHaveFingerPrint = json['IsPatientHaveFingerPrint'];
+ isPatientOnline = json['IsPatientOnline'];
+ isPatientTokenRemoved = json['IsPatientTokenRemoved'];
+ isPaused = json['IsPaused'];
+ isProjectWorkingHours = json['IsProjectWorkingHours'];
+ isStoreRateAllowed = json['IsStoreRateAllowed'];
+ isStoreRateInserted = json['IsStoreRateInserted'];
+ isStoreRateUpdated = json['IsStoreRateUpdated'];
+ labRadUpdatedToRead = json['LabRadUpdatedToRead'];
+ labReportUnreadNo = json['LabReportUnreadNo'];
+ lakumInquiryInformationObj = json['LakumInquiryInformationObj'];
+ lakumInquiryInformationObjVersion =
+ json['LakumInquiryInformationObjVersion'] != null
+ ? new LakumInquiryInformationObjVersion.fromJson(
+ json['LakumInquiryInformationObjVersion'])
+ : null;
+ lakumResponseList = json['LakumResponseList'];
+ laserGetBodyPartsByCategoryList = json['Laser_GetBodyPartsByCategoryList'];
+ laserGetCategoriesList = json['Laser_GetCategoriesList'];
+ list = json['List'];
+ listCount = json['ListCount'];
+ listCountDeliverd = json['ListCountDeliverd'];
+ listCountUnDeliverd = json['ListCountUnDeliverd'];
+ listDeviceInfo = json['ListDeviceInfo'];
+ listFamilyAppointments = json['ListFamilyAppointments'];
+ listLabResultsByAppNo = json['ListLabResultsByAppNo'];
+ listLakumInquiryInformationObj = json['ListLakumInquiryInformationObj'];
+ listOpinionGetAllPeriod = json['ListOpinion_GetAllPeriod'];
+ listOpinionGetAllServices = json['ListOpinion_GetAllServices'];
+ listOpinionGetIsAgreeValue = json['ListOpinion_GetIsAgreeValue'];
+ listOpinionGetOpinionLogin = json['ListOpinion_GetOpinionLogin'];
+ listOpinionGetRequestedSerives = json['ListOpinion_GetRequestedSerives'];
+ listOpinionGetShareServicesDetails =
+ json['ListOpinion_GetShareServicesDetails'];
+ listOpinionUserTerms = json['ListOpinion_UserTerms'];
+ listPLO = json['ListPLO'];
+ listPLR = json['ListPLR'];
+ listPLSR = json['ListPLSR'];
+ listPRM = json['ListPRM'];
+ listPatientFamilyFiles = json['ListPatientFamilyFiles'];
+ listPatientFileInfo = json['ListPatientFileInfo'];
+ listRAD = json['ListRAD'];
+ listRADAPI = json['ListRADAPI'];
+ listActiveGetPrescriptionReportByPatientID =
+ json['List_ActiveGetPrescriptionReportByPatientID'];
+ listAppointmentsForDentalClinic = json['List_AppointmentsForDentalClinic'];
+ listBabyInfoResult = json['List_BabyInfoResult'];
+ listCheckInsuranceCoverage = json['List_CheckInsuranceCoverage'];
+ listCompanyClass = json['List_CompanyClass'];
+ listConsentMedicalReport = json['List_ConsentMedicalReport'];
+ listDentalAppointments = json['List_DentalAppointments'];
+ listDeviceTokenIDByAppointmentNo =
+ json['List_DeviceTokenIDByAppointmentNo'];
+ listDischargeDiagnosis = json['List_DischargeDiagnosis'];
+ listDischargeMedicine = json['List_DischargeMedicine'];
+ listDischargeSummary = json['List_DischargeSummary'];
+ listDoctorResponse = json['List_DoctorResponse'];
+ listDoneVaccines = json['List_DoneVaccines'];
+ listEReferralResult = json['List_EReferralResult'];
+ listEReferrals = json['List_EReferrals'];
+ listGetAllPatientsLiveCareAdmin =
+ json['List_GetAllPatients_LiveCare_Admin'];
+ listGetDataForExcel = json['List_GetDataForExcel'];
+ listGetMainCountID = json['List_GetMainCountID'];
+ listGetPrescriptionReportByPatientID =
+ json['List_GetPrescriptionReportByPatientID'];
+ listGetSickLeave = json['List_GetSickLeave'];
+ listHISInvoice = json['List_HISInvoice'];
+ listHISInvoiceProcedures = json['List_HISInvoiceProcedures'];
+ listInpatientInvoices = json['List_InpatientInvoices'];
+ listInsuranceCheckList = json['List_InsuranceCheckList'];
+ listInsuranceCompanies = json['List_InsuranceCompanies'];
+ listInsuranceCompaniesGroup = json['List_InsuranceCompaniesGroup'];
+ listInsuranceUpdateDetails = json['List_InsuranceUpdateDetails'];
+ listInvoiceApprovalProcedureInfo =
+ json['List_InvoiceApprovalProcedureInfo'];
+ listIsLastSatisfactionSurveyReviewedModel =
+ json['List_IsLastSatisfactionSurveyReviewedModel'];
+ listLabOrderDetailsModel = json['List_LabOrderDetailsModel'];
+ listMedicalReport = json['List_MedicalReport'];
+ listMedicalReportApprovals = json['List_MedicalReportApprovals'];
+ listMedicalReportStatus = json['List_MedicalReportStatus'];
+ listMonthBloodPressureResult = json['List_MonthBloodPressureResult'];
+ listMonthBloodPressureResultAverage =
+ json['List_MonthBloodPressureResultAverage'];
+ listMonthDiabtecPatientResult = json['List_MonthDiabtecPatientResult'];
+ listMonthDiabtectResultAverage = json['List_MonthDiabtectResultAverage'];
+ listMonthWeightMeasurementResult =
+ json['List_MonthWeightMeasurementResult'];
+ listMonthWeightMeasurementResultAverage =
+ json['List_MonthWeightMeasurementResultAverage'];
+ listOnlinePrescriptionResult = json['List_OnlinePrescriptionResult'];
+ listOutPatientInvoices = json['List_OutPatientInvoices'];
+ listPHRInvoice = json['List_PHRInvoice'];
+ listPHRInvoiceItems = json['List_PHRInvoiceItems'];
+ listPHRPaymentMethods = json['List_PHRPaymentMethods'];
+ listPateintDetails = json['List_PateintDetails'];
+ listPateintInformation = json['List_PateintInformation'];
+ listPatientAdmissionInfo = json['List_PatientAdmissionInfo'];
+ listPatientAdvanceBalanceAmount = json['List_PatientAdvanceBalanceAmount'];
+ listPatientCallBackLogs = json['List_PatientCallBackLogs'];
+ listPatientCallBackToUpdateFromICServer =
+ json['List_PatientCallBackToUpdateFromICServer'];
+ listPatientCount = json['List_PatientCount'];
+ listPatientDashboard = json['List_PatientDashboard'];
+ listPatientERGetAdminClinicsModel =
+ json['List_PatientER_GetAdminClinicsModel'];
+ listPatientERGetAdminProjectsModel =
+ json['List_PatientER_GetAdminProjectsModel'];
+ listPatientERGetAllClinicsModel = json['List_PatientER_GetAllClinicsModel'];
+ listPatientHISInvoices = json['List_PatientHISInvoices'];
+ listPatientICProjects = json['List_PatientICProjects'];
+ listPatientICProjectsByID = json['List_PatientICProjectsByID'];
+ listPatientICProjectsTimings = json['List_PatientICProjectsTimings'];
+ listPatientIDByUID = json['List_PatientIDByUID'];
+ listPatientIDForSurveyResult = json['List_PatientIDForSurveyResult'];
+ listPatientInfo = json['List_PatientInfo'];
+ listPatientInfoForDDScreen = json['List_PatientInfoForDDScreen'];
+ listPatientInfoForSickleaveReport =
+ json['List_PatientInfoForSickleaveReport'];
+ listPatientInsuranceCard = json['List_PatientInsuranceCard'];
+ listPatientInsuranceCardHistory = json['List_PatientInsuranceCardHistory'];
+ listPatientInsuranceDetails = json['List_PatientInsuranceDetails'];
+ listPatientPHRInvoices = json['List_PatientPHRInvoices'];
+ listPatientServicePoint = json['List_PatientServicePoint'];
+ listPatientStatusCount = json['List_PatientStatusCount'];
+ listPatientChatRequestMapModel = json['List_Patient_ChatRequestMapModel'];
+ listPatientChatRequestModel = json['List_Patient_ChatRequestModel'];
+ listPatientChatRequestVCModel = json['List_Patient_ChatRequestVCModel'];
+ listPaymentMethods = json['List_PaymentMethods'];
+ listPointServices = json['List_PointServices'];
+ listPregnancyStagesInfo = json['List_PregnancyStagesInfo'];
+ listProjectAvgERWaitingTime = json['List_ProjectAvgERWaitingTime'];
+ listProjectAvgERWaitingTimeHourly =
+ json['List_ProjectAvgERWaitingTimeHourly'];
+ listRadMedicalRecords = json['List_RadMedicalRecords'];
+ listRadMedicalRecordsAPI = json['List_RadMedicalRecordsAPI'];
+ listRadMedicalRecordsCVI = json['List_RadMedicalRecordsCVI'];
+ listRadMedicalRecordsCVIAPI = json['List_RadMedicalRecordsCVIAPI'];
+ listRadMedicalRecordsResults = json['List_RadMedicalRecordsResults'];
+ listSickLeave = json['List_SickLeave'];
+ listTransaction = json['List_Transaction'];
+ listVideoConferenceSessions = json['List_VideoConferenceSessions'];
+ listWeekBloodPressureResult = json['List_WeekBloodPressureResult'];
+ listWeekBloodPressureResultAverage =
+ json['List_WeekBloodPressureResultAverage'];
+ listWeekDiabtecPatientResult = json['List_WeekDiabtecPatientResult'];
+ listWeekDiabtectResultAverage = json['List_WeekDiabtectResultAverage'];
+ listWeekWeightMeasurementResult = json['List_WeekWeightMeasurementResult'];
+ listWeekWeightMeasurementResultAverage =
+ json['List_WeekWeightMeasurementResultAverage'];
+ listYearBloodPressureResult = json['List_YearBloodPressureResult'];
+ listYearBloodPressureResultAverage =
+ json['List_YearBloodPressureResultAverage'];
+ listYearDiabtecPatientResult = json['List_YearDiabtecPatientResult'];
+ listYearDiabtecResultAverage = json['List_YearDiabtecResultAverage'];
+ listYearWeightMeasurementResult = json['List_YearWeightMeasurementResult'];
+ listYearWeightMeasurementResultAverage =
+ json['List_YearWeightMeasurementResultAverage'];
+ listEInvoiceForDental = json['List_eInvoiceForDental'];
+ listEInvoiceForOnlineCheckIn = json['List_eInvoiceForOnlineCheckIn'];
+ medGetActivitiesTransactionsStsList =
+ json['Med_GetActivitiesTransactionsStsList'];
+ medGetAvgMonthTransactionsStsList =
+ json['Med_GetAvgMonthTransactionsStsList'];
+ medGetAvgWeekTransactionsStsList =
+ json['Med_GetAvgWeekTransactionsStsList'];
+ medGetCategoriesList = json['Med_GetCategoriesList'];
+ medGetMonthActivitiesTransactionsStsList =
+ json['Med_GetMonthActivitiesTransactionsStsList'];
+ medGetMonthStepsTransactionsStsList =
+ json['Med_GetMonthStepsTransactionsStsList'];
+ medGetMonthTransactionsStsList = json['Med_GetMonthTransactionsStsList'];
+ medGetPatientLastRecordList = json['Med_GetPatientLastRecordList'];
+ medGetSubCategoriesList = json['Med_GetSubCategoriesList'];
+ medGetTransactionsAndActTransactionsResult =
+ json['Med_GetTransactionsAndActTransactionsResult'];
+ medGetTransactionsList = json['Med_GetTransactionsList'];
+ medGetWeekActivitiesTransactionsStsList =
+ json['Med_GetWeekActivitiesTransactionsStsList'];
+ medGetWeekStepsTransactionsStsList =
+ json['Med_GetWeekStepsTransactionsStsList'];
+ medGetWeekTransactionsStsList = json['Med_GetWeekTransactionsStsList'];
+ medGetYearActivitiesTransactionsStsList =
+ json['Med_GetYearActivitiesTransactionsStsList'];
+ medGetYearSleepTransactionsStsList =
+ json['Med_GetYearSleepTransactionsStsList'];
+ medGetYearStepsTransactionsStsList =
+ json['Med_GetYearStepsTransactionsStsList'];
+ medGetYearTransactionsStsList = json['Med_GetYearTransactionsStsList'];
+ medInsertTransactionsOutputsList =
+ json['Med_InsertTransactionsOutputsList'];
+ medicalRecordImages = json['MedicalRecordImages'];
+ medicalReportToRead = json['MedicalReportToRead'];
+ medicalReportUnreadNo = json['MedicalReportUnreadNo'];
+ missingIDCardAttachment = json['Missing_IDCardAttachment'];
+ missingInsuranceCardAttachment = json['Missing_InsuranceCardAttachment'];
+ missingMedicalReportAttachment = json['Missing_MedicalReportAttachment'];
+ missingOtherRelationship = json['Missing_OtherRelationship'];
+ missingPatientContactNo = json['Missing_PatientContactNo'];
+ missingPatientId = json['Missing_PatientId'];
+ missingPatientIdentityNumber = json['Missing_PatientIdentityNumber'];
+ missingPatientName = json['Missing_PatientName'];
+ missingReferralContactNo = json['Missing_ReferralContactNo'];
+ missingReferralRelationship = json['Missing_ReferralRelationship'];
+ missingReferralRequesterName = json['Missing_ReferralRequesterName'];
+ mobileNumber = json['MobileNumber'];
+ nationalityNumber = json['NationalityNumber'];
+ onlineCheckInAppointments = json['OnlineCheckInAppointments'];
+ opinionUserAgreementContent = json['Opinion_UserAgreementContent'];
+ orderInsert = json['OrderInsert'];
+ pateintInfoForUpdateList = json['PateintInfoForUpdateList'];
+ pateintUpatedList = json['PateintUpatedList'];
+ patientBirthdayCertificate = json['PatientBirthdayCertificate'];
+ patientERCMCRequestSummaryByProject =
+ json['PatientER_CMCRequestSummaryByProject'];
+ patientERCMCRequestWithTotal = json['PatientER_CMCRequestWithTotal'];
+ patientERCMCGetAllServicesList = json['PatientER_CMC_GetAllServicesList'];
+ patientERCMCGetTransactionsForOrderList =
+ json['PatientER_CMC_GetTransactionsForOrderList'];
+ patientERCoordinates = json['PatientER_Coordinates'];
+ patientERCountOrderList = json['PatientER_CountOrderList'];
+ patientERCountsForApprovalOffice =
+ json['PatientER_CountsForApprovalOffice'];
+ patientERDeleteOldCurrentDoctorsOutputsList =
+ json['PatientER_DeleteOldCurrentDoctorsOutputsList'];
+ patientERDeliveryGetAllDeliverdOrderList =
+ json['PatientER_Delivery_GetAllDeliverdOrderList'];
+ patientERDeliveryGetAllOrderList =
+ json['PatientER_Delivery_GetAllOrderList'];
+ patientERDeliveryIsOrderInserted =
+ json['PatientER_Delivery_IsOrderInserted'];
+ patientERDeliveryIsOrderUpdated = json['PatientER_Delivery_IsOrderUpdated'];
+ patientERDeliveryIsPausedChanged =
+ json['PatientER_Delivery_IsPausedChanged'];
+ patientERDeliveryNextOrder = json['PatientER_Delivery_NextOrder'];
+ patientERDeliveryOrderInsert = json['PatientER_Delivery_OrderInsert'];
+ patientERDeliveryUpdateOrderStatus =
+ json['PatientER_Delivery_UpdateOrderStatus'];
+ patientERDriverUpdate = json['PatientER_DriverUpdate'];
+ patientERExacartCheckIsDispenseAccpetableList =
+ json['PatientER_Exacart_CheckIsDispenseAccpetableList'];
+ patientERExacartGetDispenseQuantitiesByOrderIDList =
+ json['PatientER_Exacart_GetDispenseQuantitiesByOrderIDList'];
+ patientERExacartGetOrderDetailsByePharmacyOrderNoList =
+ json['PatientER_Exacart_GetOrderDetailsByePharmacyOrderNoList'];
+ patientERExacartGetOrderDetailsList =
+ json['PatientER_Exacart_GetOrderDetailsList'];
+ patientERExacartGetTotalDispenseQuantitiesByPresNoList =
+ json['PatientER_Exacart_GetTotalDispenseQuantitiesByPresNoList'];
+ patientERExacartIsDispenseAdded = json['PatientER_Exacart_IsDispenseAdded'];
+ patientERExacartIsDispenseAddedList =
+ json['PatientER_Exacart_IsDispenseAddedList'];
+ patientERExacartIsOrderCompleted =
+ json['PatientER_Exacart_IsOrderCompleted'];
+ patientERGetAdminByProjectAndRoleList =
+ json['PatientER_GetAdminByProjectAndRoleList'];
+ patientERGetAdminProjectsList = json['PatientER_GetAdminProjectsList'];
+ patientERGetAllDriversList = json['PatientER_GetAllDriversList'];
+ patientERGetAllNeedAproveStatusList =
+ json['PatientER_GetAllNeedAproveStatusList'];
+ patientERGetAllPresOrdersStatusList =
+ json['PatientER_GetAllPresOrdersStatusList'];
+ patientERGetAllProjectsList = json['PatientER_GetAllProjectsList'];
+ patientERGetArchiveInformationList =
+ json['PatientER_GetArchiveInformation_List'];
+ patientERGetAskDoctorTotalByDateFilterList =
+ json['PatientER_GetAskDoctorTotalByDateFilterList'];
+ patientERGetBookScheduleConfigsList =
+ json['PatientER_GetBookScheduleConfigsList'];
+ patientERGetClinicAndTimeAndEpisodeForAppointmentList =
+ json['PatientER_GetClinicAndTimeAndEpisodeForAppointmentList'];
+ patientERGetClinicAndTimeForDischargeList =
+ json['PatientER_GetClinicAndTimeForDischargeList'];
+ patientERGetDashboardDataforApporvalSectionForAdminList =
+ json['PatientER_GetDashboardDataforApporvalSectionForAdminList'];
+ patientERGetDashboardDataforApporvalSectionList =
+ json['PatientER_GetDashboardDataforApporvalSectionList'];
+ patientERGetDashboardDataforHHCSectionForAdminList =
+ json['PatientER_GetDashboardDataforHHCSectionForAdminList'];
+ patientERGetDashboardDataforHHCSectionList =
+ json['PatientER_GetDashboardDataforHHCSectionList'];
+ patientERGetDashboardDataforPrescriptionSectionForAdminList =
+ json['PatientER_GetDashboardDataforPrescriptionSectionForAdminList'];
+ patientERGetDashboardDataforPrescriptionSectionList =
+ json['PatientER_GetDashboardDataforPrescriptionSectionList'];
+ patientERGetDoctorDashboardDataModelList =
+ json['PatientER_GetDoctorDashboardDataModelList'];
+ patientERGetDriverLocationList = json['PatientER_GetDriverLocationList'];
+ patientERGetInsuranceCardRequestByDateFilterList =
+ json['PatientER_GetInsuranceCardRequestByDateFilterList'];
+ patientERGetLiveCareSummaryBookedAppoinmentStatusList =
+ json['PatientER_GetLiveCareSummaryBookedAppoinmentStatusList'];
+ patientERGetLiveCareSummaryCovidList =
+ json['PatientER_GetLiveCareSummaryCovidList'];
+ patientERGetLiveCareSummaryForCMCList =
+ json['PatientER_GetLiveCareSummaryForCMCList'];
+ patientERGetLiveCareSummaryForHHCList =
+ json['PatientER_GetLiveCareSummaryForHHCList'];
+ patientERGetLiveCareSummaryForHomeDeliveryList =
+ json['PatientER_GetLiveCareSummaryForHomeDeliveryList'];
+ patientERGetLiveCareSummaryForInsuranceCardRequestList =
+ json['PatientER_GetLiveCareSummaryForInsuranceCardRequestList'];
+ patientERGetLiveCareSummaryForNewFilesList =
+ json['PatientER_GetLiveCareSummaryForNewFilesList'];
+ patientERGetLiveCareSummaryForOnlinePaymetRequestList =
+ json['PatientER_GetLiveCareSummaryForOnlinePaymetRequestList'];
+ patientERGetLiveCareSummaryForOnlinePharmacyOrdersList =
+ json['PatientER_GetLiveCareSummaryForOnlinePharmacyOrdersList'];
+ patientERGetLiveCareSummaryForTrasnportationList =
+ json['PatientER_GetLiveCareSummaryForTrasnportationList'];
+ patientERGetLiveCareSummaryLiveCareCountsList =
+ json['PatientER_GetLiveCareSummaryLiveCareCountsList'];
+ patientERGetMedicalRequestTotalByDateFilterList =
+ json['PatientER_GetMedicalRequestTotalByDateFilterList'];
+ patientERGetNearestPendingOrdersList =
+ json['PatientER_GetNearestPendingOrdersList'];
+ patientERGetNeedAproveHistoryForOrderList =
+ json['PatientER_GetNeedAproveHistoryForOrderList'];
+ patientERGetNeedAprovePendingOrdersList =
+ json['PatientER_GetNeedAprovePendingOrdersList'];
+ patientERGetNeedAproveStatusStatisticsList =
+ json['PatientER_GetNeedAproveStatusStatisticsList'];
+ patientERGetPatientAllPresOrdersList =
+ json['PatientER_GetPatientAllPresOrdersList'];
+ patientERGetPendingPatientsCountList =
+ json['PatientER_GetPendingPatientsCountList'];
+ patientERGetPresOrdersHistoryForAdminList =
+ json['PatientER_GetPresOrdersHistoryForAdminList'];
+ patientERGetPresOrdersHistoryForOrderList =
+ json['PatientER_GetPresOrdersHistoryForOrderList'];
+ patientERGetPresOrdersStatusStatisticsList =
+ json['PatientER_GetPresOrdersStatusStatisticsList'];
+ patientERHHCRequest = json['PatientER_HHCRequest'];
+ patientERHHCRequestSummaryByProject =
+ json['PatientER_HHCRequestSummaryByProject'];
+ patientERHHCRequestWithTotal = json['PatientER_HHCRequestWithTotal'];
+ patientERHHCGetAllServicesList = json['PatientER_HHC_GetAllServicesList'];
+ patientERHHCGetTransactionsForOrderList =
+ json['PatientER_HHC_GetTransactionsForOrderList'];
+ patientERHomeDeliveryCounts = json['PatientER_HomeDeliveryCounts'];
+ patientERInsertDriver = json['PatientER_InsertDriver'];
+ patientERInsertNewCurrentDoctorsOutputsList =
+ json['PatientER_InsertNewCurrentDoctorsOutputsList'];
+ patientERInsuranceStatusCountList =
+ json['PatientER_InsuranceStatusCountList'];
+ patientERIsNearestProjectUpdated =
+ json['PatientER_IsNearestProjectUpdated'];
+ patientERIsNeedAproveReturnedToQueue =
+ json['PatientER_IsNeedAproveReturnedToQueue'];
+ patientERIsNeedAproveUpdated = json['PatientER_IsNeedAproveUpdated'];
+ patientERIsOrderClientRequestUpdated =
+ json['PatientER_IsOrderClientRequestUpdated'];
+ patientERIsOrderReturnedToQueue = json['PatientER_IsOrderReturnedToQueue'];
+ patientERIsPresOrderInserted = json['PatientER_IsPresOrderInserted'];
+ patientERIsPresOrderUpdated = json['PatientER_IsPresOrderUpdated'];
+ patientERIsProjectUpdated = json['PatientER_IsProjectUpdated'];
+ patientERNotCompletedDetails = json['PatientER_NotCompletedDetails'];
+ patientERPatientsCountByCallStatus =
+ json['PatientER_PatientsCountByCallStatus'];
+ patientERPeakHourCounts = json['PatientER_PeakHourCounts'];
+ patientERPresOrderInfo = json['PatientER_PresOrderInfo'];
+ patientERPrescriptionCounts = json['PatientER_PrescriptionCounts'];
+ patientERProjectsContribution = json['PatientER_ProjectsContribution'];
+ patientERRRTGetAllQuestionsList = json['PatientER_RRT_GetAllQuestionsList'];
+ patientERRRTGetAllTransportationMethodList =
+ json['PatientER_RRT_GetAllTransportationMethodList'];
+ patientERRRTGetPickUpRequestByPresOrderIDList =
+ json['PatientER_RRT_GetPickUpRequestByPresOrderIDList'];
+ patientERRealRRTGetAllServicesList =
+ json['PatientER_RealRRT_GetAllServicesList'];
+ patientERRealRRTGetOrderDetailsList =
+ json['PatientER_RealRRT_GetOrderDetailsList'];
+ patientERRealRRTGetTransactionsForOrderList =
+ json['PatientER_RealRRT_GetTransactionsForOrderList'];
+ patientERRealRRTIsTransInserted = json['PatientER_RealRRT_IsTransInserted'];
+ patientERRequestList = json['PatientER_RequestList'];
+ patientERTransportationRequestWithTotal =
+ json['PatientER_TransportationRequestWithTotal'];
+ patientERealRRTGetServicePriceList =
+ json['PatientE_RealRRT_GetServicePriceList'];
+ patientInfoByAdmissionNoList = json['PatientInfoByAdmissionNo_List'];
+ patientMonitorGetPatientHeartRate =
+ json['PatientMonitor_GetPatientHeartRate'];
+ patientNotServedCounts = json['PatientNotServedCounts'];
+ patientPrescriptionList = json['PatientPrescriptionList'];
+ patientAllergies = json['Patient_Allergies'];
+ patientCheckAppointmentValidationList =
+ json['Patient_CheckAppointmentValidationList'];
+ patientLoginTokenList = json['Patient_LoginTokenList'];
+ patientQRLoginInfoList = json['Patient_QRLoginInfoList'];
+ patientSELECTDeviceIMEIbyIMEIList =
+ json['Patient_SELECTDeviceIMEIbyIMEIList'];
+ pharmList = json['PharmList'];
+ prefLang = json['PrefLang'];
+ radReportUnreadNo = json['RadReportUnreadNo'];
+ radGetPatientRadOrdersForDentalList =
+ json['Rad_GetPatientRadOrdersForDental_List'];
+ referralNumber = json['ReferralNumber'];
+ reminderConfigurations = json['ReminderConfigurations'];
+ requestNo = json['RequestNo'];
+ rowCount = json['RowCount'];
+ servicePrivilegeList = json['ServicePrivilegeList'];
+ shareFamilyFileObj = json['ShareFamilyFileObj'];
+ status = json['Status'];
+ successCode = json['SuccessCode'];
+ surveyRate = json['SurveyRate'];
+ symptomCheckerConditionList = json['SymptomChecker_ConditionList'];
+ symptomCheckerGetAllDefaultQuestionsList =
+ json['SymptomChecker_GetAllDefaultQuestionsList'];
+ symptomCheckerGetBodyPartSymptomsList =
+ json['SymptomChecker_GetBodyPartSymptomsList'];
+ symptomCheckerGetBodyPartsByCodeList =
+ json['SymptomChecker_GetBodyPartsByCodeList'];
+ symptomCheckerGetBodyPartsList = json['SymptomChecker_GetBodyPartsList'];
+ symptomCheckerJsonResponseInString =
+ json['SymptomChecker_JsonResponseInString'];
+ timerTime = json['TimerTime'];
+ totalAdvanceBalanceAmount = json['TotalAdvanceBalanceAmount'];
+ totalPatientsCount = json['TotalPatientsCount'];
+ totalPendingApprovalCount = json['TotalPendingApprovalCount'];
+ totalUnUsedCount = json['TotalUnUsedCount'];
+ transactionNo = json['TransactionNo'];
+ unReadCounts = json['UnReadCounts'];
+ updateStatus = json['UpdateStatus'];
+ userAgreementContent = json['UserAgreementContent'];
+ yahalaAccountNo = json['YahalaAccountNo'];
+ check24HourComplaint = json['check24HourComplaint'];
+ currency = json['currency'];
+ message = json['message'];
+ patientID = json['patientID'];
+ returnValue = json['returnValue'];
+ returnValueStr = json['returnValueStr'];
+ statusCode = json['statusCode'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['Date'] = this.date;
+ data['LanguageID'] = this.languageID;
+ data['ServiceName'] = this.serviceName;
+ data['Time'] = this.time;
+ data['AndroidLink'] = this.androidLink;
+ data['AuthenticationTokenID'] = this.authenticationTokenID;
+ data['Data'] = this.data;
+ data['Dataw'] = this.dataw;
+ data['DietType'] = this.dietType;
+ data['ErrorCode'] = this.errorCode;
+ data['ErrorEndUserMessage'] = this.errorEndUserMessage;
+ data['ErrorEndUserMessageN'] = this.errorEndUserMessageN;
+ data['ErrorMessage'] = this.errorMessage;
+ data['ErrorType'] = this.errorType;
+ data['FoodCategory'] = this.foodCategory;
+ data['IOSLink'] = this.iOSLink;
+ data['IsAuthenticated'] = this.isAuthenticated;
+ data['MealOrderStatus'] = this.mealOrderStatus;
+ data['MealType'] = this.mealType;
+ data['MessageStatus'] = this.messageStatus;
+ data['NumberOfResultRecords'] = this.numberOfResultRecords;
+ data['PatientBlodType'] = this.patientBlodType;
+ data['SuccessMsg'] = this.successMsg;
+ data['SuccessMsgN'] = this.successMsgN;
+ data['AccountStatus'] = this.accountStatus;
+ data['ActiveArchiveObject'] = this.activeArchiveObject;
+ data['ActiveMedicationCount'] = this.activeMedicationCount;
+ data['AllMedicationTakenDuringAdmission_List'] =
+ this.allMedicationTakenDuringAdmissionList;
+ data['AppointmentNo'] = this.appointmentNo;
+ data['ArePatientsOnlineList'] = this.arePatientsOnlineList;
+ data['BalanceAmount'] = this.balanceAmount;
+ data['BloodGroupList'] = this.bloodGroupList;
+ data['CVI_UnreadCount'] = this.cVIUnreadCount;
+ data['CheckUserHasAccount'] = this.checkUserHasAccount;
+ data['ComplaintNo'] = this.complaintNo;
+ data['DischargeList'] = this.dischargeList;
+ data['EpisodeID'] = this.episodeID;
+ data['FinalRadiologyList'] = this.finalRadiologyList;
+ data['FullName'] = this.fullName;
+ data['GeoF_PointsList'] = this.geoFPointsList;
+ data['GeoGetPateintInfo'] = this.geoGetPateintInfo;
+ data['GetAllDoctorsByProjectAndClinicList'] =
+ this.getAllDoctorsByProjectAndClinicList;
+ data['GetAppointmentNumbersForDoctorList'] =
+ this.getAppointmentNumbersForDoctorList;
+ data['GetCheckUpItemsList'] = this.getCheckUpItemsList;
+ data['GetCosmeticConferenceForTodayList'] =
+ this.getCosmeticConferenceForTodayList;
+ data['GetDoctorERClinicResult'] = this.getDoctorERClinicResult;
+ data['GetInvoiceApprovalList'] = this.getInvoiceApprovalList;
+ data['GetNearestProjectList'] = this.getNearestProjectList;
+ data['GetPatientAdmissionOrAppoinmentNo_List'] =
+ this.getPatientAdmissionOrAppoinmentNoList;
+ data['GetPatientBloodType'] = this.getPatientBloodType;
+ data['GetPatientInsuranceCardStatusStatisticsList'] =
+ this.getPatientInsuranceCardStatusStatisticsList;
+ data['GetSurveyList'] = this.getSurveyList;
+ data['GetTotalRegisteredPatientList'] = this.getTotalRegisteredPatientList;
+ data['GetUserDetailsList'] = this.getUserDetailsList;
+ data['Get_CustomerPointInfo'] = this.getCustomerPointInfo;
+ data['HIS_Approval_List'] = this.hISApprovalList;
+ data['HIS_InpAdmission_List'] = this.hISInpAdmissionList;
+ data['HIS_ProgNoteAssesmentModel_List'] =
+ this.hISProgNoteAssesmentModelList;
+ data['HMG_GetAllOffersList'] = this.hMGGetAllOffersList;
+ data['Has_Approval'] = this.hasApproval;
+ data['Has_Consultation'] = this.hasConsultation;
+ data['Has_Dental'] = this.hasDental;
+ data['Has_Lab'] = this.hasLab;
+ data['Has_Pharmacy'] = this.hasPharmacy;
+ data['Has_Rad'] = this.hasRad;
+ data['Hmg_SMS_Get_By_ProjectID_And_PatientIDList'] =
+ this.hmgSMSGetByProjectIDAndPatientIDList;
+ data['HoursLeft'] = this.hoursLeft;
+ data['INPM_GetAllAdmission_List'] = this.iNPMGetAllAdmissionList;
+ data['INPM_GetPatientInfoForSickLeaveReport_List'] =
+ this.iNPMGetPatientInfoForSickLeaveReportList;
+ data['INPM_HIS_PatientMedicalStatus_UnreadCount'] =
+ this.iNPMHISPatientMedicalStatusUnreadCount;
+ data['INPM_LAB_GetPatientLabOrdersResults_List'] =
+ this.iNPMLABGetPatientLabOrdersResultsList;
+ data['INPM_LAB_GetPatientLabResults_List'] =
+ this.iNPMLABGetPatientLabResultsList;
+ data['INPM_LAB_GetPatientRADReport_List'] =
+ this.iNPMLABGetPatientRADReportList;
+ data['INPM_LAB_GetPatientRadResults_List'] =
+ this.iNPMLABGetPatientRadResultsList;
+ data['INPM_Rad_GetPatientRadOrders_CVI_List'] =
+ this.iNPMRadGetPatientRadOrdersCVIList;
+ data['INPM_Rad_GetPatientRadOrders_List'] =
+ this.iNPMRadGetPatientRadOrdersList;
+ data['INPM_Rad_GetRadMedicalRecords_List'] =
+ this.iNPMRadGetRadMedicalRecordsList;
+ data['INP_GetPrescriptionDischarges_List'] =
+ this.iNPGetPrescriptionDischargesList;
+ data['INP_GetPrescriptionReport_List'] = this.iNPGetPrescriptionReportList;
+ data['IdentificationNo'] = this.identificationNo;
+ data['IsHomeMedicineDeliverySupported'] =
+ this.isHomeMedicineDeliverySupported;
+ data['IsInsertedOrUpdated'] = this.isInsertedOrUpdated;
+ data['IsMainAcoountEqualPatienID'] = this.isMainAcoountEqualPatienID;
+ data['IsPatientAlreadyAgreed'] = this.isPatientAlreadyAgreed;
+ data['IsPatientCallBackBlackList'] = this.isPatientCallBackBlackList;
+ data['IsPatientHaveFingerPrint'] = this.isPatientHaveFingerPrint;
+ data['IsPatientOnline'] = this.isPatientOnline;
+ data['IsPatientTokenRemoved'] = this.isPatientTokenRemoved;
+ data['IsPaused'] = this.isPaused;
+ data['IsProjectWorkingHours'] = this.isProjectWorkingHours;
+ data['IsStoreRateAllowed'] = this.isStoreRateAllowed;
+ data['IsStoreRateInserted'] = this.isStoreRateInserted;
+ data['IsStoreRateUpdated'] = this.isStoreRateUpdated;
+ data['LabRadUpdatedToRead'] = this.labRadUpdatedToRead;
+ data['LabReportUnreadNo'] = this.labReportUnreadNo;
+ data['LakumInquiryInformationObj'] = this.lakumInquiryInformationObj;
+ if (this.lakumInquiryInformationObjVersion != null) {
+ data['LakumInquiryInformationObjVersion'] =
+ this.lakumInquiryInformationObjVersion.toJson();
+ }
+ data['LakumResponseList'] = this.lakumResponseList;
+ data['Laser_GetBodyPartsByCategoryList'] =
+ this.laserGetBodyPartsByCategoryList;
+ data['Laser_GetCategoriesList'] = this.laserGetCategoriesList;
+ data['List'] = this.list;
+ data['ListCount'] = this.listCount;
+ data['ListCountDeliverd'] = this.listCountDeliverd;
+ data['ListCountUnDeliverd'] = this.listCountUnDeliverd;
+ data['ListDeviceInfo'] = this.listDeviceInfo;
+ data['ListFamilyAppointments'] = this.listFamilyAppointments;
+ data['ListLabResultsByAppNo'] = this.listLabResultsByAppNo;
+ data['ListLakumInquiryInformationObj'] =
+ this.listLakumInquiryInformationObj;
+ data['ListOpinion_GetAllPeriod'] = this.listOpinionGetAllPeriod;
+ data['ListOpinion_GetAllServices'] = this.listOpinionGetAllServices;
+ data['ListOpinion_GetIsAgreeValue'] = this.listOpinionGetIsAgreeValue;
+ data['ListOpinion_GetOpinionLogin'] = this.listOpinionGetOpinionLogin;
+ data['ListOpinion_GetRequestedSerives'] =
+ this.listOpinionGetRequestedSerives;
+ data['ListOpinion_GetShareServicesDetails'] =
+ this.listOpinionGetShareServicesDetails;
+ data['ListOpinion_UserTerms'] = this.listOpinionUserTerms;
+ data['ListPLO'] = this.listPLO;
+ data['ListPLR'] = this.listPLR;
+ data['ListPLSR'] = this.listPLSR;
+ data['ListPRM'] = this.listPRM;
+ data['ListPatientFamilyFiles'] = this.listPatientFamilyFiles;
+ data['ListPatientFileInfo'] = this.listPatientFileInfo;
+ data['ListRAD'] = this.listRAD;
+ data['ListRADAPI'] = this.listRADAPI;
+ data['List_ActiveGetPrescriptionReportByPatientID'] =
+ this.listActiveGetPrescriptionReportByPatientID;
+ data['List_AppointmentsForDentalClinic'] =
+ this.listAppointmentsForDentalClinic;
+ data['List_BabyInfoResult'] = this.listBabyInfoResult;
+ data['List_CheckInsuranceCoverage'] = this.listCheckInsuranceCoverage;
+ data['List_CompanyClass'] = this.listCompanyClass;
+ data['List_ConsentMedicalReport'] = this.listConsentMedicalReport;
+ data['List_DentalAppointments'] = this.listDentalAppointments;
+ data['List_DeviceTokenIDByAppointmentNo'] =
+ this.listDeviceTokenIDByAppointmentNo;
+ data['List_DischargeDiagnosis'] = this.listDischargeDiagnosis;
+ data['List_DischargeMedicine'] = this.listDischargeMedicine;
+ data['List_DischargeSummary'] = this.listDischargeSummary;
+ data['List_DoctorResponse'] = this.listDoctorResponse;
+ data['List_DoneVaccines'] = this.listDoneVaccines;
+ data['List_EReferralResult'] = this.listEReferralResult;
+ data['List_EReferrals'] = this.listEReferrals;
+ data['List_GetAllPatients_LiveCare_Admin'] =
+ this.listGetAllPatientsLiveCareAdmin;
+ data['List_GetDataForExcel'] = this.listGetDataForExcel;
+ data['List_GetMainCountID'] = this.listGetMainCountID;
+ data['List_GetPrescriptionReportByPatientID'] =
+ this.listGetPrescriptionReportByPatientID;
+ data['List_GetSickLeave'] = this.listGetSickLeave;
+ data['List_HISInvoice'] = this.listHISInvoice;
+ data['List_HISInvoiceProcedures'] = this.listHISInvoiceProcedures;
+ data['List_InpatientInvoices'] = this.listInpatientInvoices;
+ data['List_InsuranceCheckList'] = this.listInsuranceCheckList;
+ data['List_InsuranceCompanies'] = this.listInsuranceCompanies;
+ data['List_InsuranceCompaniesGroup'] = this.listInsuranceCompaniesGroup;
+ data['List_InsuranceUpdateDetails'] = this.listInsuranceUpdateDetails;
+ data['List_InvoiceApprovalProcedureInfo'] =
+ this.listInvoiceApprovalProcedureInfo;
+ data['List_IsLastSatisfactionSurveyReviewedModel'] =
+ this.listIsLastSatisfactionSurveyReviewedModel;
+ data['List_LabOrderDetailsModel'] = this.listLabOrderDetailsModel;
+ data['List_MedicalReport'] = this.listMedicalReport;
+ data['List_MedicalReportApprovals'] = this.listMedicalReportApprovals;
+ data['List_MedicalReportStatus'] = this.listMedicalReportStatus;
+ data['List_MonthBloodPressureResult'] = this.listMonthBloodPressureResult;
+ data['List_MonthBloodPressureResultAverage'] =
+ this.listMonthBloodPressureResultAverage;
+ data['List_MonthDiabtecPatientResult'] = this.listMonthDiabtecPatientResult;
+ data['List_MonthDiabtectResultAverage'] =
+ this.listMonthDiabtectResultAverage;
+ data['List_MonthWeightMeasurementResult'] =
+ this.listMonthWeightMeasurementResult;
+ data['List_MonthWeightMeasurementResultAverage'] =
+ this.listMonthWeightMeasurementResultAverage;
+ data['List_OnlinePrescriptionResult'] = this.listOnlinePrescriptionResult;
+ data['List_OutPatientInvoices'] = this.listOutPatientInvoices;
+ data['List_PHRInvoice'] = this.listPHRInvoice;
+ data['List_PHRInvoiceItems'] = this.listPHRInvoiceItems;
+ data['List_PHRPaymentMethods'] = this.listPHRPaymentMethods;
+ data['List_PateintDetails'] = this.listPateintDetails;
+ data['List_PateintInformation'] = this.listPateintInformation;
+ data['List_PatientAdmissionInfo'] = this.listPatientAdmissionInfo;
+ data['List_PatientAdvanceBalanceAmount'] =
+ this.listPatientAdvanceBalanceAmount;
+ data['List_PatientCallBackLogs'] = this.listPatientCallBackLogs;
+ data['List_PatientCallBackToUpdateFromICServer'] =
+ this.listPatientCallBackToUpdateFromICServer;
+ data['List_PatientCount'] = this.listPatientCount;
+ data['List_PatientDashboard'] = this.listPatientDashboard;
+ data['List_PatientER_GetAdminClinicsModel'] =
+ this.listPatientERGetAdminClinicsModel;
+ data['List_PatientER_GetAdminProjectsModel'] =
+ this.listPatientERGetAdminProjectsModel;
+ data['List_PatientER_GetAllClinicsModel'] =
+ this.listPatientERGetAllClinicsModel;
+ data['List_PatientHISInvoices'] = this.listPatientHISInvoices;
+ data['List_PatientICProjects'] = this.listPatientICProjects;
+ data['List_PatientICProjectsByID'] = this.listPatientICProjectsByID;
+ data['List_PatientICProjectsTimings'] = this.listPatientICProjectsTimings;
+ data['List_PatientIDByUID'] = this.listPatientIDByUID;
+ data['List_PatientIDForSurveyResult'] = this.listPatientIDForSurveyResult;
+ data['List_PatientInfo'] = this.listPatientInfo;
+ data['List_PatientInfoForDDScreen'] = this.listPatientInfoForDDScreen;
+ data['List_PatientInfoForSickleaveReport'] =
+ this.listPatientInfoForSickleaveReport;
+ data['List_PatientInsuranceCard'] = this.listPatientInsuranceCard;
+ data['List_PatientInsuranceCardHistory'] =
+ this.listPatientInsuranceCardHistory;
+ data['List_PatientInsuranceDetails'] = this.listPatientInsuranceDetails;
+ data['List_PatientPHRInvoices'] = this.listPatientPHRInvoices;
+ data['List_PatientServicePoint'] = this.listPatientServicePoint;
+ data['List_PatientStatusCount'] = this.listPatientStatusCount;
+ data['List_Patient_ChatRequestMapModel'] =
+ this.listPatientChatRequestMapModel;
+ data['List_Patient_ChatRequestModel'] = this.listPatientChatRequestModel;
+ data['List_Patient_ChatRequestVCModel'] =
+ this.listPatientChatRequestVCModel;
+ data['List_PaymentMethods'] = this.listPaymentMethods;
+ data['List_PointServices'] = this.listPointServices;
+ data['List_PregnancyStagesInfo'] = this.listPregnancyStagesInfo;
+ data['List_ProjectAvgERWaitingTime'] = this.listProjectAvgERWaitingTime;
+ data['List_ProjectAvgERWaitingTimeHourly'] =
+ this.listProjectAvgERWaitingTimeHourly;
+ data['List_RadMedicalRecords'] = this.listRadMedicalRecords;
+ data['List_RadMedicalRecordsAPI'] = this.listRadMedicalRecordsAPI;
+ data['List_RadMedicalRecordsCVI'] = this.listRadMedicalRecordsCVI;
+ data['List_RadMedicalRecordsCVIAPI'] = this.listRadMedicalRecordsCVIAPI;
+ data['List_RadMedicalRecordsResults'] = this.listRadMedicalRecordsResults;
+ data['List_SickLeave'] = this.listSickLeave;
+ data['List_Transaction'] = this.listTransaction;
+ data['List_VideoConferenceSessions'] = this.listVideoConferenceSessions;
+ data['List_WeekBloodPressureResult'] = this.listWeekBloodPressureResult;
+ data['List_WeekBloodPressureResultAverage'] =
+ this.listWeekBloodPressureResultAverage;
+ data['List_WeekDiabtecPatientResult'] = this.listWeekDiabtecPatientResult;
+ data['List_WeekDiabtectResultAverage'] = this.listWeekDiabtectResultAverage;
+ data['List_WeekWeightMeasurementResult'] =
+ this.listWeekWeightMeasurementResult;
+ data['List_WeekWeightMeasurementResultAverage'] =
+ this.listWeekWeightMeasurementResultAverage;
+ data['List_YearBloodPressureResult'] = this.listYearBloodPressureResult;
+ data['List_YearBloodPressureResultAverage'] =
+ this.listYearBloodPressureResultAverage;
+ data['List_YearDiabtecPatientResult'] = this.listYearDiabtecPatientResult;
+ data['List_YearDiabtecResultAverage'] = this.listYearDiabtecResultAverage;
+ data['List_YearWeightMeasurementResult'] =
+ this.listYearWeightMeasurementResult;
+ data['List_YearWeightMeasurementResultAverage'] =
+ this.listYearWeightMeasurementResultAverage;
+ data['List_eInvoiceForDental'] = this.listEInvoiceForDental;
+ data['List_eInvoiceForOnlineCheckIn'] = this.listEInvoiceForOnlineCheckIn;
+ data['Med_GetActivitiesTransactionsStsList'] =
+ this.medGetActivitiesTransactionsStsList;
+ data['Med_GetAvgMonthTransactionsStsList'] =
+ this.medGetAvgMonthTransactionsStsList;
+ data['Med_GetAvgWeekTransactionsStsList'] =
+ this.medGetAvgWeekTransactionsStsList;
+ data['Med_GetCategoriesList'] = this.medGetCategoriesList;
+ data['Med_GetMonthActivitiesTransactionsStsList'] =
+ this.medGetMonthActivitiesTransactionsStsList;
+ data['Med_GetMonthStepsTransactionsStsList'] =
+ this.medGetMonthStepsTransactionsStsList;
+ data['Med_GetMonthTransactionsStsList'] =
+ this.medGetMonthTransactionsStsList;
+ data['Med_GetPatientLastRecordList'] = this.medGetPatientLastRecordList;
+ data['Med_GetSubCategoriesList'] = this.medGetSubCategoriesList;
+ data['Med_GetTransactionsAndActTransactionsResult'] =
+ this.medGetTransactionsAndActTransactionsResult;
+ data['Med_GetTransactionsList'] = this.medGetTransactionsList;
+ data['Med_GetWeekActivitiesTransactionsStsList'] =
+ this.medGetWeekActivitiesTransactionsStsList;
+ data['Med_GetWeekStepsTransactionsStsList'] =
+ this.medGetWeekStepsTransactionsStsList;
+ data['Med_GetWeekTransactionsStsList'] = this.medGetWeekTransactionsStsList;
+ data['Med_GetYearActivitiesTransactionsStsList'] =
+ this.medGetYearActivitiesTransactionsStsList;
+ data['Med_GetYearSleepTransactionsStsList'] =
+ this.medGetYearSleepTransactionsStsList;
+ data['Med_GetYearStepsTransactionsStsList'] =
+ this.medGetYearStepsTransactionsStsList;
+ data['Med_GetYearTransactionsStsList'] = this.medGetYearTransactionsStsList;
+ data['Med_InsertTransactionsOutputsList'] =
+ this.medInsertTransactionsOutputsList;
+ data['MedicalRecordImages'] = this.medicalRecordImages;
+ data['MedicalReportToRead'] = this.medicalReportToRead;
+ data['MedicalReportUnreadNo'] = this.medicalReportUnreadNo;
+ data['Missing_IDCardAttachment'] = this.missingIDCardAttachment;
+ data['Missing_InsuranceCardAttachment'] =
+ this.missingInsuranceCardAttachment;
+ data['Missing_MedicalReportAttachment'] =
+ this.missingMedicalReportAttachment;
+ data['Missing_OtherRelationship'] = this.missingOtherRelationship;
+ data['Missing_PatientContactNo'] = this.missingPatientContactNo;
+ data['Missing_PatientId'] = this.missingPatientId;
+ data['Missing_PatientIdentityNumber'] = this.missingPatientIdentityNumber;
+ data['Missing_PatientName'] = this.missingPatientName;
+ data['Missing_ReferralContactNo'] = this.missingReferralContactNo;
+ data['Missing_ReferralRelationship'] = this.missingReferralRelationship;
+ data['Missing_ReferralRequesterName'] = this.missingReferralRequesterName;
+ data['MobileNumber'] = this.mobileNumber;
+ data['NationalityNumber'] = this.nationalityNumber;
+ data['OnlineCheckInAppointments'] = this.onlineCheckInAppointments;
+ data['Opinion_UserAgreementContent'] = this.opinionUserAgreementContent;
+ data['OrderInsert'] = this.orderInsert;
+ data['PateintInfoForUpdateList'] = this.pateintInfoForUpdateList;
+ data['PateintUpatedList'] = this.pateintUpatedList;
+ data['PatientBirthdayCertificate'] = this.patientBirthdayCertificate;
+ data['PatientER_CMCRequestSummaryByProject'] =
+ this.patientERCMCRequestSummaryByProject;
+ data['PatientER_CMCRequestWithTotal'] = this.patientERCMCRequestWithTotal;
+ data['PatientER_CMC_GetAllServicesList'] =
+ this.patientERCMCGetAllServicesList;
+ data['PatientER_CMC_GetTransactionsForOrderList'] =
+ this.patientERCMCGetTransactionsForOrderList;
+ data['PatientER_Coordinates'] = this.patientERCoordinates;
+ data['PatientER_CountOrderList'] = this.patientERCountOrderList;
+ data['PatientER_CountsForApprovalOffice'] =
+ this.patientERCountsForApprovalOffice;
+ data['PatientER_DeleteOldCurrentDoctorsOutputsList'] =
+ this.patientERDeleteOldCurrentDoctorsOutputsList;
+ data['PatientER_Delivery_GetAllDeliverdOrderList'] =
+ this.patientERDeliveryGetAllDeliverdOrderList;
+ data['PatientER_Delivery_GetAllOrderList'] =
+ this.patientERDeliveryGetAllOrderList;
+ data['PatientER_Delivery_IsOrderInserted'] =
+ this.patientERDeliveryIsOrderInserted;
+ data['PatientER_Delivery_IsOrderUpdated'] =
+ this.patientERDeliveryIsOrderUpdated;
+ data['PatientER_Delivery_IsPausedChanged'] =
+ this.patientERDeliveryIsPausedChanged;
+ data['PatientER_Delivery_NextOrder'] = this.patientERDeliveryNextOrder;
+ data['PatientER_Delivery_OrderInsert'] = this.patientERDeliveryOrderInsert;
+ data['PatientER_Delivery_UpdateOrderStatus'] =
+ this.patientERDeliveryUpdateOrderStatus;
+ data['PatientER_DriverUpdate'] = this.patientERDriverUpdate;
+ data['PatientER_Exacart_CheckIsDispenseAccpetableList'] =
+ this.patientERExacartCheckIsDispenseAccpetableList;
+ data['PatientER_Exacart_GetDispenseQuantitiesByOrderIDList'] =
+ this.patientERExacartGetDispenseQuantitiesByOrderIDList;
+ data['PatientER_Exacart_GetOrderDetailsByePharmacyOrderNoList'] =
+ this.patientERExacartGetOrderDetailsByePharmacyOrderNoList;
+ data['PatientER_Exacart_GetOrderDetailsList'] =
+ this.patientERExacartGetOrderDetailsList;
+ data['PatientER_Exacart_GetTotalDispenseQuantitiesByPresNoList'] =
+ this.patientERExacartGetTotalDispenseQuantitiesByPresNoList;
+ data['PatientER_Exacart_IsDispenseAdded'] =
+ this.patientERExacartIsDispenseAdded;
+ data['PatientER_Exacart_IsDispenseAddedList'] =
+ this.patientERExacartIsDispenseAddedList;
+ data['PatientER_Exacart_IsOrderCompleted'] =
+ this.patientERExacartIsOrderCompleted;
+ data['PatientER_GetAdminByProjectAndRoleList'] =
+ this.patientERGetAdminByProjectAndRoleList;
+ data['PatientER_GetAdminProjectsList'] = this.patientERGetAdminProjectsList;
+ data['PatientER_GetAllDriversList'] = this.patientERGetAllDriversList;
+ data['PatientER_GetAllNeedAproveStatusList'] =
+ this.patientERGetAllNeedAproveStatusList;
+ data['PatientER_GetAllPresOrdersStatusList'] =
+ this.patientERGetAllPresOrdersStatusList;
+ data['PatientER_GetAllProjectsList'] = this.patientERGetAllProjectsList;
+ data['PatientER_GetArchiveInformation_List'] =
+ this.patientERGetArchiveInformationList;
+ data['PatientER_GetAskDoctorTotalByDateFilterList'] =
+ this.patientERGetAskDoctorTotalByDateFilterList;
+ data['PatientER_GetBookScheduleConfigsList'] =
+ this.patientERGetBookScheduleConfigsList;
+ data['PatientER_GetClinicAndTimeAndEpisodeForAppointmentList'] =
+ this.patientERGetClinicAndTimeAndEpisodeForAppointmentList;
+ data['PatientER_GetClinicAndTimeForDischargeList'] =
+ this.patientERGetClinicAndTimeForDischargeList;
+ data['PatientER_GetDashboardDataforApporvalSectionForAdminList'] =
+ this.patientERGetDashboardDataforApporvalSectionForAdminList;
+ data['PatientER_GetDashboardDataforApporvalSectionList'] =
+ this.patientERGetDashboardDataforApporvalSectionList;
+ data['PatientER_GetDashboardDataforHHCSectionForAdminList'] =
+ this.patientERGetDashboardDataforHHCSectionForAdminList;
+ data['PatientER_GetDashboardDataforHHCSectionList'] =
+ this.patientERGetDashboardDataforHHCSectionList;
+ data['PatientER_GetDashboardDataforPrescriptionSectionForAdminList'] =
+ this.patientERGetDashboardDataforPrescriptionSectionForAdminList;
+ data['PatientER_GetDashboardDataforPrescriptionSectionList'] =
+ this.patientERGetDashboardDataforPrescriptionSectionList;
+ data['PatientER_GetDoctorDashboardDataModelList'] =
+ this.patientERGetDoctorDashboardDataModelList;
+ data['PatientER_GetDriverLocationList'] =
+ this.patientERGetDriverLocationList;
+ data['PatientER_GetInsuranceCardRequestByDateFilterList'] =
+ this.patientERGetInsuranceCardRequestByDateFilterList;
+ data['PatientER_GetLiveCareSummaryBookedAppoinmentStatusList'] =
+ this.patientERGetLiveCareSummaryBookedAppoinmentStatusList;
+ data['PatientER_GetLiveCareSummaryCovidList'] =
+ this.patientERGetLiveCareSummaryCovidList;
+ data['PatientER_GetLiveCareSummaryForCMCList'] =
+ this.patientERGetLiveCareSummaryForCMCList;
+ data['PatientER_GetLiveCareSummaryForHHCList'] =
+ this.patientERGetLiveCareSummaryForHHCList;
+ data['PatientER_GetLiveCareSummaryForHomeDeliveryList'] =
+ this.patientERGetLiveCareSummaryForHomeDeliveryList;
+ data['PatientER_GetLiveCareSummaryForInsuranceCardRequestList'] =
+ this.patientERGetLiveCareSummaryForInsuranceCardRequestList;
+ data['PatientER_GetLiveCareSummaryForNewFilesList'] =
+ this.patientERGetLiveCareSummaryForNewFilesList;
+ data['PatientER_GetLiveCareSummaryForOnlinePaymetRequestList'] =
+ this.patientERGetLiveCareSummaryForOnlinePaymetRequestList;
+ data['PatientER_GetLiveCareSummaryForOnlinePharmacyOrdersList'] =
+ this.patientERGetLiveCareSummaryForOnlinePharmacyOrdersList;
+ data['PatientER_GetLiveCareSummaryForTrasnportationList'] =
+ this.patientERGetLiveCareSummaryForTrasnportationList;
+ data['PatientER_GetLiveCareSummaryLiveCareCountsList'] =
+ this.patientERGetLiveCareSummaryLiveCareCountsList;
+ data['PatientER_GetMedicalRequestTotalByDateFilterList'] =
+ this.patientERGetMedicalRequestTotalByDateFilterList;
+ data['PatientER_GetNearestPendingOrdersList'] =
+ this.patientERGetNearestPendingOrdersList;
+ data['PatientER_GetNeedAproveHistoryForOrderList'] =
+ this.patientERGetNeedAproveHistoryForOrderList;
+ data['PatientER_GetNeedAprovePendingOrdersList'] =
+ this.patientERGetNeedAprovePendingOrdersList;
+ data['PatientER_GetNeedAproveStatusStatisticsList'] =
+ this.patientERGetNeedAproveStatusStatisticsList;
+ data['PatientER_GetPatientAllPresOrdersList'] =
+ this.patientERGetPatientAllPresOrdersList;
+ data['PatientER_GetPendingPatientsCountList'] =
+ this.patientERGetPendingPatientsCountList;
+ data['PatientER_GetPresOrdersHistoryForAdminList'] =
+ this.patientERGetPresOrdersHistoryForAdminList;
+ data['PatientER_GetPresOrdersHistoryForOrderList'] =
+ this.patientERGetPresOrdersHistoryForOrderList;
+ data['PatientER_GetPresOrdersStatusStatisticsList'] =
+ this.patientERGetPresOrdersStatusStatisticsList;
+ data['PatientER_HHCRequest'] = this.patientERHHCRequest;
+ data['PatientER_HHCRequestSummaryByProject'] =
+ this.patientERHHCRequestSummaryByProject;
+ data['PatientER_HHCRequestWithTotal'] = this.patientERHHCRequestWithTotal;
+ data['PatientER_HHC_GetAllServicesList'] =
+ this.patientERHHCGetAllServicesList;
+ data['PatientER_HHC_GetTransactionsForOrderList'] =
+ this.patientERHHCGetTransactionsForOrderList;
+ data['PatientER_HomeDeliveryCounts'] = this.patientERHomeDeliveryCounts;
+ data['PatientER_InsertDriver'] = this.patientERInsertDriver;
+ data['PatientER_InsertNewCurrentDoctorsOutputsList'] =
+ this.patientERInsertNewCurrentDoctorsOutputsList;
+ data['PatientER_InsuranceStatusCountList'] =
+ this.patientERInsuranceStatusCountList;
+ data['PatientER_IsNearestProjectUpdated'] =
+ this.patientERIsNearestProjectUpdated;
+ data['PatientER_IsNeedAproveReturnedToQueue'] =
+ this.patientERIsNeedAproveReturnedToQueue;
+ data['PatientER_IsNeedAproveUpdated'] = this.patientERIsNeedAproveUpdated;
+ data['PatientER_IsOrderClientRequestUpdated'] =
+ this.patientERIsOrderClientRequestUpdated;
+ data['PatientER_IsOrderReturnedToQueue'] =
+ this.patientERIsOrderReturnedToQueue;
+ data['PatientER_IsPresOrderInserted'] = this.patientERIsPresOrderInserted;
+ data['PatientER_IsPresOrderUpdated'] = this.patientERIsPresOrderUpdated;
+ data['PatientER_IsProjectUpdated'] = this.patientERIsProjectUpdated;
+ data['PatientER_NotCompletedDetails'] = this.patientERNotCompletedDetails;
+ data['PatientER_PatientsCountByCallStatus'] =
+ this.patientERPatientsCountByCallStatus;
+ data['PatientER_PeakHourCounts'] = this.patientERPeakHourCounts;
+ data['PatientER_PresOrderInfo'] = this.patientERPresOrderInfo;
+ data['PatientER_PrescriptionCounts'] = this.patientERPrescriptionCounts;
+ data['PatientER_ProjectsContribution'] = this.patientERProjectsContribution;
+ data['PatientER_RRT_GetAllQuestionsList'] =
+ this.patientERRRTGetAllQuestionsList;
+ data['PatientER_RRT_GetAllTransportationMethodList'] =
+ this.patientERRRTGetAllTransportationMethodList;
+ data['PatientER_RRT_GetPickUpRequestByPresOrderIDList'] =
+ this.patientERRRTGetPickUpRequestByPresOrderIDList;
+ data['PatientER_RealRRT_GetAllServicesList'] =
+ this.patientERRealRRTGetAllServicesList;
+ data['PatientER_RealRRT_GetOrderDetailsList'] =
+ this.patientERRealRRTGetOrderDetailsList;
+ data['PatientER_RealRRT_GetTransactionsForOrderList'] =
+ this.patientERRealRRTGetTransactionsForOrderList;
+ data['PatientER_RealRRT_IsTransInserted'] =
+ this.patientERRealRRTIsTransInserted;
+ data['PatientER_RequestList'] = this.patientERRequestList;
+ data['PatientER_TransportationRequestWithTotal'] =
+ this.patientERTransportationRequestWithTotal;
+ data['PatientE_RealRRT_GetServicePriceList'] =
+ this.patientERealRRTGetServicePriceList;
+ data['PatientInfoByAdmissionNo_List'] = this.patientInfoByAdmissionNoList;
+ data['PatientMonitor_GetPatientHeartRate'] =
+ this.patientMonitorGetPatientHeartRate;
+ data['PatientNotServedCounts'] = this.patientNotServedCounts;
+ data['PatientPrescriptionList'] = this.patientPrescriptionList;
+ data['Patient_Allergies'] = this.patientAllergies;
+ data['Patient_CheckAppointmentValidationList'] =
+ this.patientCheckAppointmentValidationList;
+ data['Patient_LoginTokenList'] = this.patientLoginTokenList;
+ data['Patient_QRLoginInfoList'] = this.patientQRLoginInfoList;
+ data['Patient_SELECTDeviceIMEIbyIMEIList'] =
+ this.patientSELECTDeviceIMEIbyIMEIList;
+ data['PharmList'] = this.pharmList;
+ data['PrefLang'] = this.prefLang;
+ data['RadReportUnreadNo'] = this.radReportUnreadNo;
+ data['Rad_GetPatientRadOrdersForDental_List'] =
+ this.radGetPatientRadOrdersForDentalList;
+ data['ReferralNumber'] = this.referralNumber;
+ data['ReminderConfigurations'] = this.reminderConfigurations;
+ data['RequestNo'] = this.requestNo;
+ data['RowCount'] = this.rowCount;
+ data['ServicePrivilegeList'] = this.servicePrivilegeList;
+ data['ShareFamilyFileObj'] = this.shareFamilyFileObj;
+ data['Status'] = this.status;
+ data['SuccessCode'] = this.successCode;
+ data['SurveyRate'] = this.surveyRate;
+ data['SymptomChecker_ConditionList'] = this.symptomCheckerConditionList;
+ data['SymptomChecker_GetAllDefaultQuestionsList'] =
+ this.symptomCheckerGetAllDefaultQuestionsList;
+ data['SymptomChecker_GetBodyPartSymptomsList'] =
+ this.symptomCheckerGetBodyPartSymptomsList;
+ data['SymptomChecker_GetBodyPartsByCodeList'] =
+ this.symptomCheckerGetBodyPartsByCodeList;
+ data['SymptomChecker_GetBodyPartsList'] =
+ this.symptomCheckerGetBodyPartsList;
+ data['SymptomChecker_JsonResponseInString'] =
+ this.symptomCheckerJsonResponseInString;
+ data['TimerTime'] = this.timerTime;
+ data['TotalAdvanceBalanceAmount'] = this.totalAdvanceBalanceAmount;
+ data['TotalPatientsCount'] = this.totalPatientsCount;
+ data['TotalPendingApprovalCount'] = this.totalPendingApprovalCount;
+ data['TotalUnUsedCount'] = this.totalUnUsedCount;
+ data['TransactionNo'] = this.transactionNo;
+ data['UnReadCounts'] = this.unReadCounts;
+ data['UpdateStatus'] = this.updateStatus;
+ data['UserAgreementContent'] = this.userAgreementContent;
+ data['YahalaAccountNo'] = this.yahalaAccountNo;
+ data['check24HourComplaint'] = this.check24HourComplaint;
+ data['currency'] = this.currency;
+ data['message'] = this.message;
+ data['patientID'] = this.patientID;
+ data['returnValue'] = this.returnValue;
+ data['returnValueStr'] = this.returnValueStr;
+ data['statusCode'] = this.statusCode;
+ return data;
+ }
+}
\ No newline at end of file
diff --git a/lib/core/model/pharmacies/LakumInquiryInformationObjVersion.dart b/lib/core/model/pharmacies/LakumInquiryInformationObjVersion.dart
new file mode 100644
index 00000000..c609fa0b
--- /dev/null
+++ b/lib/core/model/pharmacies/LakumInquiryInformationObjVersion.dart
@@ -0,0 +1,179 @@
+import 'PointsAmountPerYear.dart';
+import 'PointsDetails.dart';
+
+class LakumInquiryInformationObjVersion {
+ int accountNumber;
+ String accountStatus;
+ String barCode;
+ int consumedPoints;
+ String consumedPointsAmount;
+ List consumedPointsAmountPerYear;
+ List consumedPointsDetails;
+ String createdDate;
+ int expiredPoints;
+ String expiryDate;
+ int gainedPoints;
+ List gainedPointsAmountPerYear;
+ List gainedPointsDetails;
+ String lakumMessageStatus;
+ String memberName;
+ String memberUniversalId;
+ String mobileNumber;
+ int pointsBalance;
+ int pointsBalanceAmount;
+ int pointsWillBeExpired;
+ String prefLang;
+ int statusCode;
+ int transferPoints;
+ List transferPointsAmountPerYear;
+ List transferPointsDetails;
+ dynamic waitingPoints;
+ dynamic loyalityAmount;
+ dynamic loyalityPoints;
+ int purchaseRate;
+
+ LakumInquiryInformationObjVersion(
+ {this.accountNumber,
+ this.accountStatus,
+ this.barCode,
+ this.consumedPoints,
+ this.consumedPointsAmount,
+ this.consumedPointsAmountPerYear,
+ this.consumedPointsDetails,
+ this.createdDate,
+ this.expiredPoints,
+ this.expiryDate,
+ this.gainedPoints,
+ this.gainedPointsAmountPerYear,
+ this.gainedPointsDetails,
+ this.lakumMessageStatus,
+ this.memberName,
+ this.memberUniversalId,
+ this.mobileNumber,
+ this.pointsBalance,
+ this.pointsBalanceAmount,
+ this.pointsWillBeExpired,
+ this.prefLang,
+ this.statusCode,
+ this.transferPoints,
+ this.transferPointsAmountPerYear,
+ this.transferPointsDetails,
+ this.waitingPoints,
+ this.loyalityAmount,
+ this.loyalityPoints,
+ this.purchaseRate});
+
+ LakumInquiryInformationObjVersion.fromJson(Map json) {
+ accountNumber = json['AccountNumber'];
+ accountStatus = json['AccountStatus'];
+ barCode = json['BarCode'];
+ consumedPoints = json['ConsumedPoints'];
+ consumedPointsAmount = json['ConsumedPointsAmount'];
+ if (json['ConsumedPointsAmountPerYear'] != null) {
+ consumedPointsAmountPerYear = new List();
+ json['ConsumedPointsAmountPerYear'].forEach((v) {
+ consumedPointsAmountPerYear.add(PointsAmountPerYear.fromJson(v));
+ });
+ }
+ if (json['ConsumedPointsDetails'] != null) {
+ consumedPointsDetails = new List();
+ json['ConsumedPointsDetails'].forEach((v) {
+ consumedPointsDetails.add(PointsDetails.fromJson(v));
+ });
+ }
+ createdDate = json['CreatedDate'];
+ expiredPoints = json['ExpiredPoints'];
+ expiryDate = json['ExpiryDate'];
+ gainedPoints = json['GainedPoints'];
+ if (json['GainedPointsAmountPerYear'] != null) {
+ gainedPointsAmountPerYear = new List();
+ json['GainedPointsAmountPerYear'].forEach((v) {
+ gainedPointsAmountPerYear.add(PointsAmountPerYear.fromJson(v));
+ });
+ }
+ if (json['GainedPointsDetails'] != null) {
+ gainedPointsDetails = new List();
+ json['GainedPointsDetails'].forEach((v) {
+ gainedPointsDetails.add(PointsDetails.fromJson(v));
+ });
+ }
+ lakumMessageStatus = json['LakumMessageStatus'];
+ memberName = json['MemberName'];
+ memberUniversalId = json['MemberUniversalId'];
+ mobileNumber = json['MobileNumber'];
+ pointsBalance = json['PointsBalance'];
+ pointsBalanceAmount = json['PointsBalanceAmount'];
+ pointsWillBeExpired = json['PointsWillBeExpired'];
+ prefLang = json['PrefLang'];
+ statusCode = json['StatusCode'];
+ transferPoints = json['TransferPoints'];
+ if (json['TransferPointsAmountPerYear'] != null) {
+ transferPointsAmountPerYear = new List();
+ json['TransferPointsAmountPerYear'].forEach((v) {
+ transferPointsAmountPerYear.add(PointsAmountPerYear.fromJson(v));
+ });
+ }
+ if (json['TransferPointsDetails'] != null) {
+ transferPointsDetails = new List();
+ json['TransferPointsDetails'].forEach((v) {
+ transferPointsDetails.add(PointsDetails.fromJson(v));
+ });
+ }
+ waitingPoints = json['WaitingPoints'];
+ loyalityAmount = json['loyalityAmount'];
+ loyalityPoints = json['loyalityPoints'];
+ purchaseRate = json['purchaseRate'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['AccountNumber'] = this.accountNumber;
+ data['AccountStatus'] = this.accountStatus;
+ data['BarCode'] = this.barCode;
+ data['ConsumedPoints'] = this.consumedPoints;
+ data['ConsumedPointsAmount'] = this.consumedPointsAmount;
+ if (this.consumedPointsAmountPerYear != null) {
+ data['ConsumedPointsAmountPerYear'] =
+ this.consumedPointsAmountPerYear.map((v) => v).toList();
+ }
+ if (this.consumedPointsDetails != null) {
+ data['ConsumedPointsDetails'] =
+ this.consumedPointsDetails.map((v) => v).toList();
+ }
+ data['CreatedDate'] = this.createdDate;
+ data['ExpiredPoints'] = this.expiredPoints;
+ data['ExpiryDate'] = this.expiryDate;
+ data['GainedPoints'] = this.gainedPoints;
+ if (this.gainedPointsAmountPerYear != null) {
+ data['GainedPointsAmountPerYear'] =
+ this.gainedPointsAmountPerYear.map((v) => v).toList();
+ }
+ if (this.gainedPointsDetails != null) {
+ data['GainedPointsDetails'] =
+ this.gainedPointsDetails.map((v) => v).toList();
+ }
+ data['LakumMessageStatus'] = this.lakumMessageStatus;
+ data['MemberName'] = this.memberName;
+ data['MemberUniversalId'] = this.memberUniversalId;
+ data['MobileNumber'] = this.mobileNumber;
+ data['PointsBalance'] = this.pointsBalance;
+ data['PointsBalanceAmount'] = this.pointsBalanceAmount;
+ data['PointsWillBeExpired'] = this.pointsWillBeExpired;
+ data['PrefLang'] = this.prefLang;
+ data['StatusCode'] = this.statusCode;
+ data['TransferPoints'] = this.transferPoints;
+ if (this.transferPointsAmountPerYear != null) {
+ data['TransferPointsAmountPerYear'] =
+ this.transferPointsAmountPerYear.map((v) => v).toList();
+ }
+ if (this.transferPointsDetails != null) {
+ data['TransferPointsDetails'] =
+ this.transferPointsDetails.map((v) => v).toList();
+ }
+ data['WaitingPoints'] = this.waitingPoints;
+ data['loyalityAmount'] = this.loyalityAmount;
+ data['loyalityPoints'] = this.loyalityPoints;
+ data['purchaseRate'] = this.purchaseRate;
+ return data;
+ }
+}
\ No newline at end of file
diff --git a/lib/core/model/pharmacies/ListUserAgreement.dart b/lib/core/model/pharmacies/ListUserAgreement.dart
new file mode 100644
index 00000000..4237e304
--- /dev/null
+++ b/lib/core/model/pharmacies/ListUserAgreement.dart
@@ -0,0 +1,28 @@
+class ListUserAgreement {
+ String userAgreementLAKUM;
+ String userAgreementLAKUMn;
+ String userAgreementTxt;
+ String userAgreementTxtn;
+
+ ListUserAgreement(
+ {this.userAgreementLAKUM,
+ this.userAgreementLAKUMn,
+ this.userAgreementTxt,
+ this.userAgreementTxtn});
+
+ ListUserAgreement.fromJson(Map json) {
+ userAgreementLAKUM = json['UserAgreementLAKUM'];
+ userAgreementLAKUMn = json['UserAgreementLAKUMn'];
+ userAgreementTxt = json['UserAgreementTxt'];
+ userAgreementTxtn = json['UserAgreementTxtn'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['UserAgreementLAKUM'] = this.userAgreementLAKUM;
+ data['UserAgreementLAKUMn'] = this.userAgreementLAKUMn;
+ data['UserAgreementTxt'] = this.userAgreementTxt;
+ data['UserAgreementTxtn'] = this.userAgreementTxtn;
+ return data;
+ }
+}
diff --git a/lib/core/model/pharmacies/PharmacyAddressesModel.dart b/lib/core/model/pharmacies/PharmacyAddressesModel.dart
new file mode 100644
index 00000000..db9c20ae
--- /dev/null
+++ b/lib/core/model/pharmacies/PharmacyAddressesModel.dart
@@ -0,0 +1,170 @@
+
+import 'dart:convert';
+
+PharmacyAddressesModel pharmacyAddressesModelFromJson(String str) => PharmacyAddressesModel.fromJson(json.decode(str));
+
+String pharmacyAddressesModelToJson(PharmacyAddressesModel data) => json.encode(data.toJson());
+
+class PharmacyAddressesModel {
+ PharmacyAddressesModel({
+ this.customers,
+ });
+
+ List customers;
+
+ factory PharmacyAddressesModel.fromJson(Map json) => PharmacyAddressesModel(
+ customers: List.from(json["customers"].map((x) => Customer.fromJson(x))),
+ );
+
+ Map toJson() => {
+ "customers": List.from(customers.map((x) => x.toJson())),
+ };
+}
+
+class Customer {
+ Customer({
+ this.addresses,
+ });
+
+ List addresses;
+
+ factory Customer.fromJson(Map json) => Customer(
+ addresses: List.from(json["addresses"].map((x) => Address.fromJson(x))),
+ );
+
+ Map toJson() => {
+ "addresses": List.from(addresses.map((x) => x.toJson())),
+ };
+}
+
+class Address {
+ Address({
+ this.id,
+ this.firstName,
+ this.lastName,
+ this.email,
+ this.company,
+ this.countryId,
+ this.country,
+ this.stateProvinceId,
+ this.city,
+ this.address1,
+ this.address2,
+ this.zipPostalCode,
+ this.phoneNumber,
+ this.faxNumber,
+ this.customerAttributes,
+ this.createdOnUtc,
+ this.province,
+ this.latLong,
+ });
+
+ String id;
+ FirstName firstName;
+ LastName lastName;
+ Email email;
+ dynamic company;
+ int countryId;
+ Country country;
+ dynamic stateProvinceId;
+ City city;
+ String address1;
+ String address2;
+ String zipPostalCode;
+ String phoneNumber;
+ dynamic faxNumber;
+ String customerAttributes;
+ DateTime createdOnUtc;
+ dynamic province;
+ String latLong;
+
+ factory Address.fromJson(Map json) => Address(
+ id: json["id"],
+ firstName: firstNameValues.map[json["first_name"]],
+ lastName: lastNameValues.map[json["last_name"]],
+ email: emailValues.map[json["email"]],
+ company: json["company"],
+ countryId: json["country_id"],
+ country: countryValues.map[json["country"]],
+ stateProvinceId: json["state_province_id"],
+ city: cityValues.map[json["city"]],
+ address1: json["address1"],
+ address2: json["address2"],
+ zipPostalCode: json["zip_postal_code"],
+ phoneNumber: json["phone_number"],
+ faxNumber: json["fax_number"],
+ customerAttributes: json["customer_attributes"],
+ createdOnUtc: DateTime.parse(json["created_on_utc"]),
+ province: json["province"],
+ latLong: json["lat_long"],
+ );
+
+ Map toJson() => {
+ "id": id,
+ "first_name": firstNameValues.reverse[firstName],
+ "last_name": lastNameValues.reverse[lastName],
+ "email": emailValues.reverse[email],
+ "company": company,
+ "country_id": countryId,
+ "country": countryValues.reverse[country],
+ "state_province_id": stateProvinceId,
+ "city": cityValues.reverse[city],
+ "address1": address1,
+ "address2": address2,
+ "zip_postal_code": zipPostalCode,
+ "phone_number": phoneNumber,
+ "fax_number": faxNumber,
+ "customer_attributes": customerAttributes,
+ "created_on_utc": createdOnUtc.toIso8601String(),
+ "province": province,
+ "lat_long": latLong,
+ };
+}
+
+enum City { RIYADH, AL_OYUN }
+
+final cityValues = EnumValues({
+ "Al Oyun": City.AL_OYUN,
+ "Riyadh": City.RIYADH
+});
+
+enum Country { SAUDI_ARABIA }
+
+final countryValues = EnumValues({
+ "Saudi Arabia": Country.SAUDI_ARABIA
+});
+
+enum Email { TAMER_FANASHEH_GMAIL_COM, TAMER_DASDASDAS_GMAIL_COM }
+
+final emailValues = EnumValues({
+ "Tamer.dasdasdas@gmail.com": Email.TAMER_DASDASDAS_GMAIL_COM,
+ "Tamer.fanasheh@gmail.com": Email.TAMER_FANASHEH_GMAIL_COM
+});
+
+enum FirstName { TAMER, TAMER_FANASHEH }
+
+final firstNameValues = EnumValues({
+ "TAMER": FirstName.TAMER,
+ "TAMER FANASHEH": FirstName.TAMER_FANASHEH
+});
+
+enum LastName { FANASHEH, MUSA }
+
+final lastNameValues = EnumValues({
+ "FANASHEH": LastName.FANASHEH,
+ "MUSA": LastName.MUSA
+});
+
+class EnumValues {
+ Map map;
+ Map reverseMap;
+
+ EnumValues(this.map);
+
+ Map get reverse {
+ if (reverseMap == null) {
+ reverseMap = map.map((k, v) => new MapEntry(v, k));
+ }
+ return reverseMap;
+ }
+}
diff --git a/lib/core/model/pharmacies/PharmacyProduct.dart b/lib/core/model/pharmacies/PharmacyProduct.dart
index cd461ae5..c472cb4c 100644
--- a/lib/core/model/pharmacies/PharmacyProduct.dart
+++ b/lib/core/model/pharmacies/PharmacyProduct.dart
@@ -1,149 +1,538 @@
+import 'package:diplomaticquarterapp/core/model/pharmacies/Specifications.dart';
+
import 'PharmacyImageObject.dart';
import 'Reviews.dart';
class PharmacyProduct {
String id;
+ bool visibleIndividually;
String name;
String namen;
String shortDescription;
+ String shortDescriptionn;
String fullDescription;
String fullDescriptionn;
+ bool markasNew;
+ bool showOnHomePage;
+ String metaKeywords;
+ String metaDescription;
+ String metaTitle;
+ bool allowCustomerReviews;
int approvedRatingSum;
+ int notApprovedRatingSum;
int approvedTotalReviews;
+ int notApprovedTotalReviews;
String sku;
bool isRx;
+ bool prescriptionRequired;
String rxMessage;
String rxMessagen;
+ String manufacturerPartNumber;
+ String gtin;
+ bool isGiftCard;
+ bool requireOtherProducts;
+ bool automaticallyAddRequiredProducts;
+ bool isDownload;
+ bool unlimitedDownloads;
+ int maxNumberOfDownloads;
+ String downloadExpirationDays;
+ bool hasSampleDownload;
+ bool hasUserAgreement;
+ bool isRecurring;
+ int recurringCycleLength;
+ int recurringTotalCycles;
+ bool isRental;
+ int rentalPriceLength;
+ bool isShipEnabled;
+ bool isFreeShipping;
+ bool shipSeparately;
+ double additionalShippingCharge;
+ bool isTaxExempt;
+ bool isTelecommunicationsOrBroadcastingOrElectronicServices;
+ bool useMultipleWarehouses;
+ int manageInventoryMethodId;
int stockQuantity;
String stockAvailability;
String stockAvailabilityn;
+ bool displayStockAvailability;
+ bool displayStockQuantity;
+ int minStockQuantity;
+ int notifyAdminForQuantityBelow;
bool allowBackInStockSubscriptions;
int orderMinimumQuantity;
int orderMaximumQuantity;
+ String allowedQuantities;
+ bool allowAddingOnlyExistingAttributeCombinations;
+ bool disableBuyButton;
+ bool disableWishlistButton;
+ bool availableForPreOrder;
+ String preOrderAvailabilityStartDateTimeUtc;
+ bool callForPrice;
double price;
double oldPrice;
+ double productCost;
+ String specialPrice;
+ String specialPriceStartDateTimeUtc;
+ String specialPriceEndDateTimeUtc;
+ bool customerEntersPrice;
+ double minimumCustomerEnteredPrice;
+ double maximumCustomerEnteredPrice;
+ bool basepriceEnabled;
+ double basepriceAmount;
+ double basepriceBaseAmount;
+ bool hasTierPrices;
+ bool hasDiscountsApplied;
String discountName;
String discountNamen;
+ String discountDescription;
+ String discountDescriptionn;
String discountPercentage;
+ String currency;
+ String currencyn;
+ double weight;
+ double length;
+ double width;
+ double height;
+ String availableStartDateTimeUtc;
+ String availableEndDateTimeUtc;
int displayOrder;
+ bool published;
+ bool deleted;
+ String createdOnUtc;
+ String updatedOnUtc;
+ String productType;
+ int parentGroupedProductId;
+ List roleIds;
List discountIds;
+ List storeIds;
+ List manufacturerIds;
List reviews;
List images;
+ List attributes;
+ List specifications;
+ List associatedProductIds;
+ List tags;
+ int vendorId;
+ String seName;
+
PharmacyProduct(
{this.id,
+ this.visibleIndividually,
this.name,
this.namen,
this.shortDescription,
+ this.shortDescriptionn,
this.fullDescription,
this.fullDescriptionn,
+ this.markasNew,
+ this.showOnHomePage,
+ this.metaKeywords,
+ this.metaDescription,
+ this.metaTitle,
+ this.allowCustomerReviews,
this.approvedRatingSum,
+ this.notApprovedRatingSum,
this.approvedTotalReviews,
+ this.notApprovedTotalReviews,
this.sku,
this.isRx,
+ this.prescriptionRequired,
this.rxMessage,
this.rxMessagen,
+ this.manufacturerPartNumber,
+ this.gtin,
+ this.isGiftCard,
+ this.requireOtherProducts,
+ this.automaticallyAddRequiredProducts,
+ this.isDownload,
+ this.unlimitedDownloads,
+ this.maxNumberOfDownloads,
+ this.downloadExpirationDays,
+ this.hasSampleDownload,
+ this.hasUserAgreement,
+ this.isRecurring,
+ this.recurringCycleLength,
+ this.recurringTotalCycles,
+ this.isRental,
+ this.rentalPriceLength,
+ this.isShipEnabled,
+ this.isFreeShipping,
+ this.shipSeparately,
+ this.additionalShippingCharge,
+ this.isTaxExempt,
+ this.isTelecommunicationsOrBroadcastingOrElectronicServices,
+ this.useMultipleWarehouses,
+ this.manageInventoryMethodId,
this.stockQuantity,
this.stockAvailability,
this.stockAvailabilityn,
+ this.displayStockAvailability,
+ this.displayStockQuantity,
+ this.minStockQuantity,
+ this.notifyAdminForQuantityBelow,
this.allowBackInStockSubscriptions,
this.orderMinimumQuantity,
this.orderMaximumQuantity,
+ this.allowedQuantities,
+ this.allowAddingOnlyExistingAttributeCombinations,
+ this.disableBuyButton,
+ this.disableWishlistButton,
+ this.availableForPreOrder,
+ this.preOrderAvailabilityStartDateTimeUtc,
+ this.callForPrice,
this.price,
this.oldPrice,
+ this.productCost,
+ this.specialPrice,
+ this.specialPriceStartDateTimeUtc,
+ this.specialPriceEndDateTimeUtc,
+ this.customerEntersPrice,
+ this.minimumCustomerEnteredPrice,
+ this.maximumCustomerEnteredPrice,
+ this.basepriceEnabled,
+ this.basepriceAmount,
+ this.basepriceBaseAmount,
+ this.hasTierPrices,
+ this.hasDiscountsApplied,
this.discountName,
this.discountNamen,
+ this.discountDescription,
+ this.discountDescriptionn,
this.discountPercentage,
+ this.currency,
+ this.currencyn,
+ this.weight,
+ this.length,
+ this.width,
+ this.height,
+ this.availableStartDateTimeUtc,
+ this.availableEndDateTimeUtc,
this.displayOrder,
+ this.published,
+ this.deleted,
+ this.createdOnUtc,
+ this.updatedOnUtc,
+ this.productType,
+ this.parentGroupedProductId,
+ this.roleIds,
this.discountIds,
+ this.storeIds,
+ this.manufacturerIds,
this.reviews,
- this.images});
+ this.images,
+ this.attributes,
+ this.specifications,
+ this.associatedProductIds,
+ this.tags,
+ this.vendorId,
+ this.seName});
PharmacyProduct.fromJson(Map json) {
- try {
- id = json['id'];
- name = json['name'];
- namen = json['namen'];
- shortDescription = json['short_description'];
- fullDescription = json['full_description'];
- fullDescriptionn = json['full_descriptionn'];
- approvedRatingSum = json['approved_rating_sum'];
- approvedTotalReviews = json['approved_total_reviews'];
- sku = json['sku'];
- isRx = json['is_rx'];
- rxMessage = json['rx_message'];
- rxMessagen = json['rx_messagen'];
- stockQuantity = json['stock_quantity'];
- stockAvailability = json['stock_availability'];
- stockAvailabilityn = json['stock_availabilityn'];
- allowBackInStockSubscriptions = json['allow_back_in_stock_subscriptions'];
- orderMinimumQuantity = json['order_minimum_quantity'];
- orderMaximumQuantity = json['order_maximum_quantity'];
- price = json['price'];
- oldPrice = json['old_price'];
- discountName = json['discount_name'];
- discountNamen = json['discount_namen'];
- discountPercentage = json['discount_percentage'];
- displayOrder = json['display_order'];
- if (json['discount_ids'] != null) {
- discountIds = new List();
- json['discount_ids'].forEach((v) {
- discountIds.add(v);
- });
- }
- if (json['reviews'] != null) {
- reviews = new List();
- json['reviews'].forEach((v) {
- reviews.add(new Reviews.fromJson(v));
- });
- }
- if (json['images'] != null) {
- images = new List();
- json['images'].forEach((v) {
- images.add(new PharmacyImageObject.fromJson(v));
- });
- }
- } catch (e) {
- print(e);
+ id = json['id'];
+ visibleIndividually = json['visible_individually'];
+ name = json['name'];
+ namen = json['namen'];
+ shortDescription = json['short_description'];
+ shortDescriptionn = json['short_descriptionn'];
+ fullDescription = json['full_description'];
+ fullDescriptionn = json['full_descriptionn'];
+ markasNew = json['markas_new'];
+ showOnHomePage = json['show_on_home_page'];
+ metaKeywords = json['meta_keywords'];
+ metaDescription = json['meta_description'];
+ metaTitle = json['meta_title'];
+ allowCustomerReviews = json['allow_customer_reviews'];
+ approvedRatingSum = json['approved_rating_sum'];
+ notApprovedRatingSum = json['not_approved_rating_sum'];
+ approvedTotalReviews = json['approved_total_reviews'];
+ notApprovedTotalReviews = json['not_approved_total_reviews'];
+ sku = json['sku'];
+ isRx = json['is_rx'];
+ prescriptionRequired = json['prescription_required'];
+ rxMessage = json['rx_message'];
+ rxMessagen = json['rx_messagen'];
+ manufacturerPartNumber = json['manufacturer_part_number'];
+ gtin = json['gtin'];
+ isGiftCard = json['is_gift_card'];
+ requireOtherProducts = json['require_other_products'];
+ automaticallyAddRequiredProducts =
+ json['automatically_add_required_products'];
+ isDownload = json['is_download'];
+ unlimitedDownloads = json['unlimited_downloads'];
+ maxNumberOfDownloads = json['max_number_of_downloads'];
+ downloadExpirationDays = json['download_expiration_days'];
+ hasSampleDownload = json['has_sample_download'];
+ hasUserAgreement = json['has_user_agreement'];
+ isRecurring = json['is_recurring'];
+ recurringCycleLength = json['recurring_cycle_length'];
+ recurringTotalCycles = json['recurring_total_cycles'];
+ isRental = json['is_rental'];
+ rentalPriceLength = json['rental_price_length'];
+ isShipEnabled = json['is_ship_enabled'];
+ isFreeShipping = json['is_free_shipping'];
+ shipSeparately = json['ship_separately'];
+ additionalShippingCharge = json['additional_shipping_charge'];
+ isTaxExempt = json['is_tax_exempt'];
+ isTelecommunicationsOrBroadcastingOrElectronicServices =
+ json['is_telecommunications_or_broadcasting_or_electronic_services'];
+ useMultipleWarehouses = json['use_multiple_warehouses'];
+ manageInventoryMethodId = json['manage_inventory_method_id'];
+ stockQuantity = json['stock_quantity'];
+ stockAvailability = json['stock_availability'];
+ stockAvailabilityn = json['stock_availabilityn'];
+ displayStockAvailability = json['display_stock_availability'];
+ displayStockQuantity = json['display_stock_quantity'];
+ minStockQuantity = json['min_stock_quantity'];
+ notifyAdminForQuantityBelow = json['notify_admin_for_quantity_below'];
+ allowBackInStockSubscriptions = json['allow_back_in_stock_subscriptions'];
+ orderMinimumQuantity = json['order_minimum_quantity'];
+ orderMaximumQuantity = json['order_maximum_quantity'];
+ allowedQuantities = json['allowed_quantities'];
+ allowAddingOnlyExistingAttributeCombinations =
+ json['allow_adding_only_existing_attribute_combinations'];
+ disableBuyButton = json['disable_buy_button'];
+ disableWishlistButton = json['disable_wishlist_button'];
+ availableForPreOrder = json['available_for_pre_order'];
+ preOrderAvailabilityStartDateTimeUtc =
+ json['pre_order_availability_start_date_time_utc'];
+ callForPrice = json['call_for_price'];
+ price = json['price'];
+ oldPrice = json['old_price'];
+ productCost = json['product_cost'];
+ specialPrice = json['special_price'];
+ specialPriceStartDateTimeUtc = json['special_price_start_date_time_utc'];
+ specialPriceEndDateTimeUtc = json['special_price_end_date_time_utc'];
+ customerEntersPrice = json['customer_enters_price'];
+ minimumCustomerEnteredPrice = json['minimum_customer_entered_price'];
+ maximumCustomerEnteredPrice = json['maximum_customer_entered_price'];
+ basepriceEnabled = json['baseprice_enabled'];
+ basepriceAmount = json['baseprice_amount'];
+ basepriceBaseAmount = json['baseprice_base_amount'];
+ hasTierPrices = json['has_tier_prices'];
+ hasDiscountsApplied = json['has_discounts_applied'];
+ discountName = json['discount_name'];
+ discountNamen = json['discount_namen'];
+ discountDescription = json['discount_description'];
+ discountDescriptionn = json['discount_Descriptionn'];
+ discountPercentage = json['discount_percentage'];
+ currency = json['currency'];
+ currencyn = json['currencyn'];
+ weight = json['weight'];
+ length = json['length'];
+ width = json['width'];
+ height = json['height'];
+ availableStartDateTimeUtc = json['available_start_date_time_utc'];
+ availableEndDateTimeUtc = json['available_end_date_time_utc'];
+ displayOrder = json['display_order'];
+ published = json['published'];
+ deleted = json['deleted'];
+ createdOnUtc = json['created_on_utc'];
+ updatedOnUtc = json['updated_on_utc'];
+ productType = json['product_type'];
+ parentGroupedProductId = json['parent_grouped_product_id'];
+ if (json['role_ids'] != null) {
+ roleIds = new List();
+ json['role_ids'].forEach((v) {
+ roleIds.add(v);
+ });
+ }
+ if (json['discount_ids'] != null) {
+ discountIds = new List();
+ json['discount_ids'].forEach((v) {
+ discountIds.add(v);
+ });
+ }
+ if (json['store_ids'] != null) {
+ storeIds = new List();
+ json['store_ids'].forEach((v) {
+ storeIds.add(v);
+ });
+ }
+ if (json['manufacturer_ids'] != null) {
+ manufacturerIds = new List();
+ json['manufacturer_ids'].forEach((v) {
+ manufacturerIds.add(v);
+ });
+ }
+ if (json['reviews'] != null) {
+ reviews = new List();
+ json['reviews'].forEach((v) {
+ reviews.add(new Reviews.fromJson(v));
+ });
+ }
+ if (json['images'] != null) {
+ images = new List();
+ json['images'].forEach((v) {
+ images.add(new PharmacyImageObject.fromJson(v));
+ });
+ }
+ if (json['attributes'] != null) {
+ attributes = new List();
+ json['attributes'].forEach((v) {
+ attributes.add(v);
+ });
+ }
+ if (json['specifications'] != null) {
+ specifications = new List();
+ json['specifications'].forEach((v) {
+ specifications.add(new Specifications.fromJson(v));
+ });
}
+ if (json['associated_product_ids'] != null) {
+ associatedProductIds = new List();
+ json['associated_product_ids'].forEach((v) {
+ associatedProductIds.add(v);
+ });
+ }
+ if (json['tags'] != null) {
+ tags = new List();
+ json['tags'].forEach((v) {
+ tags.add(v);
+ });
+ }
+ vendorId = json['vendor_id'];
+ seName = json['se_name'];
}
Map toJson() {
final Map data = new Map();
data['id'] = this.id;
+ data['visible_individually'] = this.visibleIndividually;
data['name'] = this.name;
data['namen'] = this.namen;
data['short_description'] = this.shortDescription;
+ data['short_descriptionn'] = this.shortDescriptionn;
data['full_description'] = this.fullDescription;
data['full_descriptionn'] = this.fullDescriptionn;
+ data['markas_new'] = this.markasNew;
+ data['show_on_home_page'] = this.showOnHomePage;
+ data['meta_keywords'] = this.metaKeywords;
+ data['meta_description'] = this.metaDescription;
+ data['meta_title'] = this.metaTitle;
+ data['allow_customer_reviews'] = this.allowCustomerReviews;
data['approved_rating_sum'] = this.approvedRatingSum;
+ data['not_approved_rating_sum'] = this.notApprovedRatingSum;
data['approved_total_reviews'] = this.approvedTotalReviews;
+ data['not_approved_total_reviews'] = this.notApprovedTotalReviews;
data['sku'] = this.sku;
data['is_rx'] = this.isRx;
+ data['prescription_required'] = this.prescriptionRequired;
data['rx_message'] = this.rxMessage;
data['rx_messagen'] = this.rxMessagen;
+ data['manufacturer_part_number'] = this.manufacturerPartNumber;
+ data['gtin'] = this.gtin;
+ data['is_gift_card'] = this.isGiftCard;
+ data['require_other_products'] = this.requireOtherProducts;
+ data['automatically_add_required_products'] =
+ this.automaticallyAddRequiredProducts;
+ data['is_download'] = this.isDownload;
+ data['unlimited_downloads'] = this.unlimitedDownloads;
+ data['max_number_of_downloads'] = this.maxNumberOfDownloads;
+ data['download_expiration_days'] = this.downloadExpirationDays;
+ data['has_sample_download'] = this.hasSampleDownload;
+ data['has_user_agreement'] = this.hasUserAgreement;
+ data['is_recurring'] = this.isRecurring;
+ data['recurring_cycle_length'] = this.recurringCycleLength;
+ data['recurring_total_cycles'] = this.recurringTotalCycles;
+ data['is_rental'] = this.isRental;
+ data['rental_price_length'] = this.rentalPriceLength;
+ data['is_ship_enabled'] = this.isShipEnabled;
+ data['is_free_shipping'] = this.isFreeShipping;
+ data['ship_separately'] = this.shipSeparately;
+ data['additional_shipping_charge'] = this.additionalShippingCharge;
+ data['is_tax_exempt'] = this.isTaxExempt;
+ data['is_telecommunications_or_broadcasting_or_electronic_services'] =
+ this.isTelecommunicationsOrBroadcastingOrElectronicServices;
+ data['use_multiple_warehouses'] = this.useMultipleWarehouses;
+ data['manage_inventory_method_id'] = this.manageInventoryMethodId;
data['stock_quantity'] = this.stockQuantity;
data['stock_availability'] = this.stockAvailability;
data['stock_availabilityn'] = this.stockAvailabilityn;
+ data['display_stock_availability'] = this.displayStockAvailability;
+ data['display_stock_quantity'] = this.displayStockQuantity;
+ data['min_stock_quantity'] = this.minStockQuantity;
+ data['notify_admin_for_quantity_below'] = this.notifyAdminForQuantityBelow;
data['allow_back_in_stock_subscriptions'] =
this.allowBackInStockSubscriptions;
data['order_minimum_quantity'] = this.orderMinimumQuantity;
data['order_maximum_quantity'] = this.orderMaximumQuantity;
+ data['allowed_quantities'] = this.allowedQuantities;
+ data['allow_adding_only_existing_attribute_combinations'] =
+ this.allowAddingOnlyExistingAttributeCombinations;
+ data['disable_buy_button'] = this.disableBuyButton;
+ data['disable_wishlist_button'] = this.disableWishlistButton;
+ data['available_for_pre_order'] = this.availableForPreOrder;
+ data['pre_order_availability_start_date_time_utc'] =
+ this.preOrderAvailabilityStartDateTimeUtc;
+ data['call_for_price'] = this.callForPrice;
data['price'] = this.price;
data['old_price'] = this.oldPrice;
+ data['product_cost'] = this.productCost;
+ data['special_price'] = this.specialPrice;
+ data['special_price_start_date_time_utc'] =
+ this.specialPriceStartDateTimeUtc;
+ data['special_price_end_date_time_utc'] = this.specialPriceEndDateTimeUtc;
+ data['customer_enters_price'] = this.customerEntersPrice;
+ data['minimum_customer_entered_price'] = this.minimumCustomerEnteredPrice;
+ data['maximum_customer_entered_price'] = this.maximumCustomerEnteredPrice;
+ data['baseprice_enabled'] = this.basepriceEnabled;
+ data['baseprice_amount'] = this.basepriceAmount;
+ data['baseprice_base_amount'] = this.basepriceBaseAmount;
+ data['has_tier_prices'] = this.hasTierPrices;
+ data['has_discounts_applied'] = this.hasDiscountsApplied;
data['discount_name'] = this.discountName;
data['discount_namen'] = this.discountNamen;
+ data['discount_description'] = this.discountDescription;
+ data['discount_Descriptionn'] = this.discountDescriptionn;
data['discount_percentage'] = this.discountPercentage;
+ data['currency'] = this.currency;
+ data['currencyn'] = this.currencyn;
+ data['weight'] = this.weight;
+ data['length'] = this.length;
+ data['width'] = this.width;
+ data['height'] = this.height;
+ data['available_start_date_time_utc'] = this.availableStartDateTimeUtc;
+ data['available_end_date_time_utc'] = this.availableEndDateTimeUtc;
data['display_order'] = this.displayOrder;
- if (this.discountIds != String) {
+ data['published'] = this.published;
+ data['deleted'] = this.deleted;
+ data['created_on_utc'] = this.createdOnUtc;
+ data['updated_on_utc'] = this.updatedOnUtc;
+ data['product_type'] = this.productType;
+ data['parent_grouped_product_id'] = this.parentGroupedProductId;
+ if (this.roleIds != null) {
+ data['role_ids'] = this.roleIds.map((v) => v).toList();
+ }
+ if (this.discountIds != null) {
data['discount_ids'] = this.discountIds.map((v) => v).toList();
}
- if (this.reviews != String) {
+ if (this.storeIds != null) {
+ data['store_ids'] = this.storeIds.map((v) => v).toList();
+ }
+ data['manufacturer_ids'] = this.manufacturerIds;
+ if (this.reviews != null) {
data['reviews'] = this.reviews.map((v) => v.toJson()).toList();
}
- if (this.images != String) {
+ if (this.images != null) {
data['images'] = this.images.map((v) => v.toJson()).toList();
}
+ if (this.attributes != null) {
+ data['attributes'] = this.attributes.map((v) => v).toList();
+ }
+ if (this.specifications != null) {
+ data['specifications'] =
+ this.specifications.map((v) => v.toJson()).toList();
+ }
+ if (this.associatedProductIds != null) {
+ data['associated_product_ids'] =
+ this.associatedProductIds.map((v) => v).toList();
+ }
+ if (this.tags != null) {
+ data['tags'] = this.tags.map((v) => v).toList();
+ }
+ data['vendor_id'] = this.vendorId;
+ data['se_name'] = this.seName;
return data;
}
}
diff --git a/lib/core/model/pharmacies/PointsAmountPerMonth.dart b/lib/core/model/pharmacies/PointsAmountPerMonth.dart
new file mode 100644
index 00000000..71cf3498
--- /dev/null
+++ b/lib/core/model/pharmacies/PointsAmountPerMonth.dart
@@ -0,0 +1,42 @@
+import 'PointsAmountPerday.dart';
+
+class PointsAmountPerMonth {
+ double amountPerMonth;
+ String month;
+ int monthNumber;
+ List pointsAmountPerday;
+ double pointsPerMonth;
+
+ PointsAmountPerMonth(
+ {this.amountPerMonth,
+ this.month,
+ this.monthNumber,
+ this.pointsAmountPerday,
+ this.pointsPerMonth});
+
+ PointsAmountPerMonth.fromJson(Map json) {
+ amountPerMonth = json['AmountPerMonth'];
+ month = json['Month'];
+ monthNumber = json['MonthNumber'];
+ if (json['PointsAmountPerday'] != null) {
+ pointsAmountPerday = new List();
+ json['PointsAmountPerday'].forEach((v) {
+ pointsAmountPerday.add(new PointsAmountPerday.fromJson(v));
+ });
+ }
+ pointsPerMonth = json['PointsPerMonth'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['AmountPerMonth'] = this.amountPerMonth;
+ data['Month'] = this.month;
+ data['MonthNumber'] = this.monthNumber;
+ if (this.pointsAmountPerday != null) {
+ data['PointsAmountPerday'] =
+ this.pointsAmountPerday.map((v) => v.toJson()).toList();
+ }
+ data['PointsPerMonth'] = this.pointsPerMonth;
+ return data;
+ }
+}
diff --git a/lib/core/model/pharmacies/PointsAmountPerYear.dart b/lib/core/model/pharmacies/PointsAmountPerYear.dart
new file mode 100644
index 00000000..eef74064
--- /dev/null
+++ b/lib/core/model/pharmacies/PointsAmountPerYear.dart
@@ -0,0 +1,38 @@
+import 'PointsAmountPerMonth.dart';
+
+class PointsAmountPerYear {
+ int amountPerYear;
+ List pointsAmountPerMonth;
+ int pointsPerYear;
+ int year;
+
+ PointsAmountPerYear(
+ {this.amountPerYear,
+ this.pointsAmountPerMonth,
+ this.pointsPerYear,
+ this.year});
+
+ PointsAmountPerYear.fromJson(Map json) {
+ amountPerYear = json['AmountPerYear'];
+ if (json['PointsAmountPerMonth'] != null) {
+ pointsAmountPerMonth = new List();
+ json['PointsAmountPerMonth'].forEach((v) {
+ pointsAmountPerMonth.add(new PointsAmountPerMonth.fromJson(v));
+ });
+ }
+ pointsPerYear = json['PointsPerYear'];
+ year = json['Year'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['AmountPerYear'] = this.amountPerYear;
+ if (this.pointsAmountPerMonth != null) {
+ data['PointsAmountPerMonth'] =
+ this.pointsAmountPerMonth.map((v) => v.toJson()).toList();
+ }
+ data['PointsPerYear'] = this.pointsPerYear;
+ data['Year'] = this.year;
+ return data;
+ }
+}
diff --git a/lib/core/model/pharmacies/PointsAmountPerday.dart b/lib/core/model/pharmacies/PointsAmountPerday.dart
new file mode 100644
index 00000000..e78e87b7
--- /dev/null
+++ b/lib/core/model/pharmacies/PointsAmountPerday.dart
@@ -0,0 +1,42 @@
+import 'PointsDetails.dart';
+
+class PointsAmountPerday {
+ double amountPerDay;
+ String day;
+ List pointsDetails;
+ double pointsPerDay;
+ String transationDate;
+
+ PointsAmountPerday(
+ {this.amountPerDay,
+ this.day,
+ this.pointsDetails,
+ this.pointsPerDay,
+ this.transationDate});
+
+ PointsAmountPerday.fromJson(Map json) {
+ amountPerDay = json['AmountPerDay'];
+ day = json['Day'];
+ if (json['PointsDetails'] != null) {
+ pointsDetails = new List();
+ json['PointsDetails'].forEach((v) {
+ pointsDetails.add(new PointsDetails.fromJson(v));
+ });
+ }
+ pointsPerDay = json['PointsPerDay'];
+ transationDate = json['TransationDate'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['AmountPerDay'] = this.amountPerDay;
+ data['Day'] = this.day;
+ if (this.pointsDetails != null) {
+ data['PointsDetails'] =
+ this.pointsDetails.map((v) => v.toJson()).toList();
+ }
+ data['PointsPerDay'] = this.pointsPerDay;
+ data['TransationDate'] = this.transationDate;
+ return data;
+ }
+}
\ No newline at end of file
diff --git a/lib/core/model/pharmacies/PointsDetails.dart b/lib/core/model/pharmacies/PointsDetails.dart
new file mode 100644
index 00000000..7b342af9
--- /dev/null
+++ b/lib/core/model/pharmacies/PointsDetails.dart
@@ -0,0 +1,57 @@
+class PointsDetails {
+ int accNumber;
+ String accountStatus;
+ double amount;
+ int lineItemNo;
+ String operationType;
+ double points;
+ double purchasePoints;
+ int subTransactionType;
+ String subTransactionTypeDescription;
+ String transactionDate;
+
+ PointsDetails(
+ {this.accNumber,
+ this.accountStatus,
+ this.amount,
+ this.lineItemNo,
+ this.operationType,
+ this.points,
+ this.purchasePoints,
+ this.subTransactionType,
+ this.subTransactionTypeDescription,
+ this.transactionDate});
+
+ PointsDetails.fromJson(Map json) {
+ accNumber = json['AccNumber'];
+ accountStatus = json['AccountStatus'];
+ amount = json['Amount'];
+ lineItemNo = json['LineItemNo'];
+ operationType = json['OperationType'];
+ points = json['Points'];
+ var purchasePoints = json['PurchasePoints'];
+ if(purchasePoints is int){
+ this.purchasePoints = (purchasePoints).roundToDouble();
+ }else {
+ this.purchasePoints = purchasePoints;
+ }
+ subTransactionType = json['SubTransactionType'];
+ subTransactionTypeDescription = json['SubTransactionTypeDescription'];
+ transactionDate = json['TransactionDate'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['AccNumber'] = this.accNumber;
+ data['AccountStatus'] = this.accountStatus;
+ data['Amount'] = this.amount;
+ data['LineItemNo'] = this.lineItemNo;
+ data['OperationType'] = this.operationType;
+ data['Points'] = this.points;
+ data['PurchasePoints'] = this.purchasePoints;
+ data['SubTransactionType'] = this.subTransactionType;
+ data['SubTransactionTypeDescription'] = this.subTransactionTypeDescription;
+ data['TransactionDate'] = this.transactionDate;
+ return data;
+ }
+}
diff --git a/lib/core/model/pharmacies/ShippingOption.dart b/lib/core/model/pharmacies/ShippingOption.dart
new file mode 100644
index 00000000..1b589537
--- /dev/null
+++ b/lib/core/model/pharmacies/ShippingOption.dart
@@ -0,0 +1,97 @@
+class ShippingOption {
+ String shippingRateComputationMethodSystemName;
+ double rate;
+ double rateVat;
+ double rateVatPercent;
+ String name;
+ String namen;
+ String description;
+ String descriptionn;
+ bool allowShippingSunday;
+ bool allowShippingMonday;
+ bool allowShippingTuesday;
+ bool allowShippingWednesday;
+ bool allowShippingThursday;
+ bool allowShippingFriday;
+ bool allowShippingSaturday;
+ String allowShippingTime1From;
+ String allowShippingTime1To;
+ String allowShippingTime2From;
+ String allowShippingTime2To;
+ String allowShippingNote;
+ String allowShippingNoten;
+
+ ShippingOption(
+ {this.shippingRateComputationMethodSystemName,
+ this.rate,
+ this.rateVat,
+ this.rateVatPercent,
+ this.name,
+ this.namen,
+ this.description,
+ this.descriptionn,
+ this.allowShippingSunday,
+ this.allowShippingMonday,
+ this.allowShippingTuesday,
+ this.allowShippingWednesday,
+ this.allowShippingThursday,
+ this.allowShippingFriday,
+ this.allowShippingSaturday,
+ this.allowShippingTime1From,
+ this.allowShippingTime1To,
+ this.allowShippingTime2From,
+ this.allowShippingTime2To,
+ this.allowShippingNote,
+ this.allowShippingNoten});
+
+ ShippingOption.fromJson(Map json) {
+ shippingRateComputationMethodSystemName = json['shipping_rate_computation_method_system_name'];
+ rate = json['rate'];
+ rateVat = json['rate_vat'];
+ rateVatPercent = json['rate_vat_percent'];
+ name = json['name'];
+ namen = json['namen'];
+ description = json['description'];
+ descriptionn = json['descriptionn'];
+ allowShippingSunday = json['AllowShippingSunday'];
+ allowShippingMonday = json['AllowShippingMonday'];
+ allowShippingTuesday = json['AllowShippingTuesday'];
+ allowShippingWednesday = json['AllowShippingWednesday'];
+ allowShippingThursday = json['AllowShippingThursday'];
+ allowShippingFriday = json['AllowShippingFriday'];
+ allowShippingSaturday = json['AllowShippingSaturday'];
+ allowShippingTime1From = json['AllowShippingTime1From'];
+ allowShippingTime1To = json['AllowShippingTime1To'];
+ allowShippingTime2From = json['AllowShippingTime2From'];
+ allowShippingTime2To = json['AllowShippingTime2To'];
+ allowShippingNote = json['AllowShippingNote'];
+ allowShippingNoten = json['AllowShippingNoten'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['shipping_rate_computation_method_system_name'] =
+ this.shippingRateComputationMethodSystemName;
+ data['rate'] = this.rate;
+ data['rate_vat'] = this.rateVat;
+ data['rate_vat_percent'] = this.rateVatPercent;
+ data['name'] = this.name;
+ data['namen'] = this.namen;
+ data['description'] = this.description;
+ data['descriptionn'] = this.descriptionn;
+ data['AllowShippingSunday'] = this.allowShippingSunday;
+ data['AllowShippingMonday'] = this.allowShippingMonday;
+ data['AllowShippingTuesday'] = this.allowShippingTuesday;
+ data['AllowShippingWednesday'] = this.allowShippingWednesday;
+ data['AllowShippingThursday'] = this.allowShippingThursday;
+ data['AllowShippingFriday'] = this.allowShippingFriday;
+ data['AllowShippingSaturday'] = this.allowShippingSaturday;
+ data['AllowShippingTime1From'] = this.allowShippingTime1From;
+ data['AllowShippingTime1To'] = this.allowShippingTime1To;
+ data['AllowShippingTime2From'] = this.allowShippingTime2From;
+ data['AllowShippingTime2To'] = this.allowShippingTime2To;
+ data['AllowShippingNote'] = this.allowShippingNote;
+ data['AllowShippingNoten'] = this.allowShippingNoten;
+ return data;
+ }
+}
diff --git a/lib/core/model/pharmacies/ShoppingCart.dart b/lib/core/model/pharmacies/ShoppingCart.dart
new file mode 100644
index 00000000..f965203a
--- /dev/null
+++ b/lib/core/model/pharmacies/ShoppingCart.dart
@@ -0,0 +1,115 @@
+import 'package:diplomaticquarterapp/core/model/pharmacies/Customer.dart';
+import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart';
+
+class ShoppingCart {
+ int languageId;
+ String id;
+ // List productAttributes;
+ double customerEnteredPrice;
+ int quantity;
+ String discountAmountInclTax;
+ String subtotal;
+ String subtotalWithVat;
+ String subtotalVatAmount;
+ String subtotalVatRate;
+ String currency;
+ String currencyn;
+ String rentalStartDateUtc;
+ String rentalEndDateUtc;
+ String createdOnUtc;
+ String updatedOnUtc;
+ String shoppingCartType;
+ int productId;
+ PharmacyProduct product;
+ int customerId;
+ Customer customer;
+
+ ShoppingCart(
+ {this.languageId,
+ this.id,
+ // this.productAttributes,
+ this.customerEnteredPrice,
+ this.quantity,
+ this.discountAmountInclTax,
+ this.subtotal,
+ this.subtotalWithVat,
+ this.subtotalVatAmount,
+ this.subtotalVatRate,
+ this.currency,
+ this.currencyn,
+ this.rentalStartDateUtc,
+ this.rentalEndDateUtc,
+ this.createdOnUtc,
+ this.updatedOnUtc,
+ this.shoppingCartType,
+ this.productId,
+ this.product,
+ this.customerId,
+ this.customer});
+
+ ShoppingCart.fromJson(Map json) {
+ languageId = json['language_id'];
+ id = json['id'];
+ /*if (json['product_attributes'] != null) {
+ productAttributes = new List();
+ json['product_attributes'].forEach((v) {
+ productAttributes.add(new Null.fromJson(v));
+ });
+ }*/
+ customerEnteredPrice = json['customer_entered_price'];
+ quantity = json['quantity'];
+ discountAmountInclTax = json['discount_amount_incl_tax'];
+ subtotal = json['subtotal'];
+ subtotalWithVat = json['subtotal_with_vat'];
+ subtotalVatAmount = json['subtotal_vat_amount'];
+ subtotalVatRate = json['subtotal_vat_rate'];
+ currency = json['currency'];
+ currencyn = json['currencyn'];
+ rentalStartDateUtc = json['rental_start_date_utc'];
+ rentalEndDateUtc = json['rental_end_date_utc'];
+ createdOnUtc = json['created_on_utc'];
+ updatedOnUtc = json['updated_on_utc'];
+ shoppingCartType = json['shopping_cart_type'];
+ productId = json['product_id'];
+ product = json['product'] != null
+ ? new PharmacyProduct.fromJson(json['product'])
+ : null;
+ customerId = json['customer_id'];
+ customer = json['customer'] != null
+ ? new Customer.fromJson(json['customer'])
+ : null;
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['language_id'] = this.languageId;
+ data['id'] = this.id;
+ /*if (this.productAttributes != null) {
+ data['product_attributes'] =
+ this.productAttributes.map((v) => v.toJson()).toList();
+ }*/
+ data['customer_entered_price'] = this.customerEnteredPrice;
+ data['quantity'] = this.quantity;
+ data['discount_amount_incl_tax'] = this.discountAmountInclTax;
+ data['subtotal'] = this.subtotal;
+ data['subtotal_with_vat'] = this.subtotalWithVat;
+ data['subtotal_vat_amount'] = this.subtotalVatAmount;
+ data['subtotal_vat_rate'] = this.subtotalVatRate;
+ data['currency'] = this.currency;
+ data['currencyn'] = this.currencyn;
+ data['rental_start_date_utc'] = this.rentalStartDateUtc;
+ data['rental_end_date_utc'] = this.rentalEndDateUtc;
+ data['created_on_utc'] = this.createdOnUtc;
+ data['updated_on_utc'] = this.updatedOnUtc;
+ data['shopping_cart_type'] = this.shoppingCartType;
+ data['product_id'] = this.productId;
+ if (this.product != null) {
+ data['product'] = this.product.toJson();
+ }
+ data['customer_id'] = this.customerId;
+ if (this.customer != null) {
+ data['customer'] = this.customer.toJson();
+ }
+ return data;
+ }
+}
diff --git a/lib/core/model/pharmacies/ShoppingCartResponse.dart b/lib/core/model/pharmacies/ShoppingCartResponse.dart
new file mode 100644
index 00000000..96b751ae
--- /dev/null
+++ b/lib/core/model/pharmacies/ShoppingCartResponse.dart
@@ -0,0 +1,55 @@
+import 'package:diplomaticquarterapp/core/model/pharmacies/ShoppingCart.dart';
+import 'package:flutter/material.dart';
+
+class ShoppingCartResponse with ChangeNotifier {
+ int itemCount;
+ int quantityCount;
+ double subtotal;
+ double subtotalWithVat;
+ double subtotalVatAmount;
+ double subtotalVatRate;
+ List shoppingCarts;
+
+ ShoppingCartResponse(
+ {this.itemCount,
+ this.quantityCount,
+ this.subtotal,
+ this.subtotalWithVat,
+ this.subtotalVatAmount,
+ this.subtotalVatRate,
+ this.shoppingCarts});
+
+ void updateShoppingCard() {
+ notifyListeners();
+ }
+
+ ShoppingCartResponse.fromJson(Map json) {
+ itemCount = json['item_count'];
+ quantityCount = json['quantity_count'];
+ subtotal = json['subtotal'];
+ subtotalWithVat = json['subtotal_with_vat'];
+ subtotalVatAmount = json['subtotal_vat_amount'];
+ subtotalVatRate = json['subtotal_vat_rate'];
+ if (json['shopping_carts'] != null) {
+ shoppingCarts = new List();
+ json['shopping_carts'].forEach((v) {
+ shoppingCarts.add(new ShoppingCart.fromJson(v));
+ });
+ }
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['item_count'] = this.itemCount;
+ data['quantity_count'] = this.quantityCount;
+ data['subtotal'] = this.subtotal;
+ data['subtotal_with_vat'] = this.subtotalWithVat;
+ data['subtotal_vat_amount'] = this.subtotalVatAmount;
+ data['subtotal_vat_rate'] = this.subtotalVatRate;
+ if (this.shoppingCarts != null) {
+ data['shopping_carts'] =
+ this.shoppingCarts.map((v) => v.toJson()).toList();
+ }
+ return data;
+ }
+}
diff --git a/lib/core/model/pharmacies/Specifications.dart b/lib/core/model/pharmacies/Specifications.dart
new file mode 100644
index 00000000..f227de69
--- /dev/null
+++ b/lib/core/model/pharmacies/Specifications.dart
@@ -0,0 +1,36 @@
+class Specifications {
+ int id;
+ int displayOrder;
+ String defaultValue;
+ String defaultValuen;
+ String name;
+ String nameN;
+
+ Specifications(
+ {this.id,
+ this.displayOrder,
+ this.defaultValue,
+ this.defaultValuen,
+ this.name,
+ this.nameN});
+
+ Specifications.fromJson(Map json) {
+ id = json['id'];
+ displayOrder = json['display_order'];
+ defaultValue = json['default_value'];
+ defaultValuen = json['default_valuen'];
+ name = json['name'];
+ nameN = json['nameN'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['id'] = this.id;
+ data['display_order'] = this.displayOrder;
+ data['default_value'] = this.defaultValue;
+ data['default_valuen'] = this.defaultValuen;
+ data['name'] = this.name;
+ data['nameN'] = this.nameN;
+ return data;
+ }
+}
diff --git a/lib/core/model/pharmacies/order_model.dart b/lib/core/model/pharmacies/order_model.dart
new file mode 100644
index 00000000..027d1f81
--- /dev/null
+++ b/lib/core/model/pharmacies/order_model.dart
@@ -0,0 +1,1456 @@
+
+import 'dart:convert';
+
+import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyImageObject.dart';
+
+List orderModelFromJson(String str) => List.from(json.decode(str).map((x) => OrderModel.fromJson(x)));
+
+String orderModelToJson(List data) => json.encode(List.from(data.map((x) => x.toJson())));
+
+class OrderModel {
+ OrderModel({
+ this.id,
+ this.storeId,
+ this.orderGuid,
+ this.pickUpInStore,
+ this.paymentMethodSystemName,
+ this.paymentName,
+ this.paymentNamen,
+ this.customerCurrencyCode,
+ this.currencyRate,
+ this.customerTaxDisplayTypeId,
+ this.vatNumber,
+ this.orderSubtotalInclTax,
+ this.orderSubtotalExclTax,
+ this.orderSubTotalDiscountInclTax,
+ this.orderSubTotalDiscountExclTax,
+ this.orderShippingInclTax,
+ this.orderShippingExclTax,
+ this.paymentMethodAdditionalFeeInclTax,
+ this.paymentMethodAdditionalFeeExclTax,
+ this.taxRates,
+ this.orderTax,
+ this.orderDiscount,
+ this.orderTotal,
+ this.refundedAmount,
+ this.rewardPointsWereAdded,
+ this.rxAttachments,
+ this.checkoutAttributeDescription,
+ this.customerLanguageId,
+ this.affiliateId,
+ this.customerIp,
+ this.authorizationTransactionId,
+ this.authorizationTransactionCode,
+ this.authorizationTransactionResult,
+ this.captureTransactionId,
+ this.captureTransactionResult,
+ this.subscriptionTransactionId,
+ this.paidDateUtc,
+ this.shippingMethod,
+ this.shippingRateComputationMethodSystemName,
+ this.customValuesXml,
+ this.deleted,
+ this.createdOnUtc,
+ this.customer,
+ this.customerId,
+ this.billingAddress,
+ this.shippingAddress,
+ this.orderItems,
+ this.orderStatusId,
+ this.orderStatus,
+ this.orderStatusn,
+ this.paymentStatusId,
+ this.paymentStatus,
+ this.paymentStatusn,
+ this.shippingStatus,
+ this.shippingStatusn,
+ this.customerTaxDisplayType,
+ this.canCancel,
+ this.canRefund,
+ this.lakumAmount,
+ this.preferDeliveryDate,
+ this.preferDeliveryTime,
+ this.preferDeliveryTimen,
+ });
+
+ String id;
+ dynamic storeId;
+ String orderGuid;
+ bool pickUpInStore;
+ PaymentMethodSystemName paymentMethodSystemName;
+ PaymentName paymentName;
+ PaymentName paymentNamen;
+ CustomerCurrencyCode customerCurrencyCode;
+ dynamic currencyRate;
+ dynamic customerTaxDisplayTypeId;
+ dynamic vatNumber;
+ double orderSubtotalInclTax;
+ double orderSubtotalExclTax;
+ dynamic orderSubTotalDiscountInclTax;
+ dynamic orderSubTotalDiscountExclTax;
+ double orderShippingInclTax;
+ dynamic orderShippingExclTax;
+ dynamic paymentMethodAdditionalFeeInclTax;
+ dynamic paymentMethodAdditionalFeeExclTax;
+ String taxRates;
+ double orderTax;
+ dynamic orderDiscount;
+ double orderTotal;
+ dynamic refundedAmount;
+ dynamic rewardPointsWereAdded;
+ String rxAttachments;
+ CheckoutAttributeDescription checkoutAttributeDescription;
+ dynamic customerLanguageId;
+ dynamic affiliateId;
+ CustomerIp customerIp;
+ String authorizationTransactionId;
+ dynamic authorizationTransactionCode;
+ dynamic authorizationTransactionResult;
+ dynamic captureTransactionId;
+ dynamic captureTransactionResult;
+ dynamic subscriptionTransactionId;
+ DateTime paidDateUtc;
+ ShippingMethod shippingMethod;
+ ShippingRateComputationMethodSystemName shippingRateComputationMethodSystemName;
+ String customValuesXml;
+ bool deleted;
+ DateTime createdOnUtc;
+ OrderModelCustomer customer;
+ dynamic customerId;
+ IngAddress billingAddress;
+ IngAddress shippingAddress;
+ List orderItems;
+ dynamic orderStatusId;
+ OrderStatus orderStatus;
+ OrderStatusn orderStatusn;
+ dynamic paymentStatusId;
+ PaymentStatus paymentStatus;
+ PaymentStatusn paymentStatusn;
+ ShippingStatus shippingStatus;
+ ShippingStatusn shippingStatusn;
+ CustomerTaxDisplayType customerTaxDisplayType;
+ bool canCancel;
+ bool canRefund;
+ dynamic lakumAmount;
+ DateTime preferDeliveryDate;
+ PreferDeliveryTime preferDeliveryTime;
+ PreferDeliveryTimen preferDeliveryTimen;
+
+ factory OrderModel.fromJson(Map json) => OrderModel(
+ id: json["id"],
+ storeId: json["store_id"],
+ orderGuid: json["order_guid"],
+ pickUpInStore: json["pick_up_in_store"],
+ paymentMethodSystemName: paymentMethodSystemNameValues.map[json["payment_method_system_name"]],
+ paymentName: paymentNameValues.map[json["payment_name"]],
+ paymentNamen: paymentNameValues.map[json["payment_namen"]],
+ customerCurrencyCode: customerCurrencyCodeValues.map[json["customer_currency_code"]],
+ currencyRate: json["currency_rate"],
+ customerTaxDisplayTypeId: json["customer_tax_display_type_id"],
+ vatNumber: json["vat_number"],
+ orderSubtotalInclTax: json["order_subtotal_incl_tax"].toDouble(),
+ orderSubtotalExclTax: json["order_subtotal_excl_tax"].toDouble(),
+ orderSubTotalDiscountInclTax: json["order_sub_total_discount_incl_tax"],
+ orderSubTotalDiscountExclTax: json["order_sub_total_discount_excl_tax"],
+ orderShippingInclTax: json["order_shipping_incl_tax"].toDouble(),
+ orderShippingExclTax: json["order_shipping_excl_tax"],
+ paymentMethodAdditionalFeeInclTax: json["payment_method_additional_fee_incl_tax"],
+ paymentMethodAdditionalFeeExclTax: json["payment_method_additional_fee_excl_tax"],
+ taxRates: json["tax_rates"],
+ orderTax: json["order_tax"].toDouble(),
+ orderDiscount: json["order_discount"],
+ orderTotal: json["order_total"].toDouble(),
+ refundedAmount: json["refunded_amount"],
+ rewardPointsWereAdded: json["reward_points_were_added"],
+ rxAttachments: json["rx_attachments"] == null ? null : json["rx_attachments"],
+ checkoutAttributeDescription: checkoutAttributeDescriptionValues.map[json["checkout_attribute_description"]],
+ customerLanguageId: json["customer_language_id"],
+ affiliateId: json["affiliate_id"],
+ customerIp: customerIpValues.map[json["customer_ip"]],
+ authorizationTransactionId: json["authorization_transaction_id"] == null ? null : json["authorization_transaction_id"],
+ authorizationTransactionCode: json["authorization_transaction_code"],
+ authorizationTransactionResult: json["authorization_transaction_result"],
+ captureTransactionId: json["capture_transaction_id"],
+ captureTransactionResult: json["capture_transaction_result"],
+ subscriptionTransactionId: json["subscription_transaction_id"],
+ paidDateUtc: json["paid_date_utc"] == null ? null : DateTime.parse(json["paid_date_utc"]),
+ shippingMethod: shippingMethodValues.map[json["shipping_method"]],
+ shippingRateComputationMethodSystemName: shippingRateComputationMethodSystemNameValues.map[json["shipping_rate_computation_method_system_name"]],
+ customValuesXml: json["custom_values_xml"],
+ deleted: json["deleted"],
+ createdOnUtc: DateTime.parse(json["created_on_utc"]),
+ customer: OrderModelCustomer.fromJson(json["customer"]),
+ customerId: json["customer_id"],
+ billingAddress: IngAddress.fromJson(json["billing_address"]),
+ shippingAddress: IngAddress.fromJson(json["shipping_address"]),
+ orderItems: List.from(json["order_items"].map((x) => OrderItem.fromJson(x))),
+ orderStatusId: json["order_status_id"],
+ orderStatus: orderStatusValues.map[json["order_status"]],
+ orderStatusn: orderStatusnValues.map[json["order_statusn"]],
+ paymentStatusId: json["payment_status_id"],
+ paymentStatus: paymentStatusValues.map[json["payment_status"]],
+ paymentStatusn: paymentStatusnValues.map[json["payment_statusn"]],
+ shippingStatus: shippingStatusValues.map[json["shipping_status"]],
+ shippingStatusn: shippingStatusnValues.map[json["shipping_statusn"]],
+ customerTaxDisplayType: customerTaxDisplayTypeValues.map[json["customer_tax_display_type"]],
+ canCancel: json["can_cancel"],
+ canRefund: json["can_refund"],
+ lakumAmount: json["lakum_amount"],
+ preferDeliveryDate: json["prefer_delivery_date"] == null ? null : DateTime.parse(json["prefer_delivery_date"]),
+ preferDeliveryTime: json["prefer_delivery_time"] == null ? null : preferDeliveryTimeValues.map[json["prefer_delivery_time"]],
+ preferDeliveryTimen: json["prefer_delivery_timen"] == null ? null : preferDeliveryTimenValues.map[json["prefer_delivery_timen"]],
+ );
+
+ Map toJson() => {
+ "id": id,
+ "store_id": storeId,
+ "order_guid": orderGuid,
+ "pick_up_in_store": pickUpInStore,
+ "payment_method_system_name": paymentMethodSystemNameValues.reverse[paymentMethodSystemName],
+ "payment_name": paymentNameValues.reverse[paymentName],
+ "payment_namen": paymentNameValues.reverse[paymentNamen],
+ "customer_currency_code": customerCurrencyCodeValues.reverse[customerCurrencyCode],
+ "currency_rate": currencyRate,
+ "customer_tax_display_type_id": customerTaxDisplayTypeId,
+ "vat_number": vatNumber,
+ "order_subtotal_incl_tax": orderSubtotalInclTax,
+ "order_subtotal_excl_tax": orderSubtotalExclTax,
+ "order_sub_total_discount_incl_tax": orderSubTotalDiscountInclTax,
+ "order_sub_total_discount_excl_tax": orderSubTotalDiscountExclTax,
+ "order_shipping_incl_tax": orderShippingInclTax,
+ "order_shipping_excl_tax": orderShippingExclTax,
+ "payment_method_additional_fee_incl_tax": paymentMethodAdditionalFeeInclTax,
+ "payment_method_additional_fee_excl_tax": paymentMethodAdditionalFeeExclTax,
+ "tax_rates": taxRates,
+ "order_tax": orderTax,
+ "order_discount": orderDiscount,
+ "order_total": orderTotal,
+ "refunded_amount": refundedAmount,
+ "reward_points_were_added": rewardPointsWereAdded,
+ "rx_attachments": rxAttachments == null ? null : rxAttachments,
+ "checkout_attribute_description": checkoutAttributeDescriptionValues.reverse[checkoutAttributeDescription],
+ "customer_language_id": customerLanguageId,
+ "affiliate_id": affiliateId,
+ "customer_ip": customerIpValues.reverse[customerIp],
+ "authorization_transaction_id": authorizationTransactionId == null ? null : authorizationTransactionId,
+ "authorization_transaction_code": authorizationTransactionCode,
+ "authorization_transaction_result": authorizationTransactionResult,
+ "capture_transaction_id": captureTransactionId,
+ "capture_transaction_result": captureTransactionResult,
+ "subscription_transaction_id": subscriptionTransactionId,
+ "paid_date_utc": paidDateUtc == null ? null : paidDateUtc.toIso8601String(),
+ "shipping_method": shippingMethodValues.reverse[shippingMethod],
+ "shipping_rate_computation_method_system_name": shippingRateComputationMethodSystemNameValues.reverse[shippingRateComputationMethodSystemName],
+ "custom_values_xml": customValuesXml,
+ "deleted": deleted,
+ "created_on_utc": createdOnUtc.toIso8601String(),
+ "customer": customer.toJson(),
+ "customer_id": customerId,
+ "billing_address": billingAddress.toJson(),
+ "shipping_address": shippingAddress.toJson(),
+ "order_items": List.from(orderItems.map((x) => x.toJson())),
+ "order_status_id": orderStatusId,
+ "order_status": orderStatusValues.reverse[orderStatus],
+ "order_statusn": orderStatusnValues.reverse[orderStatusn],
+ "payment_status_id": paymentStatusId,
+ "payment_status": paymentStatusValues.reverse[paymentStatus],
+ "payment_statusn": paymentStatusnValues.reverse[paymentStatusn],
+ "shipping_status": shippingStatusValues.reverse[shippingStatus],
+ "shipping_statusn": shippingStatusnValues.reverse[shippingStatusn],
+ "customer_tax_display_type": customerTaxDisplayTypeValues.reverse[customerTaxDisplayType],
+ "can_cancel": canCancel,
+ "can_refund": canRefund,
+ "lakum_amount": lakumAmount,
+ "prefer_delivery_date": preferDeliveryDate == null ? null : "${preferDeliveryDate.year.toString().padLeft(4, '0')}-${preferDeliveryDate.month.toString().padLeft(2, '0')}-${preferDeliveryDate.day.toString().padLeft(2, '0')}",
+ "prefer_delivery_time": preferDeliveryTime == null ? null : preferDeliveryTimeValues.reverse[preferDeliveryTime],
+ "prefer_delivery_timen": preferDeliveryTimen == null ? null : preferDeliveryTimenValues.reverse[preferDeliveryTimen],
+ };
+}
+
+class IngAddress {
+ IngAddress({
+ this.id,
+ this.firstName,
+ this.lastName,
+ this.email,
+ this.company,
+ this.countryId,
+ this.country,
+ this.stateProvinceId,
+ this.city,
+ this.address1,
+ this.address2,
+ this.zipPostalCode,
+ this.phoneNumber,
+ this.faxNumber,
+ this.customerAttributes,
+ this.createdOnUtc,
+ this.province,
+ this.latLong,
+ });
+
+ String id;
+ FirstName firstName;
+ LastName lastName;
+ BillingAddressEmail email;
+ dynamic company;
+ dynamic countryId;
+ Country country;
+ dynamic stateProvinceId;
+ City city;
+ Address1 address1;
+ Address2 address2;
+ String zipPostalCode;
+ String phoneNumber;
+ dynamic faxNumber;
+ String customerAttributes;
+ DateTime createdOnUtc;
+ dynamic province;
+ LatLong latLong;
+
+ factory IngAddress.fromJson(Map json) => IngAddress(
+ id: json["id"],
+ firstName: firstNameValues.map[json["first_name"]],
+ lastName: lastNameValues.map[json["last_name"]],
+ email: billingAddressEmailValues.map[json["email"]],
+ company: json["company"],
+ countryId: json["country_id"],
+ country: countryValues.map[json["country"]],
+ stateProvinceId: json["state_province_id"],
+ city: cityValues.map[json["city"]],
+ address1: address1Values.map[json["address1"]],
+ address2: address2Values.map[json["address2"]],
+ zipPostalCode: json["zip_postal_code"],
+ phoneNumber: json["phone_number"],
+ faxNumber: json["fax_number"],
+ customerAttributes: json["customer_attributes"],
+ createdOnUtc: DateTime.parse(json["created_on_utc"]),
+ province: json["province"],
+ latLong: latLongValues.map[json["lat_long"]],
+ );
+
+ Map toJson() => {
+ "id": id,
+ "first_name": firstNameValues.reverse[firstName],
+ "last_name": lastNameValues.reverse[lastName],
+ "email": billingAddressEmailValues.reverse[email],
+ "company": company,
+ "country_id": countryId,
+ "country": countryValues.reverse[country],
+ "state_province_id": stateProvinceId,
+ "city": cityValues.reverse[city],
+ "address1": address1Values.reverse[address1],
+ "address2": address2Values.reverse[address2],
+ "zip_postal_code": zipPostalCode,
+ "phone_number": phoneNumber,
+ "fax_number": faxNumber,
+ "customer_attributes": customerAttributes,
+ "created_on_utc": createdOnUtc.toIso8601String(),
+ "province": province,
+ "lat_long": latLongValues.reverse[latLong],
+ };
+}
+
+enum Address1 { THE_7960_MOSAB_IBN_UMAIR_STREET_AL_RIYADH, THE_6500_AL_AMEEN_ABDULLAH_AL_ALI_AL_NAEEM_STREET_AL_RIYADH, THE_6603_IBRAHIM_IBN_AL_HAMASI_AR_RIYAD, THE_9626_SALAH_AD_DIN_AL_AYYUBI_ROAD_AL_RIYADH, THE_3075_PRINCE_MANSUR_BIN_ABDULAZIZ_STREET_AL_RIYADH, THE_40, THE_7801_AL_IHSA_AL_RIYADH }
+
+final address1Values = EnumValues({
+ "3075, Prince Mansur Bin Abdulaziz Street, Al Riyadh, ": Address1.THE_3075_PRINCE_MANSUR_BIN_ABDULAZIZ_STREET_AL_RIYADH,
+ "40,": Address1.THE_40,
+ "6500, Al Ameen Abdullah Al Ali Al Naeem Street, Al Riyadh, ": Address1.THE_6500_AL_AMEEN_ABDULLAH_AL_ALI_AL_NAEEM_STREET_AL_RIYADH,
+ "6603, Ibrahim Ibn Al Hamasi, Ar-Riyad, ": Address1.THE_6603_IBRAHIM_IBN_AL_HAMASI_AR_RIYAD,
+ "7801, Al Ihsa, Al Riyadh, ": Address1.THE_7801_AL_IHSA_AL_RIYADH,
+ "7960, Mosab Ibn Umair Street, Al Riyadh, ": Address1.THE_7960_MOSAB_IBN_UMAIR_STREET_AL_RIYADH,
+ "9626, Salah Ad Din Al Ayyubi Road, Al Riyadh, ": Address1.THE_9626_SALAH_AD_DIN_AL_AYYUBI_ROAD_AL_RIYADH
+});
+
+enum Address2 { AL_MALAZ_RIYADH_PROVINCE_3460, AL_MALAZ_RIYADH_PROVINCE_2817, AR_RAHMANIYYAH_RIYADH_PROVINCE_3816, AL_MALAZ_RIYADH_PROVINCE_3815, AL_WIZARAT_RIYADH_PROVINCE_7039, EASTERN_PROVINCE, AL_MALAZ_RIYADH_PROVINCE_3084 }
+
+final address2Values = EnumValues({
+ "Al Malaz, Riyadh Province, 2817, ": Address2.AL_MALAZ_RIYADH_PROVINCE_2817,
+ "Al Malaz, Riyadh Province, 3084, ": Address2.AL_MALAZ_RIYADH_PROVINCE_3084,
+ "Al Malaz, Riyadh Province, 3460, ": Address2.AL_MALAZ_RIYADH_PROVINCE_3460,
+ "Al Malaz, Riyadh Province, 3815, ": Address2.AL_MALAZ_RIYADH_PROVINCE_3815,
+ "Al Wizarat, Riyadh Province, 7039, ": Address2.AL_WIZARAT_RIYADH_PROVINCE_7039,
+ "Ar Rahmaniyyah, Riyadh Province, 3816, ": Address2.AR_RAHMANIYYAH_RIYADH_PROVINCE_3816,
+ "Eastern Province,": Address2.EASTERN_PROVINCE
+});
+
+enum City { RIYADH, DAMMAM }
+
+final cityValues = EnumValues({
+ "Dammam": City.DAMMAM,
+ "Riyadh": City.RIYADH
+});
+
+enum Country { SAUDI_ARABIA }
+
+final countryValues = EnumValues({
+ "Saudi Arabia": Country.SAUDI_ARABIA
+});
+
+enum BillingAddressEmail { TAMER_FANASHEH_GMAIL_COM, TAMER_DASDASDAS_GMAIL_COM, TAMER_FANASHEH_DRSULAIMANALHABIB_COM }
+
+final billingAddressEmailValues = EnumValues({
+ "Tamer.dasdasdas@gmail.com": BillingAddressEmail.TAMER_DASDASDAS_GMAIL_COM,
+ "tamer.fanasheh@drsulaimanalhabib.com": BillingAddressEmail.TAMER_FANASHEH_DRSULAIMANALHABIB_COM,
+ "Tamer.fanasheh@gmail.com": BillingAddressEmail.TAMER_FANASHEH_GMAIL_COM
+});
+
+enum FirstName { TAMER, TAMER_FANASHEH, FIRST_NAME_TAMER }
+
+final firstNameValues = EnumValues({
+ "tamer": FirstName.FIRST_NAME_TAMER,
+ "TAMER": FirstName.TAMER,
+ "TAMER FANASHEH": FirstName.TAMER_FANASHEH
+});
+
+enum LastName { FANASHEH, MUSA, LAST_NAME_FANASHEH }
+
+final lastNameValues = EnumValues({
+ "FANASHEH": LastName.FANASHEH,
+ "Fanasheh": LastName.LAST_NAME_FANASHEH,
+ "MUSA": LastName.MUSA
+});
+
+enum LatLong { THE_246784385694919524674091019299842, THE_24664749106968054673501121876645, THE_2470993657522702246664724647270134, THE_246626170308533764673348444086107, THE_24664875225999005467347443322574, THE_24674331807435784671024726818286, THE_263430228396836664991113909164471, THE_246767400793488074673774399406786, THE_24665374673515 }
+
+final latLongValues = EnumValues({
+ "24.662617030853376,46.73348444086107": LatLong.THE_246626170308533764673348444086107,
+ "24.66474910696805,46.73501121876645": LatLong.THE_24664749106968054673501121876645,
+ "24.664875225999005,46.7347443322574": LatLong.THE_24664875225999005467347443322574,
+ "24.66537,46.73515": LatLong.THE_24665374673515,
+ "24.67433180743578,46.71024726818286": LatLong.THE_24674331807435784671024726818286,
+ "24.676740079348807,46.73774399406786": LatLong.THE_246767400793488074673774399406786,
+ "24.678438569491952,46.74091019299842": LatLong.THE_246784385694919524674091019299842,
+ "24.709936575227022,46.664724647270134": LatLong.THE_2470993657522702246664724647270134,
+ "26.343022839683666, 49.91113909164471": LatLong.THE_263430228396836664991113909164471
+});
+
+enum CheckoutAttributeDescription { EMPTY, CHECKOUT_ATTRIBUTE_DESCRIPTION }
+
+final checkoutAttributeDescriptionValues = EnumValues({
+ "ارفاق وصفة: ": CheckoutAttributeDescription.CHECKOUT_ATTRIBUTE_DESCRIPTION,
+ "": CheckoutAttributeDescription.EMPTY
+});
+
+class OrderModelCustomer {
+ OrderModelCustomer({
+ this.id,
+ this.username,
+ this.email,
+ this.firstName,
+ this.lastName,
+ this.languageId,
+ this.adminComment,
+ this.isTaxExempt,
+ this.hasShoppingCartItems,
+ this.active,
+ this.deleted,
+ this.isSystemAccount,
+ this.systemName,
+ this.lastIpAddress,
+ this.createdOnUtc,
+ this.lastLoginDateUtc,
+ this.lastActivityDateUtc,
+ this.registeredInStoreId,
+ this.roleIds,
+ });
+
+ String id;
+ Username username;
+ BillingAddressEmail email;
+ FirstName firstName;
+ LastName lastName;
+ String languageId;
+ dynamic adminComment;
+ bool isTaxExempt;
+ bool hasShoppingCartItems;
+ bool active;
+ bool deleted;
+ bool isSystemAccount;
+ dynamic systemName;
+ LastIpAddress lastIpAddress;
+ DateTime createdOnUtc;
+ DateTime lastLoginDateUtc;
+ DateTime lastActivityDateUtc;
+ dynamic registeredInStoreId;
+ List roleIds;
+
+ factory OrderModelCustomer.fromJson(Map json) => OrderModelCustomer(
+ id: json["id"],
+ username: usernameValues.map[json["username"]],
+ email: billingAddressEmailValues.map[json["email"]],
+ firstName: firstNameValues.map[json["first_name"]],
+ lastName: lastNameValues.map[json["last_name"]],
+ languageId: json["language_id"],
+ adminComment: json["admin_comment"],
+ isTaxExempt: json["is_tax_exempt"],
+ hasShoppingCartItems: json["has_shopping_cart_items"],
+ active: json["active"],
+ deleted: json["deleted"],
+ isSystemAccount: json["is_system_account"],
+ systemName: json["system_name"],
+ lastIpAddress: lastIpAddressValues.map[json["last_ip_address"]],
+ createdOnUtc: DateTime.parse(json["created_on_utc"]),
+ lastLoginDateUtc: DateTime.parse(json["last_login_date_utc"]),
+ lastActivityDateUtc: DateTime.parse(json["last_activity_date_utc"]),
+ registeredInStoreId: json["registered_in_store_id"],
+ roleIds: List.from(json["role_ids"].map((x) => x)),
+ );
+
+ Map toJson() => {
+ "id": id,
+ "username": usernameValues.reverse[username],
+ "email": billingAddressEmailValues.reverse[email],
+ "first_name": firstNameValues.reverse[firstName],
+ "last_name": lastNameValues.reverse[lastName],
+ "language_id": languageId,
+ "admin_comment": adminComment,
+ "is_tax_exempt": isTaxExempt,
+ "has_shopping_cart_items": hasShoppingCartItems,
+ "active": active,
+ "deleted": deleted,
+ "is_system_account": isSystemAccount,
+ "system_name": systemName,
+ "last_ip_address": lastIpAddressValues.reverse[lastIpAddress],
+ "created_on_utc": createdOnUtc.toIso8601String(),
+ "last_login_date_utc": lastLoginDateUtc.toIso8601String(),
+ "last_activity_date_utc": lastActivityDateUtc.toIso8601String(),
+ "registered_in_store_id": registeredInStoreId,
+ "role_ids": List.from(roleIds.map((x) => x)),
+ };
+}
+
+enum LastIpAddress { THE_1050220126 }
+
+final lastIpAddressValues = EnumValues({
+ "10.50.220.126": LastIpAddress.THE_1050220126
+});
+
+enum Username { TAMERF }
+
+final usernameValues = EnumValues({
+ "tamerf": Username.TAMERF
+});
+
+enum CustomerCurrencyCode { SAR }
+
+final customerCurrencyCodeValues = EnumValues({
+ "SAR": CustomerCurrencyCode.SAR
+});
+
+enum CustomerIp { THE_105010210, THE_127001, THE_1020200101, THE_102020041, THE_10501028, THE_102020033, THE_1020200170, THE_102020011 }
+
+final customerIpValues = EnumValues({
+ "10.20.200.101": CustomerIp.THE_1020200101,
+ "10.20.200.11": CustomerIp.THE_102020011,
+ "10.20.200.170": CustomerIp.THE_1020200170,
+ "10.20.200.33": CustomerIp.THE_102020033,
+ "10.20.200.41": CustomerIp.THE_102020041,
+ "10.50.102.10": CustomerIp.THE_105010210,
+ "10.50.102.8": CustomerIp.THE_10501028,
+ "127.0.0.1": CustomerIp.THE_127001
+});
+
+enum CustomerTaxDisplayType { EXCLUDING_TAX }
+
+final customerTaxDisplayTypeValues = EnumValues({
+ "ExcludingTax": CustomerTaxDisplayType.EXCLUDING_TAX
+});
+
+class OrderItem {
+ OrderItem({
+ this.quantity,
+ this.unitPriceInclTax,
+ this.unitPriceExclTax,
+ this.priceInclTax,
+ this.priceExclTax,
+ this.discountAmountInclTax,
+ this.discountAmountExclTax,
+ this.originalProductCost,
+ this.attributeDescription,
+ this.downloadCount,
+ this.isDownloadActivated,
+ this.licenseDownloadId,
+ this.itemWeight,
+ this.rentalStartDateUtc,
+ this.rentalEndDateUtc,
+ this.product,
+ this.productId,
+ });
+
+ dynamic quantity;
+ double unitPriceInclTax;
+ double unitPriceExclTax;
+ double priceInclTax;
+ double priceExclTax;
+ double discountAmountInclTax;
+ double discountAmountExclTax;
+ double originalProductCost;
+ String attributeDescription;
+ dynamic downloadCount;
+ bool isDownloadActivated;
+ dynamic licenseDownloadId;
+ double itemWeight;
+ dynamic rentalStartDateUtc;
+ dynamic rentalEndDateUtc;
+ Product product;
+ dynamic productId;
+
+ factory OrderItem.fromJson(Map json) => OrderItem(
+ quantity: json["quantity"],
+ unitPriceInclTax: json["unit_price_incl_tax"].toDouble(),
+ unitPriceExclTax: json["unit_price_excl_tax"].toDouble(),
+ priceInclTax: json["price_incl_tax"].toDouble(),
+ priceExclTax: json["price_excl_tax"].toDouble(),
+ discountAmountInclTax: json["discount_amount_incl_tax"].toDouble(),
+ discountAmountExclTax: json["discount_amount_excl_tax"].toDouble(),
+ originalProductCost: json["original_product_cost"].toDouble(),
+ attributeDescription: json["attribute_description"],
+ downloadCount: json["download_count"],
+ isDownloadActivated: json["isDownload_activated"],
+ licenseDownloadId: json["license_download_id"],
+ itemWeight: json["item_weight"].toDouble(),
+ rentalStartDateUtc: json["rental_start_date_utc"],
+ rentalEndDateUtc: json["rental_end_date_utc"],
+ product: Product.fromJson(json["product"]),
+ productId: json["product_id"],
+ );
+
+ Map toJson() => {
+ "quantity": quantity,
+ "unit_price_incl_tax": unitPriceInclTax,
+ "unit_price_excl_tax": unitPriceExclTax,
+ "price_incl_tax": priceInclTax,
+ "price_excl_tax": priceExclTax,
+ "discount_amount_incl_tax": discountAmountInclTax,
+ "discount_amount_excl_tax": discountAmountExclTax,
+ "original_product_cost": originalProductCost,
+ "attribute_description": attributeDescription,
+ "download_count": downloadCount,
+ "isDownload_activated": isDownloadActivated,
+ "license_download_id": licenseDownloadId,
+ "item_weight": itemWeight,
+ "rental_start_date_utc": rentalStartDateUtc,
+ "rental_end_date_utc": rentalEndDateUtc,
+ "product": product.toJson(),
+ "product_id": productId,
+ };
+}
+
+class Product {
+ Product({
+ this.id,
+ this.visibleIndividually,
+ this.name,
+ this.namen,
+ this.localizedNames,
+ this.shortDescription,
+ this.shortDescriptionn,
+ this.fullDescription,
+ this.fullDescriptionn,
+ this.markasNew,
+ this.showOnHomePage,
+ this.metaKeywords,
+ this.metaDescription,
+ this.metaTitle,
+ this.allowCustomerReviews,
+ this.approvedRatingSum,
+ this.notApprovedRatingSum,
+ this.approvedTotalReviews,
+ this.notApprovedTotalReviews,
+ this.sku,
+ this.isRx,
+ this.prescriptionRequired,
+ this.rxMessage,
+ this.rxMessagen,
+ this.manufacturerPartNumber,
+ this.gtin,
+ this.isGiftCard,
+ this.requireOtherProducts,
+ this.automaticallyAddRequiredProducts,
+ this.isDownload,
+ this.unlimitedDownloads,
+ this.maxNumberOfDownloads,
+ this.downloadExpirationDays,
+ this.hasSampleDownload,
+ this.hasUserAgreement,
+ this.isRecurring,
+ this.recurringCycleLength,
+ this.recurringTotalCycles,
+ this.isRental,
+ this.rentalPriceLength,
+ this.isShipEnabled,
+ this.isFreeShipping,
+ this.shipSeparately,
+ this.additionalShippingCharge,
+ this.isTaxExempt,
+ this.isTelecommunicationsOrBroadcastingOrElectronicServices,
+ this.useMultipleWarehouses,
+ this.manageInventoryMethodId,
+ this.stockQuantity,
+ this.stockAvailability,
+ this.stockAvailabilityn,
+ this.displayStockAvailability,
+ this.displayStockQuantity,
+ this.minStockQuantity,
+ this.notifyAdminForQuantityBelow,
+ this.allowBackInStockSubscriptions,
+ this.orderMinimumQuantity,
+ this.orderMaximumQuantity,
+ this.allowedQuantities,
+ this.allowAddingOnlyExistingAttributeCombinations,
+ this.disableBuyButton,
+ this.disableWishlistButton,
+ this.availableForPreOrder,
+ this.preOrderAvailabilityStartDateTimeUtc,
+ this.callForPrice,
+ this.price,
+ this.oldPrice,
+ this.productCost,
+ this.specialPrice,
+ this.specialPriceStartDateTimeUtc,
+ this.specialPriceEndDateTimeUtc,
+ this.customerEntersPrice,
+ this.minimumCustomerEnteredPrice,
+ this.maximumCustomerEnteredPrice,
+ this.basepriceEnabled,
+ this.basepriceAmount,
+ this.basepriceBaseAmount,
+ this.hasTierPrices,
+ this.hasDiscountsApplied,
+ this.discountName,
+ this.discountNamen,
+ this.discountDescription,
+ this.discountDescriptionn,
+ this.discountPercentage,
+ this.currency,
+ this.currencyn,
+ this.weight,
+ this.length,
+ this.width,
+ this.height,
+ this.availableStartDateTimeUtc,
+ this.availableEndDateTimeUtc,
+ this.displayOrder,
+ this.published,
+ this.deleted,
+ this.createdOnUtc,
+ this.updatedOnUtc,
+ this.productType,
+ this.parentGroupedProductId,
+ this.roleIds,
+ this.discountIds,
+ this.storeIds,
+ this.manufacturerIds,
+ this.reviews,
+ this.images,
+ this.attributes,
+ this.specifications,
+ this.associatedProductIds,
+ this.tags,
+ this.vendorId,
+ this.seName,
+ });
+
+ String id;
+ bool visibleIndividually;
+ String name;
+ String namen;
+ dynamic localizedNames;
+ String shortDescription;
+ String shortDescriptionn;
+ String fullDescription;
+ String fullDescriptionn;
+ bool markasNew;
+ bool showOnHomePage;
+ String metaKeywords;
+ String metaDescription;
+ String metaTitle;
+ bool allowCustomerReviews;
+ dynamic approvedRatingSum;
+ dynamic notApprovedRatingSum;
+ dynamic approvedTotalReviews;
+ dynamic notApprovedTotalReviews;
+ String sku;
+ bool isRx;
+ bool prescriptionRequired;
+ dynamic rxMessage;
+ dynamic rxMessagen;
+ dynamic manufacturerPartNumber;
+ dynamic gtin;
+ bool isGiftCard;
+ bool requireOtherProducts;
+ bool automaticallyAddRequiredProducts;
+ bool isDownload;
+ bool unlimitedDownloads;
+ dynamic maxNumberOfDownloads;
+ dynamic downloadExpirationDays;
+ bool hasSampleDownload;
+ bool hasUserAgreement;
+ bool isRecurring;
+ dynamic recurringCycleLength;
+ dynamic recurringTotalCycles;
+ bool isRental;
+ dynamic rentalPriceLength;
+ bool isShipEnabled;
+ bool isFreeShipping;
+ bool shipSeparately;
+ dynamic additionalShippingCharge;
+ bool isTaxExempt;
+ bool isTelecommunicationsOrBroadcastingOrElectronicServices;
+ bool useMultipleWarehouses;
+ dynamic manageInventoryMethodId;
+ dynamic stockQuantity;
+ dynamic stockAvailability;
+ dynamic stockAvailabilityn;
+ bool displayStockAvailability;
+ bool displayStockQuantity;
+ dynamic minStockQuantity;
+ dynamic notifyAdminForQuantityBelow;
+ bool allowBackInStockSubscriptions;
+ dynamic orderMinimumQuantity;
+ dynamic orderMaximumQuantity;
+ dynamic allowedQuantities;
+ bool allowAddingOnlyExistingAttributeCombinations;
+ bool disableBuyButton;
+ bool disableWishlistButton;
+ bool availableForPreOrder;
+ dynamic preOrderAvailabilityStartDateTimeUtc;
+ bool callForPrice;
+ double price;
+ dynamic oldPrice;
+ double productCost;
+ dynamic specialPrice;
+ dynamic specialPriceStartDateTimeUtc;
+ dynamic specialPriceEndDateTimeUtc;
+ bool customerEntersPrice;
+ dynamic minimumCustomerEnteredPrice;
+ dynamic maximumCustomerEnteredPrice;
+ bool basepriceEnabled;
+ dynamic basepriceAmount;
+ dynamic basepriceBaseAmount;
+ bool hasTierPrices;
+ bool hasDiscountsApplied;
+ dynamic discountName;
+ dynamic discountNamen;
+ dynamic discountDescription;
+ dynamic discountDescriptionn;
+ dynamic discountPercentage;
+ dynamic currency;
+ dynamic currencyn;
+ double weight;
+ dynamic length;
+ dynamic width;
+ dynamic height;
+ dynamic availableStartDateTimeUtc;
+ dynamic availableEndDateTimeUtc;
+ dynamic displayOrder;
+ bool published;
+ bool deleted;
+ DateTime createdOnUtc;
+ DateTime updatedOnUtc;
+ ProductType productType;
+ dynamic parentGroupedProductId;
+ dynamic roleIds;
+ dynamic discountIds;
+ dynamic storeIds;
+ dynamic manufacturerIds;
+ List reviews;
+ List images;
+ dynamic attributes;
+ dynamic specifications;
+ dynamic associatedProductIds;
+ List tags;
+ dynamic vendorId;
+ String seName;
+
+ factory Product.fromJson(Map json) => Product(
+ id: json["id"],
+ visibleIndividually: json["visible_individually"],
+ name: json["name"],
+ namen: json["namen"],
+ localizedNames: json["localized_names"],
+ shortDescription: json["short_description"] == null ? null : json["short_description"],
+ shortDescriptionn: json["short_descriptionn"] == null ? null : json["short_descriptionn"],
+ fullDescription: json["full_description"],
+ fullDescriptionn: json["full_descriptionn"],
+ markasNew: json["markas_new"],
+ showOnHomePage: json["show_on_home_page"],
+ metaKeywords: json["meta_keywords"] == null ? null : json["meta_keywords"],
+ metaDescription: json["meta_description"] == null ? null : json["meta_description"],
+ metaTitle: json["meta_title"] == null ? null : json["meta_title"],
+ allowCustomerReviews: json["allow_customer_reviews"],
+ approvedRatingSum: json["approved_rating_sum"],
+ notApprovedRatingSum: json["not_approved_rating_sum"],
+ approvedTotalReviews: json["approved_total_reviews"],
+ notApprovedTotalReviews: json["not_approved_total_reviews"],
+ sku: json["sku"],
+ isRx: json["is_rx"],
+ prescriptionRequired: json["prescription_required"],
+ rxMessage: json["rx_message"],
+ rxMessagen: json["rx_messagen"],
+ manufacturerPartNumber: json["manufacturer_part_number"],
+ gtin: json["gtin"],
+ isGiftCard: json["is_gift_card"],
+ requireOtherProducts: json["require_other_products"],
+ automaticallyAddRequiredProducts: json["automatically_add_required_products"],
+ isDownload: json["is_download"],
+ unlimitedDownloads: json["unlimited_downloads"],
+ maxNumberOfDownloads: json["max_number_of_downloads"],
+ downloadExpirationDays: json["download_expiration_days"],
+ hasSampleDownload: json["has_sample_download"],
+ hasUserAgreement: json["has_user_agreement"],
+ isRecurring: json["is_recurring"],
+ recurringCycleLength: json["recurring_cycle_length"],
+ recurringTotalCycles: json["recurring_total_cycles"],
+ isRental: json["is_rental"],
+ rentalPriceLength: json["rental_price_length"],
+ isShipEnabled: json["is_ship_enabled"],
+ isFreeShipping: json["is_free_shipping"],
+ shipSeparately: json["ship_separately"],
+ additionalShippingCharge: json["additional_shipping_charge"],
+ isTaxExempt: json["is_tax_exempt"],
+ isTelecommunicationsOrBroadcastingOrElectronicServices: json["is_telecommunications_or_broadcasting_or_electronic_services"],
+ useMultipleWarehouses: json["use_multiple_warehouses"],
+ manageInventoryMethodId: json["manage_inventory_method_id"],
+ stockQuantity: json["stock_quantity"],
+ stockAvailability: json["stock_availability"],
+ stockAvailabilityn: json["stock_availabilityn"],
+ displayStockAvailability: json["display_stock_availability"],
+ displayStockQuantity: json["display_stock_quantity"],
+ minStockQuantity: json["min_stock_quantity"],
+ notifyAdminForQuantityBelow: json["notify_admin_for_quantity_below"],
+ allowBackInStockSubscriptions: json["allow_back_in_stock_subscriptions"],
+ orderMinimumQuantity: json["order_minimum_quantity"],
+ orderMaximumQuantity: json["order_maximum_quantity"],
+ allowedQuantities: json["allowed_quantities"],
+ allowAddingOnlyExistingAttributeCombinations: json["allow_adding_only_existing_attribute_combinations"],
+ disableBuyButton: json["disable_buy_button"],
+ disableWishlistButton: json["disable_wishlist_button"],
+ availableForPreOrder: json["available_for_pre_order"],
+ preOrderAvailabilityStartDateTimeUtc: json["pre_order_availability_start_date_time_utc"],
+ callForPrice: json["call_for_price"],
+ price: json["price"].toDouble(),
+ oldPrice: json["old_price"],
+ productCost: json["product_cost"].toDouble(),
+ specialPrice: json["special_price"],
+ specialPriceStartDateTimeUtc: json["special_price_start_date_time_utc"],
+ specialPriceEndDateTimeUtc: json["special_price_end_date_time_utc"],
+ customerEntersPrice: json["customer_enters_price"],
+ minimumCustomerEnteredPrice: json["minimum_customer_entered_price"],
+ maximumCustomerEnteredPrice: json["maximum_customer_entered_price"],
+ basepriceEnabled: json["baseprice_enabled"],
+ basepriceAmount: json["baseprice_amount"],
+ basepriceBaseAmount: json["baseprice_base_amount"],
+ hasTierPrices: json["has_tier_prices"],
+ hasDiscountsApplied: json["has_discounts_applied"],
+ discountName: json["discount_name"],
+ discountNamen: json["discount_namen"],
+ discountDescription: json["discount_description"],
+ discountDescriptionn: json["discount_Descriptionn"],
+ discountPercentage: json["discount_percentage"],
+ currency: json["currency"],
+ currencyn: json["currencyn"],
+ weight: json["weight"].toDouble(),
+ length: json["length"],
+ width: json["width"],
+ height: json["height"],
+ availableStartDateTimeUtc: json["available_start_date_time_utc"],
+ availableEndDateTimeUtc: json["available_end_date_time_utc"],
+ displayOrder: json["display_order"],
+ published: json["published"],
+ deleted: json["deleted"],
+ createdOnUtc: DateTime.parse(json["created_on_utc"]),
+ updatedOnUtc: DateTime.parse(json["updated_on_utc"]),
+ productType: productTypeValues.map[json["product_type"]],
+ parentGroupedProductId: json["parent_grouped_product_id"],
+ roleIds: json["role_ids"],
+ discountIds: json["discount_ids"],
+ storeIds: json["store_ids"],
+ manufacturerIds: json["manufacturer_ids"],
+ reviews: List.from(json["reviews"].map((x) => Review.fromJson(x))),
+ images: List.from(json["images"].map((x) => PharmacyImageObject.fromJson(x))),
+ attributes: json["attributes"],
+ specifications: json["specifications"],
+ associatedProductIds: json["associated_product_ids"],
+ tags: List.from(json["tags"].map((x) => x)),
+ vendorId: json["vendor_id"],
+ seName: json["se_name"],
+ );
+
+ Map toJson() => {
+ "id": id,
+ "visible_individually": visibleIndividually,
+ "name": name,
+ "namen": namen,
+ "localized_names": localizedNames,
+ "short_description": shortDescription == null ? null : shortDescription,
+ "short_descriptionn": shortDescriptionn == null ? null : shortDescriptionn,
+ "full_description": fullDescription,
+ "full_descriptionn": fullDescriptionn,
+ "markas_new": markasNew,
+ "show_on_home_page": showOnHomePage,
+ "meta_keywords": metaKeywords == null ? null : metaKeywords,
+ "meta_description": metaDescription == null ? null : metaDescription,
+ "meta_title": metaTitle == null ? null : metaTitle,
+ "allow_customer_reviews": allowCustomerReviews,
+ "approved_rating_sum": approvedRatingSum,
+ "not_approved_rating_sum": notApprovedRatingSum,
+ "approved_total_reviews": approvedTotalReviews,
+ "not_approved_total_reviews": notApprovedTotalReviews,
+ "sku": sku,
+ "is_rx": isRx,
+ "prescription_required": prescriptionRequired,
+ "rx_message": rxMessage,
+ "rx_messagen": rxMessagen,
+ "manufacturer_part_number": manufacturerPartNumber,
+ "gtin": gtin,
+ "is_gift_card": isGiftCard,
+ "require_other_products": requireOtherProducts,
+ "automatically_add_required_products": automaticallyAddRequiredProducts,
+ "is_download": isDownload,
+ "unlimited_downloads": unlimitedDownloads,
+ "max_number_of_downloads": maxNumberOfDownloads,
+ "download_expiration_days": downloadExpirationDays,
+ "has_sample_download": hasSampleDownload,
+ "has_user_agreement": hasUserAgreement,
+ "is_recurring": isRecurring,
+ "recurring_cycle_length": recurringCycleLength,
+ "recurring_total_cycles": recurringTotalCycles,
+ "is_rental": isRental,
+ "rental_price_length": rentalPriceLength,
+ "is_ship_enabled": isShipEnabled,
+ "is_free_shipping": isFreeShipping,
+ "ship_separately": shipSeparately,
+ "additional_shipping_charge": additionalShippingCharge,
+ "is_tax_exempt": isTaxExempt,
+ "is_telecommunications_or_broadcasting_or_electronic_services": isTelecommunicationsOrBroadcastingOrElectronicServices,
+ "use_multiple_warehouses": useMultipleWarehouses,
+ "manage_inventory_method_id": manageInventoryMethodId,
+ "stock_quantity": stockQuantity,
+ "stock_availability": stockAvailability,
+ "stock_availabilityn": stockAvailabilityn,
+ "display_stock_availability": displayStockAvailability,
+ "display_stock_quantity": displayStockQuantity,
+ "min_stock_quantity": minStockQuantity,
+ "notify_admin_for_quantity_below": notifyAdminForQuantityBelow,
+ "allow_back_in_stock_subscriptions": allowBackInStockSubscriptions,
+ "order_minimum_quantity": orderMinimumQuantity,
+ "order_maximum_quantity": orderMaximumQuantity,
+ "allowed_quantities": allowedQuantities,
+ "allow_adding_only_existing_attribute_combinations": allowAddingOnlyExistingAttributeCombinations,
+ "disable_buy_button": disableBuyButton,
+ "disable_wishlist_button": disableWishlistButton,
+ "available_for_pre_order": availableForPreOrder,
+ "pre_order_availability_start_date_time_utc": preOrderAvailabilityStartDateTimeUtc,
+ "call_for_price": callForPrice,
+ "price": price,
+ "old_price": oldPrice,
+ "product_cost": productCost,
+ "special_price": specialPrice,
+ "special_price_start_date_time_utc": specialPriceStartDateTimeUtc,
+ "special_price_end_date_time_utc": specialPriceEndDateTimeUtc,
+ "customer_enters_price": customerEntersPrice,
+ "minimum_customer_entered_price": minimumCustomerEnteredPrice,
+ "maximum_customer_entered_price": maximumCustomerEnteredPrice,
+ "baseprice_enabled": basepriceEnabled,
+ "baseprice_amount": basepriceAmount,
+ "baseprice_base_amount": basepriceBaseAmount,
+ "has_tier_prices": hasTierPrices,
+ "has_discounts_applied": hasDiscountsApplied,
+ "discount_name": discountName,
+ "discount_namen": discountNamen,
+ "discount_description": discountDescription,
+ "discount_Descriptionn": discountDescriptionn,
+ "discount_percentage": discountPercentage,
+ "currency": currency,
+ "currencyn": currencyn,
+ "weight": weight,
+ "length": length,
+ "width": width,
+ "height": height,
+ "available_start_date_time_utc": availableStartDateTimeUtc,
+ "available_end_date_time_utc": availableEndDateTimeUtc,
+ "display_order": displayOrder,
+ "published": published,
+ "deleted": deleted,
+ "created_on_utc": createdOnUtc.toIso8601String(),
+ "updated_on_utc": updatedOnUtc.toIso8601String(),
+ "product_type": productTypeValues.reverse[productType],
+ "parent_grouped_product_id": parentGroupedProductId,
+ "role_ids": roleIds,
+ "discount_ids": discountIds,
+ "store_ids": storeIds,
+ "manufacturer_ids": manufacturerIds,
+ "reviews": List.from(reviews.map((x) => x.toJson())),
+ "images": List.from(images.map((x) => x.toJson())),
+ "attributes": attributes,
+ "specifications": specifications,
+ "associated_product_ids": associatedProductIds,
+ "tags": List.from(tags.map((x) => x)),
+ "vendor_id": vendorId,
+ "se_name": seName,
+ };
+}
+
+enum ProductType { SIMPLE_PRODUCT }
+
+final productTypeValues = EnumValues({
+ "SimpleProduct": ProductType.SIMPLE_PRODUCT
+});
+
+class Review {
+ Review({
+ this.id,
+ this.position,
+ this.reviewId,
+ this.customerId,
+ this.productId,
+ this.storeId,
+ this.isApproved,
+ this.title,
+ this.reviewText,
+ this.replyText,
+ this.rating,
+ this.helpfulYesTotal,
+ this.helpfulNoTotal,
+ this.createdOnUtc,
+ this.customer,
+ this.product,
+ });
+
+ dynamic id;
+ dynamic position;
+ dynamic reviewId;
+ dynamic customerId;
+ dynamic productId;
+ dynamic storeId;
+ bool isApproved;
+ Title title;
+ ReviewText reviewText;
+ dynamic replyText;
+ dynamic rating;
+ dynamic helpfulYesTotal;
+ dynamic helpfulNoTotal;
+ DateTime createdOnUtc;
+ ReviewCustomer customer;
+ dynamic product;
+
+ factory Review.fromJson(Map json) => Review(
+ id: json["id"],
+ position: json["position"],
+ reviewId: json["review_id"],
+ customerId: json["customer_id"],
+ productId: json["product_id"],
+ storeId: json["store_id"],
+ isApproved: json["is_approved"],
+ title: titleValues.map[json["title"]],
+ reviewText: reviewTextValues.map[json["review_text"]],
+ replyText: json["reply_text"],
+ rating: json["rating"],
+ helpfulYesTotal: json["helpful_yes_total"],
+ helpfulNoTotal: json["helpful_no_total"],
+ createdOnUtc: DateTime.parse(json["created_on_utc"]),
+ customer: ReviewCustomer.fromJson(json["customer"]),
+ product: json["product"],
+ );
+
+ Map toJson() => {
+ "id": id,
+ "position": position,
+ "review_id": reviewId,
+ "customer_id": customerId,
+ "product_id": productId,
+ "store_id": storeId,
+ "is_approved": isApproved,
+ "title": titleValues.reverse[title],
+ "review_text": reviewTextValues.reverse[reviewText],
+ "reply_text": replyText,
+ "rating": rating,
+ "helpful_yes_total": helpfulYesTotal,
+ "helpful_no_total": helpfulNoTotal,
+ "created_on_utc": createdOnUtc.toIso8601String(),
+ "customer": customer.toJson(),
+ "product": product,
+ };
+}
+
+class ReviewCustomer {
+ ReviewCustomer({
+ this.fileNumber,
+ this.iqamaNumber,
+ this.isOutSa,
+ this.patientType,
+ this.gender,
+ this.birthDate,
+ this.phone,
+ this.countryCode,
+ this.yahalaAccountno,
+ this.billingAddress,
+ this.shippingAddress,
+ this.addresses,
+ this.id,
+ this.username,
+ this.email,
+ this.firstName,
+ this.lastName,
+ this.languageId,
+ this.adminComment,
+ this.isTaxExempt,
+ this.hasShoppingCartItems,
+ this.active,
+ this.deleted,
+ this.isSystemAccount,
+ this.systemName,
+ this.lastIpAddress,
+ this.createdOnUtc,
+ this.lastLoginDateUtc,
+ this.lastActivityDateUtc,
+ this.registeredInStoreId,
+ this.roleIds,
+ });
+
+ dynamic fileNumber;
+ dynamic iqamaNumber;
+ dynamic isOutSa;
+ dynamic patientType;
+ dynamic gender;
+ DateTime birthDate;
+ dynamic phone;
+ dynamic countryCode;
+ dynamic yahalaAccountno;
+ dynamic billingAddress;
+ dynamic shippingAddress;
+ List addresses;
+ String id;
+ String username;
+ PurpleEmail email;
+ dynamic firstName;
+ dynamic lastName;
+ dynamic languageId;
+ dynamic adminComment;
+ dynamic isTaxExempt;
+ dynamic hasShoppingCartItems;
+ dynamic active;
+ dynamic deleted;
+ dynamic isSystemAccount;
+ dynamic systemName;
+ dynamic lastIpAddress;
+ dynamic createdOnUtc;
+ dynamic lastLoginDateUtc;
+ dynamic lastActivityDateUtc;
+ dynamic registeredInStoreId;
+ List roleIds;
+
+ factory ReviewCustomer.fromJson(Map json) => ReviewCustomer(
+ fileNumber: json["file_number"],
+ iqamaNumber: json["iqama_number"],
+ isOutSa: json["is_out_sa"],
+ patientType: json["patient_type"],
+ gender: json["gender"],
+ birthDate: DateTime.parse(json["birth_date"]),
+ phone: json["phone"],
+ countryCode: json["country_code"],
+ yahalaAccountno: json["yahala_accountno"],
+ billingAddress: json["billing_address"],
+ shippingAddress: json["shipping_address"],
+ addresses: List.from(json["addresses"].map((x) => x)),
+ id: json["id"],
+ username: json["username"],
+ email: purpleEmailValues.map[json["email"]],
+ firstName: json["first_name"],
+ lastName: json["last_name"],
+ languageId: json["language_id"],
+ adminComment: json["admin_comment"],
+ isTaxExempt: json["is_tax_exempt"],
+ hasShoppingCartItems: json["has_shopping_cart_items"],
+ active: json["active"],
+ deleted: json["deleted"],
+ isSystemAccount: json["is_system_account"],
+ systemName: json["system_name"],
+ lastIpAddress: json["last_ip_address"],
+ createdOnUtc: json["created_on_utc"],
+ lastLoginDateUtc: json["last_login_date_utc"],
+ lastActivityDateUtc: json["last_activity_date_utc"],
+ registeredInStoreId: json["registered_in_store_id"],
+ roleIds: List.from(json["role_ids"].map((x) => x)),
+ );
+
+ Map toJson() => {
+ "file_number": fileNumber,
+ "iqama_number": iqamaNumber,
+ "is_out_sa": isOutSa,
+ "patient_type": patientType,
+ "gender": gender,
+ "birth_date": birthDate.toIso8601String(),
+ "phone": phone,
+ "country_code": countryCode,
+ "yahala_accountno": yahalaAccountno,
+ "billing_address": billingAddress,
+ "shipping_address": shippingAddress,
+ "addresses": List.from(addresses.map((x) => x)),
+ "id": id,
+ "username": username,
+ "email": purpleEmailValues.reverse[email],
+ "first_name": firstName,
+ "last_name": lastName,
+ "language_id": languageId,
+ "admin_comment": adminComment,
+ "is_tax_exempt": isTaxExempt,
+ "has_shopping_cart_items": hasShoppingCartItems,
+ "active": active,
+ "deleted": deleted,
+ "is_system_account": isSystemAccount,
+ "system_name": systemName,
+ "last_ip_address": lastIpAddress,
+ "created_on_utc": createdOnUtc,
+ "last_login_date_utc": lastLoginDateUtc,
+ "last_activity_date_utc": lastActivityDateUtc,
+ "registered_in_store_id": registeredInStoreId,
+ "role_ids": List.from(roleIds.map((x) => x)),
+ };
+}
+
+enum PurpleEmail { STEVE_GATES_NOP_COMMERCE_COM, TAMER_FANASHEH_DRSULAIMANALHABIB_COM, ASIF_RAZA_DRSULAIMANALHABIB_COM, ABOSAMI_YMAIL_COM }
+
+final purpleEmailValues = EnumValues({
+ "abosami@ymail.com": PurpleEmail.ABOSAMI_YMAIL_COM,
+ "asif.raza@drsulaimanalhabib.com": PurpleEmail.ASIF_RAZA_DRSULAIMANALHABIB_COM,
+ "steve_gates@nopCommerce.com": PurpleEmail.STEVE_GATES_NOP_COMMERCE_COM,
+ "tamer.fanasheh@drsulaimanalhabib.com": PurpleEmail.TAMER_FANASHEH_DRSULAIMANALHABIB_COM
+});
+
+enum ReviewText { GOOD, NICE_PRICE, GREAT, REVIEW_TEXT_GOOD, GG, ENAD_TEST_REVIEW_001, ENAD, ENADDD, ENAD_TEST_0001, PURPLE_GOOD, EMPTY }
+
+final reviewTextValues = EnumValues({
+ "افضل علاج للزكام": ReviewText.EMPTY,
+ "ENAD ": ReviewText.ENAD,
+ "enaddd": ReviewText.ENADDD,
+ "ENAD TEST 0001": ReviewText.ENAD_TEST_0001,
+ "Enad Test Review 001": ReviewText.ENAD_TEST_REVIEW_001,
+ "gg": ReviewText.GG,
+ "good ": ReviewText.GOOD,
+ "great": ReviewText.GREAT,
+ "nice price": ReviewText.NICE_PRICE,
+ "Good": ReviewText.PURPLE_GOOD,
+ "good": ReviewText.REVIEW_TEXT_GOOD
+});
+
+enum Title { EMPTY, GOOD, TITLE }
+
+final titleValues = EnumValues({
+ "": Title.EMPTY,
+ "Good": Title.GOOD,
+ "ممتاز": Title.TITLE
+});
+
+enum OrderStatus { ORDER_SUBMITTED, PENDING, ORDER_IN_PROGRESS, ORDER_COMPLETED, CANCELLED, PROCESSING, ORDER_REFUNDED, COMPLETE }
+
+final orderStatusValues = EnumValues({
+ "Cancelled": OrderStatus.CANCELLED,
+ "Complete": OrderStatus.COMPLETE,
+ "OrderCompleted": OrderStatus.ORDER_COMPLETED,
+ "OrderInProgress": OrderStatus.ORDER_IN_PROGRESS,
+ "OrderRefunded": OrderStatus.ORDER_REFUNDED,
+ "OrderSubmitted": OrderStatus.ORDER_SUBMITTED,
+ "Pending": OrderStatus.PENDING,
+ "Processing": OrderStatus.PROCESSING
+});
+
+enum OrderStatusn { ORDER_SUBMITTED, EMPTY, ORDER_IN_PROGRESS, ORDER_COMPLETED, ORDER_STATUSN, PURPLE, FLUFFY, TENTACLED }
+
+final orderStatusnValues = EnumValues({
+ "معلقة": OrderStatusn.EMPTY,
+ "تم ارجاع مبلغ الطلبية المدفوع للعميل": OrderStatusn.FLUFFY,
+ "Order Completed": OrderStatusn.ORDER_COMPLETED,
+ "Order In Progress": OrderStatusn.ORDER_IN_PROGRESS,
+ "ملغي": OrderStatusn.ORDER_STATUSN,
+ "Order Submitted": OrderStatusn.ORDER_SUBMITTED,
+ "قيد التنفيذ": OrderStatusn.PURPLE,
+ "مكتمل": OrderStatusn.TENTACLED
+});
+
+enum PaymentMethodSystemName { PAYMENTS_PAY_FORT, PAYMENTS_CASH_ON_DELIVERY }
+
+final paymentMethodSystemNameValues = EnumValues({
+ "Payments.CashOnDelivery": PaymentMethodSystemName.PAYMENTS_CASH_ON_DELIVERY,
+ "Payments.PayFort": PaymentMethodSystemName.PAYMENTS_PAY_FORT
+});
+
+enum PaymentName { CREDIT_DEBIT_CARD_PAYFORT, CASH_ON_DELIVERY_COD }
+
+final paymentNameValues = EnumValues({
+ "Cash On Delivery (COD)": PaymentName.CASH_ON_DELIVERY_COD,
+ "Credit / Debit Card Payfort": PaymentName.CREDIT_DEBIT_CARD_PAYFORT
+});
+
+enum PaymentStatus { PAID, PENDING }
+
+final paymentStatusValues = EnumValues({
+ "Paid": PaymentStatus.PAID,
+ "Pending": PaymentStatus.PENDING
+});
+
+enum PaymentStatusn { EMPTY, PAYMENT_STATUSN }
+
+final paymentStatusnValues = EnumValues({
+ "تم الدفع": PaymentStatusn.EMPTY,
+ "قيد الإنتظار": PaymentStatusn.PAYMENT_STATUSN
+});
+
+enum PreferDeliveryTime { THE_1000_AM_330_PM, THE_530_PM_730_PM }
+
+final preferDeliveryTimeValues = EnumValues({
+ "10:00 AM - 3:30 PM": PreferDeliveryTime.THE_1000_AM_330_PM,
+ "5:30 PM - 7:30 PM": PreferDeliveryTime.THE_530_PM_730_PM
+});
+
+enum PreferDeliveryTimen { THE_1000330, THE_530730 }
+
+final preferDeliveryTimenValues = EnumValues({
+ "10:00 ص - 3:30 م": PreferDeliveryTimen.THE_1000330,
+ "5:30 م - 7:30 م": PreferDeliveryTimen.THE_530730
+});
+
+enum ShippingMethod { EMPTY, FIXED_PRICE }
+
+final shippingMethodValues = EnumValues({
+ "سعر ثابت ": ShippingMethod.EMPTY,
+ "Fixed Price": ShippingMethod.FIXED_PRICE
+});
+
+enum ShippingRateComputationMethodSystemName { SHIPPING_FIXED_OR_BY_WEIGHT }
+
+final shippingRateComputationMethodSystemNameValues = EnumValues({
+ "Shipping.FixedOrByWeight": ShippingRateComputationMethodSystemName.SHIPPING_FIXED_OR_BY_WEIGHT
+});
+
+enum ShippingStatus { NOT_YET_SHIPPED }
+
+final shippingStatusValues = EnumValues({
+ "NotYetShipped": ShippingStatus.NOT_YET_SHIPPED
+});
+
+enum ShippingStatusn { EMPTY }
+
+final shippingStatusnValues = EnumValues({
+ "لم يتم شحنها بعد": ShippingStatusn.EMPTY
+});
+
+class EnumValues {
+ Map map;
+ Map reverseMap;
+
+ EnumValues(this.map);
+
+ Map get reverse {
+ if (reverseMap == null) {
+ reverseMap = map.map((k, v) => new MapEntry(v, k));
+ }
+ return reverseMap;
+ }
+}
+
+
+
diff --git a/lib/core/model/pharmacies/payment-checkout-data.dart b/lib/core/model/pharmacies/payment-checkout-data.dart
new file mode 100644
index 00000000..dd9e0e54
--- /dev/null
+++ b/lib/core/model/pharmacies/payment-checkout-data.dart
@@ -0,0 +1,21 @@
+import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart';
+import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart';
+import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart';
+import 'package:flutter/material.dart';
+
+import 'ShippingOption.dart';
+
+class PaymentCheckoutData with ChangeNotifier{
+ Addresses address;
+ PaymentOption paymentOption;
+ LacumAccountInformation lacumInformation;
+ bool cartDataVisible;
+ ShippingOption shippingOption;
+ int usedLakumPoints;
+
+ PaymentCheckoutData({this.address, this.paymentOption, this.lacumInformation, this.cartDataVisible = false, this.shippingOption, this.usedLakumPoints = 0});
+
+ void updateData() {
+ notifyListeners();
+ }
+}
diff --git a/lib/core/model/pharmacy/brands_model.dart b/lib/core/model/pharmacy/brands_model.dart
new file mode 100644
index 00000000..03cd689e
--- /dev/null
+++ b/lib/core/model/pharmacy/brands_model.dart
@@ -0,0 +1,24 @@
+class BrandsModel {
+ String id;
+ String name;
+ String namen;
+ Null image;
+
+ BrandsModel({this.id, this.name, this.namen, this.image});
+
+ BrandsModel.fromJson(Map json) {
+ id = json['id'];
+ name = json['name'];
+ namen = json['namen'];
+ image = json['image'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['id'] = this.id;
+ data['name'] = this.name;
+ data['namen'] = this.namen;
+ data['image'] = this.image;
+ return data;
+ }
+}
diff --git a/lib/core/model/pharmacy/categorise_parent_model.dart b/lib/core/model/pharmacy/categorise_parent_model.dart
new file mode 100644
index 00000000..82c5b55f
--- /dev/null
+++ b/lib/core/model/pharmacy/categorise_parent_model.dart
@@ -0,0 +1,75 @@
+class CategoriseParentModel {
+ String id;
+ String name;
+ String namen;
+ List localizedNames;
+ dynamic description;
+ int parentCategoryId;
+ int displayOrder;
+ dynamic image;
+ bool isLeaf;
+
+ CategoriseParentModel(
+ {this.id,
+ this.name,
+ this.namen,
+ this.localizedNames,
+ this.description,
+ this.parentCategoryId,
+ this.displayOrder,
+ this.image,
+ this.isLeaf});
+
+ CategoriseParentModel.fromJson(Map json) {
+ id = json['id'];
+ name = json['name'];
+ namen = json['namen'];
+ if (json['localized_names'] != null) {
+ localizedNames = new List();
+ json['localized_names'].forEach((v) {
+ localizedNames.add(new LocalizedNames.fromJson(v));
+ });
+ }
+ description = json['description'];
+ parentCategoryId = json['parent_category_id'];
+ displayOrder = json['display_order'];
+ image = json['image'];
+ isLeaf = json['is_leaf'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['id'] = this.id;
+ data['name'] = this.name;
+ data['namen'] = this.namen;
+ if (this.localizedNames != null) {
+ data['localized_names'] =
+ this.localizedNames.map((v) => v.toJson()).toList();
+ }
+ data['description'] = this.description;
+ data['parent_category_id'] = this.parentCategoryId;
+ data['display_order'] = this.displayOrder;
+ data['image'] = this.image;
+ data['is_leaf'] = this.isLeaf;
+ return data;
+ }
+}
+
+class LocalizedNames {
+ int languageId;
+ String localizedName;
+
+ LocalizedNames({this.languageId, this.localizedName});
+
+ LocalizedNames.fromJson(Map json) {
+ languageId = json['language_id'];
+ localizedName = json['localized_name'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['language_id'] = this.languageId;
+ data['localized_name'] = this.localizedName;
+ return data;
+ }
+}
diff --git a/lib/core/model/pharmacy/final_products_model.dart b/lib/core/model/pharmacy/final_products_model.dart
new file mode 100644
index 00000000..52ab1d2d
--- /dev/null
+++ b/lib/core/model/pharmacy/final_products_model.dart
@@ -0,0 +1,184 @@
+class FinalProductsModel {
+ String id;
+ String name;
+ String namen;
+ List localizedNames;
+ String shortDescription;
+ String fullDescription;
+ String fullDescriptionn;
+ dynamic approvedRatingSum;
+ dynamic approvedTotalReviews;
+ String sku;
+ bool isRx;
+ dynamic rxMessage;
+ dynamic rxMessagen;
+ dynamic stockQuantity;
+ String stockAvailability;
+ String stockAvailabilityn;
+ bool allowBackInStockSubscriptions;
+ dynamic orderMinimumQuantity;
+ dynamic orderMaximumQuantity;
+ dynamic price;
+ dynamic oldPrice;
+ dynamic discountName;
+ dynamic discountNamen;
+ dynamic discountPercentage;
+ dynamic displayOrder;
+ List discountIds;
+ List reviews;
+ List images;
+
+ FinalProductsModel(
+ {this.id,
+ this.name,
+ this.namen,
+ this.localizedNames,
+ this.shortDescription,
+ this.fullDescription,
+ this.fullDescriptionn,
+ this.approvedRatingSum,
+ this.approvedTotalReviews,
+ this.sku,
+ this.isRx,
+ this.rxMessage,
+ this.rxMessagen,
+ this.stockQuantity,
+ this.stockAvailability,
+ this.stockAvailabilityn,
+ this.allowBackInStockSubscriptions,
+ this.orderMinimumQuantity,
+ this.orderMaximumQuantity,
+ this.price,
+ this.oldPrice,
+ this.discountName,
+ this.discountNamen,
+ this.discountPercentage,
+ this.displayOrder,
+ this.discountIds,
+ this.reviews,
+ this.images});
+
+ FinalProductsModel.fromJson(Map json) {
+ id = json['id'];
+ name = json['name'];
+ if (json['images'] != null) {
+ images = new List();
+ json['images'].forEach((v) {
+ images.add(new Images.fromJson(v));
+ });
+ }
+ namen = json['namen'];
+ if (json['localized_names'] != null) {
+ localizedNames = new List();
+ json['localized_names'].forEach((v) {
+ localizedNames.add(new LocalizedNames.fromJson(v));
+ });
+ }
+ shortDescription = json['short_description'];
+ fullDescription = json['full_description'];
+ fullDescriptionn = json['full_descriptionn'];
+ approvedRatingSum = json['approved_rating_sum'];
+ approvedTotalReviews = json['approved_total_reviews'];
+ sku = json['sku'];
+ isRx = json['is_rx'];
+ rxMessage = json['rx_message'];
+ rxMessagen = json['rx_messagen'];
+ stockQuantity = json['stock_quantity'];
+ stockAvailability = json['stock_availability'];
+ stockAvailabilityn = json['stock_availabilityn'];
+ allowBackInStockSubscriptions = json['allow_back_in_stock_subscriptions'];
+ orderMinimumQuantity = json['order_minimum_quantity'];
+ orderMaximumQuantity = json['order_maximum_quantity'];
+ price = json['price'];
+ oldPrice = json['old_price'];
+ discountName = json['discount_name'];
+ discountNamen = json['discount_namen'];
+ discountPercentage = json['discount_percentage'];
+ displayOrder = json['display_order'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['id'] = this.id;
+ data['name'] = this.name;
+ data['namen'] = this.namen;
+ if (this.localizedNames != null) {
+ data['localized_names'] =
+ this.localizedNames.map((v) => v.toJson()).toList();
+ }
+ data['short_description'] = this.shortDescription;
+ data['full_description'] = this.fullDescription;
+ data['full_descriptionn'] = this.fullDescriptionn;
+ data['approved_rating_sum'] = this.approvedRatingSum;
+ data['approved_total_reviews'] = this.approvedTotalReviews;
+ data['sku'] = this.sku;
+ data['is_rx'] = this.isRx;
+ data['rx_message'] = this.rxMessage;
+ data['rx_messagen'] = this.rxMessagen;
+ data['stock_quantity'] = this.stockQuantity;
+ data['stock_availability'] = this.stockAvailability;
+ data['stock_availabilityn'] = this.stockAvailabilityn;
+ data['allow_back_in_stock_subscriptions'] =
+ this.allowBackInStockSubscriptions;
+ data['order_minimum_quantity'] = this.orderMinimumQuantity;
+ data['order_maximum_quantity'] = this.orderMaximumQuantity;
+ data['price'] = this.price;
+ data['old_price'] = this.oldPrice;
+ data['discount_name'] = this.discountName;
+ data['discount_namen'] = this.discountNamen;
+ data['discount_percentage'] = this.discountPercentage;
+ data['display_order'] = this.displayOrder;
+
+ if (this.images != null) {
+ data['images'] = this.images.map((v) => v.toJson()).toList();
+ }
+ return data;
+ }
+}
+
+class LocalizedNames {
+ int languageId;
+ String localizedName;
+
+ LocalizedNames({this.languageId, this.localizedName});
+
+ LocalizedNames.fromJson(Map json) {
+ languageId = json['language_id'];
+ localizedName = json['localized_name'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['language_id'] = this.languageId;
+ data['localized_name'] = this.localizedName;
+ return data;
+ }
+}
+
+class Images {
+ int id;
+ int position;
+ String src;
+ String thumb;
+ String attachment;
+
+ Images({this.id, this.position, this.src, this.thumb, this.attachment});
+
+ Images.fromJson(Map json) {
+ id = json['id'];
+ position = json['position'];
+ src = json['src'];
+ thumb = json['thumb'];
+ attachment = json['attachment'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['id'] = this.id;
+ data['position'] = this.position;
+ data['src'] = this.src;
+ data['thumb'] = this.thumb;
+ data['attachment'] = this.attachment;
+ return data;
+ }
+}
diff --git a/lib/core/model/pharmacy/offer_products_model.dart b/lib/core/model/pharmacy/offer_products_model.dart
new file mode 100644
index 00000000..f41b731b
--- /dev/null
+++ b/lib/core/model/pharmacy/offer_products_model.dart
@@ -0,0 +1,579 @@
+class OfferProductsModel {
+ String id;
+ bool visibleIndividually;
+ String name;
+ String namen;
+ List localizedNames;
+ String shortDescription;
+ String shortDescriptionn;
+ String fullDescription;
+ String fullDescriptionn;
+ bool markasNew;
+ bool showOnHomePage;
+ dynamic metaKeywords;
+ dynamic metaDescription;
+ dynamic metaTitle;
+ bool allowCustomerReviews;
+ dynamic approvedRatingSum;
+ dynamic notApprovedRatingSum;
+ dynamic approvedTotalReviews;
+ dynamic notApprovedTotalReviews;
+ String sku;
+ bool isRx;
+ bool prescriptionRequired;
+ dynamic rxMessage;
+ dynamic rxMessagen;
+ dynamic manufacturerPartNumber;
+ dynamic gtin;
+ bool isGiftCard;
+ bool requireOtherProducts;
+ bool automaticallyAddRequiredProducts;
+ bool isDownload;
+ bool unlimitedDownloads;
+ dynamic maxNumberOfDownloads;
+ dynamic downloadExpirationDays;
+ bool hasSampleDownload;
+ bool hasUserAgreement;
+ bool isRecurring;
+ dynamic recurringCycleLength;
+ dynamic recurringTotalCycles;
+ bool isRental;
+ dynamic rentalPriceLength;
+ bool isShipEnabled;
+ bool isFreeShipping;
+ bool shipSeparately;
+ dynamic additionalShippingCharge;
+ bool isTaxExempt;
+ bool isTelecommunicationsOrBroadcastingOrElectronicServices;
+ bool useMultipleWarehouses;
+ dynamic manageInventoryMethodId;
+ dynamic stockQuantity;
+ String stockAvailability;
+ String stockAvailabilityn;
+ bool displayStockAvailability;
+ bool displayStockQuantity;
+ dynamic minStockQuantity;
+ dynamic notifyAdminForQuantityBelow;
+ bool allowBackInStockSubscriptions;
+ dynamic orderMinimumQuantity;
+ dynamic orderMaximumQuantity;
+ dynamic allowedQuantities;
+ bool allowAddingOnlyExistingAttributeCombinations;
+ bool disableBuyButton;
+ bool disableWishlistButton;
+ bool availableForPreOrder;
+ dynamic preOrderAvailabilityStartDateTimeUtc;
+ bool callForPrice;
+ dynamic price;
+ dynamic oldPrice;
+ dynamic productCost;
+ dynamic specialPrice;
+ dynamic specialPriceStartDateTimeUtc;
+ dynamic specialPriceEndDateTimeUtc;
+ bool customerEntersPrice;
+ dynamic minimumCustomerEnteredPrice;
+ dynamic maximumCustomerEnteredPrice;
+ bool basepriceEnabled;
+ dynamic basepriceAmount;
+ dynamic basepriceBaseAmount;
+ bool hasTierPrices;
+ bool hasDiscountsApplied;
+ String discountName;
+ String discountNamen;
+ String discountDescription;
+ String discountDescriptionn;
+ dynamic discountPercentage;
+ String currency;
+ String currencyn;
+ dynamic weight;
+ dynamic length;
+ dynamic width;
+ dynamic height;
+ dynamic availableStartDateTimeUtc;
+ dynamic availableEndDateTimeUtc;
+ dynamic displayOrder;
+ bool published;
+ bool deleted;
+ String createdOnUtc;
+ String updatedOnUtc;
+ String productType;
+ dynamic parentGroupedProductId;
+ List roleIds;
+ List discountIds;
+ List storeIds;
+ List manufacturerIds;
+ List reviews;
+ List images;
+ List attributes;
+ List specifications;
+ List associatedProductIds;
+ List tags;
+ dynamic vendorId;
+ String seName;
+
+ OfferProductsModel(
+ {this.id,
+ this.visibleIndividually,
+ this.name,
+ this.namen,
+ this.localizedNames,
+ this.shortDescription,
+ this.shortDescriptionn,
+ this.fullDescription,
+ this.fullDescriptionn,
+ this.markasNew,
+ this.showOnHomePage,
+ this.metaKeywords,
+ this.metaDescription,
+ this.metaTitle,
+ this.allowCustomerReviews,
+ this.approvedRatingSum,
+ this.notApprovedRatingSum,
+ this.approvedTotalReviews,
+ this.notApprovedTotalReviews,
+ this.sku,
+ this.isRx,
+ this.prescriptionRequired,
+ this.rxMessage,
+ this.rxMessagen,
+ this.manufacturerPartNumber,
+ this.gtin,
+ this.isGiftCard,
+ this.requireOtherProducts,
+ this.automaticallyAddRequiredProducts,
+ this.isDownload,
+ this.unlimitedDownloads,
+ this.maxNumberOfDownloads,
+ this.downloadExpirationDays,
+ this.hasSampleDownload,
+ this.hasUserAgreement,
+ this.isRecurring,
+ this.recurringCycleLength,
+ this.recurringTotalCycles,
+ this.isRental,
+ this.rentalPriceLength,
+ this.isShipEnabled,
+ this.isFreeShipping,
+ this.shipSeparately,
+ this.additionalShippingCharge,
+ this.isTaxExempt,
+ this.isTelecommunicationsOrBroadcastingOrElectronicServices,
+ this.useMultipleWarehouses,
+ this.manageInventoryMethodId,
+ this.stockQuantity,
+ this.stockAvailability,
+ this.stockAvailabilityn,
+ this.displayStockAvailability,
+ this.displayStockQuantity,
+ this.minStockQuantity,
+ this.notifyAdminForQuantityBelow,
+ this.allowBackInStockSubscriptions,
+ this.orderMinimumQuantity,
+ this.orderMaximumQuantity,
+ this.allowedQuantities,
+ this.allowAddingOnlyExistingAttributeCombinations,
+ this.disableBuyButton,
+ this.disableWishlistButton,
+ this.availableForPreOrder,
+ this.preOrderAvailabilityStartDateTimeUtc,
+ this.callForPrice,
+ this.price,
+ this.oldPrice,
+ this.productCost,
+ this.specialPrice,
+ this.specialPriceStartDateTimeUtc,
+ this.specialPriceEndDateTimeUtc,
+ this.customerEntersPrice,
+ this.minimumCustomerEnteredPrice,
+ this.maximumCustomerEnteredPrice,
+ this.basepriceEnabled,
+ this.basepriceAmount,
+ this.basepriceBaseAmount,
+ this.hasTierPrices,
+ this.hasDiscountsApplied,
+ this.discountName,
+ this.discountNamen,
+ this.discountDescription,
+ this.discountDescriptionn,
+ this.discountPercentage,
+ this.currency,
+ this.currencyn,
+ this.weight,
+ this.length,
+ this.width,
+ this.height,
+ this.availableStartDateTimeUtc,
+ this.availableEndDateTimeUtc,
+ this.displayOrder,
+ this.published,
+ this.deleted,
+ this.createdOnUtc,
+ this.updatedOnUtc,
+ this.productType,
+ this.parentGroupedProductId,
+ this.roleIds,
+ this.discountIds,
+ this.storeIds,
+ this.manufacturerIds,
+ this.reviews,
+ this.images,
+ this.attributes,
+ this.specifications,
+ this.associatedProductIds,
+ this.tags,
+ this.vendorId,
+ this.seName});
+
+ OfferProductsModel.fromJson(Map json) {
+ id = json['id'];
+ visibleIndividually = json['visible_individually'];
+ name = json['name'];
+ namen = json['namen'];
+ if (json['localized_names'] != null) {
+ localizedNames = new List();
+ json['localized_names'].forEach((v) {
+ localizedNames.add(new LocalizedNames.fromJson(v));
+ });
+ }
+ shortDescription = json['short_description'];
+ shortDescriptionn = json['short_descriptionn'];
+ fullDescription = json['full_description'];
+ fullDescriptionn = json['full_descriptionn'];
+ markasNew = json['markas_new'];
+ showOnHomePage = json['show_on_home_page'];
+ metaKeywords = json['meta_keywords'];
+ metaDescription = json['meta_description'];
+ metaTitle = json['meta_title'];
+ allowCustomerReviews = json['allow_customer_reviews'];
+ approvedRatingSum = json['approved_rating_sum'];
+ notApprovedRatingSum = json['not_approved_rating_sum'];
+ approvedTotalReviews = json['approved_total_reviews'];
+ notApprovedTotalReviews = json['not_approved_total_reviews'];
+ sku = json['sku'];
+ isRx = json['is_rx'];
+ prescriptionRequired = json['prescription_required'];
+ rxMessage = json['rx_message'];
+ rxMessagen = json['rx_messagen'];
+ manufacturerPartNumber = json['manufacturer_part_number'];
+ gtin = json['gtin'];
+ isGiftCard = json['is_gift_card'];
+ requireOtherProducts = json['require_other_products'];
+ automaticallyAddRequiredProducts =
+ json['automatically_add_required_products'];
+ isDownload = json['is_download'];
+ unlimitedDownloads = json['unlimited_downloads'];
+ maxNumberOfDownloads = json['max_number_of_downloads'];
+ downloadExpirationDays = json['download_expiration_days'];
+ hasSampleDownload = json['has_sample_download'];
+ hasUserAgreement = json['has_user_agreement'];
+ isRecurring = json['is_recurring'];
+ recurringCycleLength = json['recurring_cycle_length'];
+ recurringTotalCycles = json['recurring_total_cycles'];
+ isRental = json['is_rental'];
+ rentalPriceLength = json['rental_price_length'];
+ isShipEnabled = json['is_ship_enabled'];
+ isFreeShipping = json['is_free_shipping'];
+ shipSeparately = json['ship_separately'];
+ additionalShippingCharge = json['additional_shipping_charge'];
+ isTaxExempt = json['is_tax_exempt'];
+ isTelecommunicationsOrBroadcastingOrElectronicServices =
+ json['is_telecommunications_or_broadcasting_or_electronic_services'];
+ useMultipleWarehouses = json['use_multiple_warehouses'];
+ manageInventoryMethodId = json['manage_inventory_method_id'];
+ stockQuantity = json['stock_quantity'];
+ stockAvailability = json['stock_availability'];
+ stockAvailabilityn = json['stock_availabilityn'];
+ displayStockAvailability = json['display_stock_availability'];
+ displayStockQuantity = json['display_stock_quantity'];
+ minStockQuantity = json['min_stock_quantity'];
+ notifyAdminForQuantityBelow = json['notify_admin_for_quantity_below'];
+ allowBackInStockSubscriptions = json['allow_back_in_stock_subscriptions'];
+ orderMinimumQuantity = json['order_minimum_quantity'];
+ orderMaximumQuantity = json['order_maximum_quantity'];
+ allowedQuantities = json['allowed_quantities'];
+ allowAddingOnlyExistingAttributeCombinations =
+ json['allow_adding_only_existing_attribute_combinations'];
+ disableBuyButton = json['disable_buy_button'];
+ disableWishlistButton = json['disable_wishlist_button'];
+ availableForPreOrder = json['available_for_pre_order'];
+ preOrderAvailabilityStartDateTimeUtc =
+ json['pre_order_availability_start_date_time_utc'];
+ callForPrice = json['call_for_price'];
+ price = json['price'];
+ oldPrice = json['old_price'];
+ productCost = json['product_cost'];
+ specialPrice = json['special_price'];
+ specialPriceStartDateTimeUtc = json['special_price_start_date_time_utc'];
+ specialPriceEndDateTimeUtc = json['special_price_end_date_time_utc'];
+ customerEntersPrice = json['customer_enters_price'];
+ minimumCustomerEnteredPrice = json['minimum_customer_entered_price'];
+ maximumCustomerEnteredPrice = json['maximum_customer_entered_price'];
+ basepriceEnabled = json['baseprice_enabled'];
+ basepriceAmount = json['baseprice_amount'];
+ basepriceBaseAmount = json['baseprice_base_amount'];
+ hasTierPrices = json['has_tier_prices'];
+ hasDiscountsApplied = json['has_discounts_applied'];
+ discountName = json['discount_name'];
+ discountNamen = json['discount_namen'];
+ discountDescription = json['discount_description'];
+ discountDescriptionn = json['discount_Descriptionn'];
+ discountPercentage = json['discount_percentage'];
+ currency = json['currency'];
+ currencyn = json['currencyn'];
+ weight = json['weight'];
+ length = json['length'];
+ width = json['width'];
+ height = json['height'];
+ availableStartDateTimeUtc = json['available_start_date_time_utc'];
+ availableEndDateTimeUtc = json['available_end_date_time_utc'];
+ displayOrder = json['display_order'];
+ published = json['published'];
+ deleted = json['deleted'];
+ createdOnUtc = json['created_on_utc'];
+ updatedOnUtc = json['updated_on_utc'];
+ productType = json['product_type'];
+ parentGroupedProductId = json['parent_grouped_product_id'];
+
+ discountIds = json['discount_ids'].cast();
+
+ if (json['images'] != null) {
+ images = new List();
+ json['images'].forEach((v) {
+ images.add(new Images.fromJson(v));
+ });
+ }
+
+ vendorId = json['vendor_id'];
+ seName = json['se_name'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['id'] = this.id;
+ data['visible_individually'] = this.visibleIndividually;
+ data['name'] = this.name;
+ data['namen'] = this.namen;
+ if (this.localizedNames != null) {
+ data['localized_names'] =
+ this.localizedNames.map((v) => v.toJson()).toList();
+ }
+ data['short_description'] = this.shortDescription;
+ data['short_descriptionn'] = this.shortDescriptionn;
+ data['full_description'] = this.fullDescription;
+ data['full_descriptionn'] = this.fullDescriptionn;
+ data['markas_new'] = this.markasNew;
+ data['show_on_home_page'] = this.showOnHomePage;
+ data['meta_keywords'] = this.metaKeywords;
+ data['meta_description'] = this.metaDescription;
+ data['meta_title'] = this.metaTitle;
+ data['allow_customer_reviews'] = this.allowCustomerReviews;
+ data['approved_rating_sum'] = this.approvedRatingSum;
+ data['not_approved_rating_sum'] = this.notApprovedRatingSum;
+ data['approved_total_reviews'] = this.approvedTotalReviews;
+ data['not_approved_total_reviews'] = this.notApprovedTotalReviews;
+ data['sku'] = this.sku;
+ data['is_rx'] = this.isRx;
+ data['prescription_required'] = this.prescriptionRequired;
+ data['rx_message'] = this.rxMessage;
+ data['rx_messagen'] = this.rxMessagen;
+ data['manufacturer_part_number'] = this.manufacturerPartNumber;
+ data['gtin'] = this.gtin;
+ data['is_gift_card'] = this.isGiftCard;
+ data['require_other_products'] = this.requireOtherProducts;
+ data['automatically_add_required_products'] =
+ this.automaticallyAddRequiredProducts;
+ data['is_download'] = this.isDownload;
+ data['unlimited_downloads'] = this.unlimitedDownloads;
+ data['max_number_of_downloads'] = this.maxNumberOfDownloads;
+ data['download_expiration_days'] = this.downloadExpirationDays;
+ data['has_sample_download'] = this.hasSampleDownload;
+ data['has_user_agreement'] = this.hasUserAgreement;
+ data['is_recurring'] = this.isRecurring;
+ data['recurring_cycle_length'] = this.recurringCycleLength;
+ data['recurring_total_cycles'] = this.recurringTotalCycles;
+ data['is_rental'] = this.isRental;
+ data['rental_price_length'] = this.rentalPriceLength;
+ data['is_ship_enabled'] = this.isShipEnabled;
+ data['is_free_shipping'] = this.isFreeShipping;
+ data['ship_separately'] = this.shipSeparately;
+ data['additional_shipping_charge'] = this.additionalShippingCharge;
+ data['is_tax_exempt'] = this.isTaxExempt;
+ data['is_telecommunications_or_broadcasting_or_electronic_services'] =
+ this.isTelecommunicationsOrBroadcastingOrElectronicServices;
+ data['use_multiple_warehouses'] = this.useMultipleWarehouses;
+ data['manage_inventory_method_id'] = this.manageInventoryMethodId;
+ data['stock_quantity'] = this.stockQuantity;
+ data['stock_availability'] = this.stockAvailability;
+ data['stock_availabilityn'] = this.stockAvailabilityn;
+ data['display_stock_availability'] = this.displayStockAvailability;
+ data['display_stock_quantity'] = this.displayStockQuantity;
+ data['min_stock_quantity'] = this.minStockQuantity;
+ data['notify_admin_for_quantity_below'] = this.notifyAdminForQuantityBelow;
+ data['allow_back_in_stock_subscriptions'] =
+ this.allowBackInStockSubscriptions;
+ data['order_minimum_quantity'] = this.orderMinimumQuantity;
+ data['order_maximum_quantity'] = this.orderMaximumQuantity;
+ data['allowed_quantities'] = this.allowedQuantities;
+ data['allow_adding_only_existing_attribute_combinations'] =
+ this.allowAddingOnlyExistingAttributeCombinations;
+ data['disable_buy_button'] = this.disableBuyButton;
+ data['disable_wishlist_button'] = this.disableWishlistButton;
+ data['available_for_pre_order'] = this.availableForPreOrder;
+ data['pre_order_availability_start_date_time_utc'] =
+ this.preOrderAvailabilityStartDateTimeUtc;
+ data['call_for_price'] = this.callForPrice;
+ data['price'] = this.price;
+ data['old_price'] = this.oldPrice;
+ data['product_cost'] = this.productCost;
+ data['special_price'] = this.specialPrice;
+ data['special_price_start_date_time_utc'] =
+ this.specialPriceStartDateTimeUtc;
+ data['special_price_end_date_time_utc'] = this.specialPriceEndDateTimeUtc;
+ data['customer_enters_price'] = this.customerEntersPrice;
+ data['minimum_customer_entered_price'] = this.minimumCustomerEnteredPrice;
+ data['maximum_customer_entered_price'] = this.maximumCustomerEnteredPrice;
+ data['baseprice_enabled'] = this.basepriceEnabled;
+ data['baseprice_amount'] = this.basepriceAmount;
+ data['baseprice_base_amount'] = this.basepriceBaseAmount;
+ data['has_tier_prices'] = this.hasTierPrices;
+ data['has_discounts_applied'] = this.hasDiscountsApplied;
+ data['discount_name'] = this.discountName;
+ data['discount_namen'] = this.discountNamen;
+ data['discount_description'] = this.discountDescription;
+ data['discount_Descriptionn'] = this.discountDescriptionn;
+ data['discount_percentage'] = this.discountPercentage;
+ data['currency'] = this.currency;
+ data['currencyn'] = this.currencyn;
+ data['weight'] = this.weight;
+ data['length'] = this.length;
+ data['width'] = this.width;
+ data['height'] = this.height;
+ data['available_start_date_time_utc'] = this.availableStartDateTimeUtc;
+ data['available_end_date_time_utc'] = this.availableEndDateTimeUtc;
+ data['display_order'] = this.displayOrder;
+ data['published'] = this.published;
+ data['deleted'] = this.deleted;
+ data['created_on_utc'] = this.createdOnUtc;
+ data['updated_on_utc'] = this.updatedOnUtc;
+ data['product_type'] = this.productType;
+ data['parent_grouped_product_id'] = this.parentGroupedProductId;
+ if (this.roleIds != null) {
+ data['role_ids'] = this.roleIds.map((v) => v.toJson()).toList();
+ }
+ data['discount_ids'] = this.discountIds;
+ if (this.storeIds != null) {
+ data['store_ids'] = this.storeIds.map((v) => v.toJson()).toList();
+ }
+ if (this.manufacturerIds != null) {
+ data['manufacturer_ids'] =
+ this.manufacturerIds.map((v) => v.toJson()).toList();
+ }
+ if (this.reviews != null) {
+ data['reviews'] = this.reviews.map((v) => v.toJson()).toList();
+ }
+ if (this.images != null) {
+ data['images'] = this.images.map((v) => v.toJson()).toList();
+ }
+ if (this.attributes != null) {
+ data['attributes'] = this.attributes.map((v) => v.toJson()).toList();
+ }
+ if (this.specifications != null) {
+ data['specifications'] =
+ this.specifications.map((v) => v.toJson()).toList();
+ }
+ if (this.associatedProductIds != null) {
+ data['associated_product_ids'] =
+ this.associatedProductIds.map((v) => v.toJson()).toList();
+ }
+ if (this.tags != null) {
+ data['tags'] = this.tags.map((v) => v.toJson()).toList();
+ }
+ data['vendor_id'] = this.vendorId;
+ data['se_name'] = this.seName;
+ return data;
+ }
+}
+
+class LocalizedNames {
+ int languageId;
+ String localizedName;
+
+ LocalizedNames({this.languageId, this.localizedName});
+
+ LocalizedNames.fromJson(Map json) {
+ languageId = json['language_id'];
+ localizedName = json['localized_name'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['language_id'] = this.languageId;
+ data['localized_name'] = this.localizedName;
+ return data;
+ }
+}
+
+class Images {
+ int id;
+ int position;
+ String src;
+ String thumb;
+ String attachment;
+
+ Images({this.id, this.position, this.src, this.thumb, this.attachment});
+
+ Images.fromJson(Map json) {
+ id = json['id'];
+ position = json['position'];
+ src = json['src'];
+ thumb = json['thumb'];
+ attachment = json['attachment'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['id'] = this.id;
+ data['position'] = this.position;
+ data['src'] = this.src;
+ data['thumb'] = this.thumb;
+ data['attachment'] = this.attachment;
+ return data;
+ }
+}
+
+class Specifications {
+ int id;
+ int displayOrder;
+ String defaultValue;
+ String defaultValuen;
+ String name;
+ String nameN;
+
+ Specifications(
+ {this.id,
+ this.displayOrder,
+ this.defaultValue,
+ this.defaultValuen,
+ this.name,
+ this.nameN});
+
+ Specifications.fromJson(Map json) {
+ id = json['id'];
+ displayOrder = json['display_order'];
+ defaultValue = json['default_value'];
+ defaultValuen = json['default_valuen'];
+ name = json['name'];
+ nameN = json['nameN'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['id'] = this.id;
+ data['display_order'] = this.displayOrder;
+ data['default_value'] = this.defaultValue;
+ data['default_valuen'] = this.defaultValuen;
+ data['name'] = this.name;
+ data['nameN'] = this.nameN;
+ return data;
+ }
+}
diff --git a/lib/core/model/pharmacy/offers_model.dart b/lib/core/model/pharmacy/offers_model.dart
new file mode 100644
index 00000000..3add1d3d
--- /dev/null
+++ b/lib/core/model/pharmacy/offers_model.dart
@@ -0,0 +1,175 @@
+class OffersModel {
+ String id;
+ String name;
+ String namen;
+ List localizedNames;
+ Null description;
+ int categoryTemplateId;
+ String metaKeywords;
+ String metaDescription;
+ String metaTitle;
+ int parentCategoryId;
+ int pageSize;
+ String pageSizeOptions;
+ Null priceRanges;
+ bool showOnHomePage;
+ bool includeInTopMenu;
+ Null hasDiscountsApplied;
+ bool published;
+ bool deleted;
+ int displayOrder;
+ String createdOnUtc;
+ String updatedOnUtc;
+ List roleIds;
+ List discountIds;
+ List storeIds;
+ Image image;
+ String seName;
+ bool isLeaf;
+
+ OffersModel(
+ {this.id,
+ this.name,
+ this.namen,
+ this.localizedNames,
+ this.description,
+ this.categoryTemplateId,
+ this.metaKeywords,
+ this.metaDescription,
+ this.metaTitle,
+ this.parentCategoryId,
+ this.pageSize,
+ this.pageSizeOptions,
+ this.priceRanges,
+ this.showOnHomePage,
+ this.includeInTopMenu,
+ this.hasDiscountsApplied,
+ this.published,
+ this.deleted,
+ this.displayOrder,
+ this.createdOnUtc,
+ this.updatedOnUtc,
+ this.roleIds,
+ this.discountIds,
+ this.storeIds,
+ this.image,
+ this.seName,
+ this.isLeaf});
+
+ OffersModel.fromJson(Map json) {
+ id = json['id'];
+ name = json['name'];
+ namen = json['namen'];
+ if (json['localized_names'] != null) {
+ localizedNames = new List();
+ json['localized_names'].forEach((v) {
+ localizedNames.add(new LocalizedNames.fromJson(v));
+ });
+ }
+ description = json['description'];
+ categoryTemplateId = json['category_template_id'];
+ metaKeywords = json['meta_keywords'];
+ metaDescription = json['meta_description'];
+ metaTitle = json['meta_title'];
+ parentCategoryId = json['parent_category_id'];
+ pageSize = json['page_size'];
+ pageSizeOptions = json['page_size_options'];
+ priceRanges = json['price_ranges'];
+ showOnHomePage = json['show_on_home_page'];
+ includeInTopMenu = json['include_in_top_menu'];
+ hasDiscountsApplied = json['has_discounts_applied'];
+ published = json['published'];
+ deleted = json['deleted'];
+ displayOrder = json['display_order'];
+ createdOnUtc = json['created_on_utc'];
+ updatedOnUtc = json['updated_on_utc'];
+
+ image = json['image'] != null ? new Image.fromJson(json['image']) : null;
+ seName = json['se_name'];
+ isLeaf = json['is_leaf'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['id'] = this.id;
+ data['name'] = this.name;
+ data['namen'] = this.namen;
+ if (this.localizedNames != null) {
+ data['localized_names'] =
+ this.localizedNames.map((v) => v.toJson()).toList();
+ }
+ data['description'] = this.description;
+ data['category_template_id'] = this.categoryTemplateId;
+ data['meta_keywords'] = this.metaKeywords;
+ data['meta_description'] = this.metaDescription;
+ data['meta_title'] = this.metaTitle;
+ data['parent_category_id'] = this.parentCategoryId;
+ data['page_size'] = this.pageSize;
+ data['page_size_options'] = this.pageSizeOptions;
+ data['price_ranges'] = this.priceRanges;
+ data['show_on_home_page'] = this.showOnHomePage;
+ data['include_in_top_menu'] = this.includeInTopMenu;
+ data['has_discounts_applied'] = this.hasDiscountsApplied;
+ data['published'] = this.published;
+ data['deleted'] = this.deleted;
+ data['display_order'] = this.displayOrder;
+ data['created_on_utc'] = this.createdOnUtc;
+ data['updated_on_utc'] = this.updatedOnUtc;
+ if (this.roleIds != null) {
+ data['role_ids'] = this.roleIds.map((v) => v.toJson()).toList();
+ }
+ if (this.discountIds != null) {
+ data['discount_ids'] = this.discountIds.map((v) => v.toJson()).toList();
+ }
+ if (this.storeIds != null) {
+ data['store_ids'] = this.storeIds.map((v) => v.toJson()).toList();
+ }
+ if (this.image != null) {
+ data['image'] = this.image.toJson();
+ }
+ data['se_name'] = this.seName;
+ data['is_leaf'] = this.isLeaf;
+ return data;
+ }
+}
+
+class LocalizedNames {
+ int languageId;
+ String localizedName;
+
+ LocalizedNames({this.languageId, this.localizedName});
+
+ LocalizedNames.fromJson(Map json) {
+ languageId = json['language_id'];
+ localizedName = json['localized_name'];
+ }
+
+ Map toJson() {
+ final Map data = new Map