Revert "Merge branch 'pharmacy-hussam' into 'master'"

This reverts merge request !149
merge-requests/224/merge
Mohammad Aljammal 5 years ago
parent 133450e503
commit 77dcb918c3

@ -81,7 +81,6 @@ dependencies {
// Dependency on a remote binary
// implementation 'com.example.android:app-magic:12.3'
implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 44 KiB

@ -1,17 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="95.266" height="25.878" viewBox="0 0 95.266 25.878">
<g id="Group_1207" data-name="Group 1207" transform="translate(-114.266 -194)">
<g id="Path_1368" data-name="Path 1368" transform="translate(114.266 194)" fill="#fff">
<path d="M 92.51264953613281 25.37797546386719 L 2.752974987030029 25.37797546386719 C 1.510674953460693 25.37797546386719 0.5 24.36730003356934 0.5 23.125 L 0.5 2.752975225448608 C 0.5 1.510675191879272 1.510674953460693 0.5000002384185791 2.752974987030029 0.5000002384185791 L 92.51264953613281 0.5000002384185791 C 93.75495147705078 0.5000002384185791 94.765625 1.510675191879272 94.765625 2.752975225448608 L 94.765625 23.125 C 94.765625 24.36730003356934 93.75495147705078 25.37797546386719 92.51264953613281 25.37797546386719 Z" stroke="none"/>
<path d="M 2.752975463867188 1 C 1.786384582519531 1 1 1.786388397216797 1 2.752975463867188 L 1 23.125 C 1 24.09158706665039 1.786384582519531 24.87797546386719 2.752975463867188 24.87797546386719 L 92.51264953613281 24.87797546386719 C 93.47924041748047 24.87797546386719 94.265625 24.09158706665039 94.265625 23.125 L 94.265625 2.752975463867188 C 94.265625 1.786388397216797 93.47924041748047 1 92.51264953613281 1 L 2.752975463867188 1 M 2.752975463867188 0 L 92.51264953613281 0 C 94.03307342529297 0 95.265625 1.232549667358398 95.265625 2.752975463867188 L 95.265625 23.125 C 95.265625 24.64542579650879 94.03307342529297 25.87797546386719 92.51264953613281 25.87797546386719 L 2.752975463867188 25.87797546386719 C 1.232551574707031 25.87797546386719 0 24.64542579650879 0 23.125 L 0 2.752975463867188 C 0 1.232549667358398 1.232551574707031 0 2.752975463867188 0 Z" stroke="none" fill="#ccc"/>
</g>
<g id="Group_417" data-name="Group 417" transform="translate(-1932.136 317)">
<g id="Group_22" data-name="Group 22" transform="translate(2052 -119)">
<path id="Path_19" data-name="Path 19" d="M497.257,14.133s.591,0,1.007,0l3.154.015c.376,0,.69-.4.708-.978l0-2.636c0-.562.252-1,.641-1.027l.967-.008c.39.024.658.468.658,1.027l0,2.651c.018.578.28.955.659.955l4.246.011.008-3.258c0-.56-.269-1-.66-1.02l-1.706-.008c-.378,0-.674-.4-.691-.977l-.007-.881c.019-.578.317-.976.7-.976l1.716.005c.39-.026.644-.486.644-1.045l0-4.066a1.73,1.73,0,0,1-1.314.821H505.1c-.376,0-.69.41-.708.988V6.333c-.018.578-.313.985-.69.985l-.873-.007c-.379,0-.681-.4-.7-.97l0-2.64c-.018-.578-.317-.967-.694-.967h-4.188V5.982c0,.562.263,1.009.654,1.036l1.716-.007c.388.026.663.488.663,1.046l-.005.752c0,.56-.265,1.009-.655,1.035l-1.718,0c-.391.027-.654.471-.654,1.03ZM511.678,1.685V15.267a1.727,1.727,0,0,1-1.745,1.643h-13.4a1.719,1.719,0,0,1-1.737-1.644V1.659A1.728,1.728,0,0,1,496.53.01l13.393.005A1.757,1.757,0,0,1,511.678,1.685Z" transform="translate(-427.842 -0.01)" fill="#ed1c2b"/>
<path id="Path_20" data-name="Path 20" d="M80.948,99.367h-.175v-.325a.784.784,0,0,1-.713.382c-.789,0-.79-.534-.79-.752V97.555h.176v1.11c0,.357.124.6.62.6a.64.64,0,0,0,.708-.649V97.556h.175ZM77.986,97.5a.963.963,0,1,1-.97.963A.932.932,0,0,1,77.986,97.5Zm0,1.76a.8.8,0,1,0-.8-.8A.762.762,0,0,0,77.986,99.26Zm-2.1-1.7h.176v.379a.723.723,0,0,1,.7-.434.37.37,0,0,1,.129.023l.008.188a.437.437,0,0,0-.187-.026.648.648,0,0,0-.648.7v.98h-.176Zm-.58.357c-.009-.05-.009-.356-.009-.356h.176v1.713c0,.414-.142.867-.942.867-.528,0-.832-.166-.889-.612l.175-.014c.038.287.223.463.716.463.652,0,.766-.371.766-.7v-.327a.938.938,0,1,1-.786-1.449A.825.825,0,0,1,75.3,97.912Zm-1.559.494a.7.7,0,0,0,.778.778.713.713,0,0,0,.77-.782.775.775,0,0,0-1.548,0Zm-1.48-1.556h.173v2.518h-.173Zm-2.069,1.281c.058-.472.285-.632.8-.632.5,0,.789.123.789.536v1c0,.137,0,.2.1.2a.435.435,0,0,0,.146-.027l.014.16a.531.531,0,0,1-.2.031.177.177,0,0,1-.192-.114.461.461,0,0,1-.024-.127c0-.037,0-.076,0-.12a.9.9,0,0,1-.8.383,1.254,1.254,0,0,1-.17-.009.748.748,0,0,1-.235-.061.487.487,0,0,1-.3-.487c0-.378.306-.5.651-.526l.593-.042c.173-.014.249-.032.249-.242,0-.231-.12-.394-.62-.394-.442,0-.576.143-.621.459Zm1.417.25a.512.512,0,0,1-.267.08l-.575.042c-.284.022-.476.1-.476.363,0,.35.334.392.541.392.34,0,.775-.161.775-.575v-.3Zm-1.905-.241a.666.666,0,0,0-.71-.478.8.8,0,0,0,0,1.6.694.694,0,0,0,.732-.532l.177-.009a.852.852,0,0,1-.909.7A.962.962,0,1,1,69,97.5a.805.805,0,0,1,.884.631Zm-2.182-.586H67.7v1.812h-.175Zm-.583.924a.736.736,0,0,0-.763-.816.8.8,0,1,0,.763.816Zm-.022.539a.787.787,0,0,1-.747.407.963.963,0,0,1,0-1.924.834.834,0,0,1,.743.4l.005-1.053H67.1v2.518H66.92v-.353Zm-2.046-.672a.726.726,0,0,0-.767-.682.741.741,0,0,0-.764.682Zm-1.533.162a.738.738,0,0,0,.8.752.682.682,0,0,0,.712-.5l.177-.008a.863.863,0,0,1-.907.674.9.9,0,0,1-.957-.976.953.953,0,1,1,1.905.049ZM60,97.555h.175v.277a.775.775,0,0,1,.649-.333.6.6,0,0,1,.652.4.68.68,0,0,1,.654-.4c.491,0,.717.235.717.644v1.225h-.175V98.2a.489.489,0,0,0-.539-.533.55.55,0,0,0-.622.593v1.112h-.175v-1.2c0-.307-.154-.5-.54-.5a.58.58,0,0,0-.622.626v1.077H60Zm21.364,0h.176v.352a.785.785,0,0,1,.747-.407.964.964,0,0,1,0,1.925.828.828,0,0,1-.741-.4l-.007,1.054h-.176V97.555Zm.156.889a.735.735,0,0,0,.763.816.8.8,0,1,0-.763-.816ZM67.485,97.02a.126.126,0,1,1,.126.133A.13.13,0,0,1,67.485,97.02Z" transform="translate(-51.882 -83.747)" fill="#5f6765"/>
<path id="Path_21" data-name="Path 21" d="M244.039,99.841a.127.127,0,1,1,.126.133A.13.13,0,0,1,244.039,99.841Zm-.345,0a.131.131,0,0,1,.127-.133.133.133,0,0,1,0,.265A.131.131,0,0,1,243.694,99.841Zm18.835,0a.129.129,0,0,1,.124-.133.133.133,0,0,1,0,.265A.126.126,0,0,1,262.528,99.837Zm-9.99-2.874a.125.125,0,1,1,.126.133A.127.127,0,0,1,252.539,96.963Zm-.345,0a.126.126,0,1,1,.127.133A.128.128,0,0,1,252.194,96.963Zm-10.439.005a.126.126,0,1,1,.126.133A.13.13,0,0,1,241.755,96.969Zm-.344,0a.127.127,0,1,1,.126.133A.13.13,0,0,1,241.411,96.969Zm27.141-.157h.176v2.517h-.176Zm-18.306.023h.175v2.518h-.175Zm-.708,1.759V96.831h.176V98.6c0,.218-.007.752-.8.752h-2.831a.738.738,0,0,1-.7-.3c-.092.181-.294.337-.72.337s-.625-.154-.717-.337a.735.735,0,0,1-.7.3h-.525c-.2,0-.229-.153-.226-.364a.942.942,0,0,1-.816.4.962.962,0,1,1,.974-.944l0,.537c0,.137,0,.211.1.211h.492c.5,0,.617-.239.617-.6V97.518h.175v1.11c0,.357.134.6.628.6s.617-.238.617-.6v-1.11h.175v1.1c.005.342.131.57.618.57h.555v-2.36h.175v1.036a.784.784,0,0,1,.713-.382c.789,0,.789.534.789.754v.953h.6C249.42,99.19,249.539,98.951,249.539,98.594Zm-8.622-.152a.785.785,0,1,0,.766-.816A.77.77,0,0,0,240.917,98.442Zm7.225-.2c0-.359-.125-.6-.617-.6a.64.64,0,0,0-.71.649v.893h1.327Zm5.311.181v.552c0,.138,0,.211.1.211h1.007v-1c0-.219.007-.752.8-.752a1.473,1.473,0,0,1,.29.027l-.091.15a1.256,1.256,0,0,0-.192-.015c-.494,0-.628.239-.628.6v1h1.315v.162H253.52a.179.179,0,0,1-.189-.108A.74.74,0,0,1,253.3,99a.982.982,0,0,1-.815.384.961.961,0,1,1,.973-.959Zm-1.744.015a.786.786,0,1,0,.767-.816A.775.775,0,0,0,251.709,98.441Zm14.964.222c.019.319.154.528.614.528.483,0,.613-.242.613-.6v-1.8h.175V98.6c0,.216-.007.748-.789.752a.759.759,0,0,1-.679-.273.983.983,0,0,1-1.81,0,.764.764,0,0,1-.683.275h-2.089a.758.758,0,0,1-.682-.276.985.985,0,0,1-1.812,0,.758.758,0,0,1-.681.272h-.6c-.03.378-.217.747-.936.747-.529,0-.831-.165-.889-.61l.173-.015c.038.284.222.461.716.461.572,0,.721-.294.759-.583h-.721a.909.909,0,0,1-.981-.955.942.942,0,0,1,1.883.014v.778h.6c.437,0,.58-.18.609-.463.005-.054.008-.1.012-.139a.918.918,0,0,1,.962-.833.929.929,0,0,1,.967.932c.018.3.161.5.616.5h1.341V98.181c0-.357-.116-.6-.616-.6a.574.574,0,0,0-.516.195l-.153-.108a.791.791,0,0,1,.662-.249c.789,0,.8.534.8.752v1.012h.582c.461,0,.59-.2.614-.516a.971.971,0,0,1,1.936-.038Zm-8.592-.276a.7.7,0,0,0-.773-.75.712.712,0,0,0-.762.752.748.748,0,0,0,.828.8h.706Zm1.563.363a.795.795,0,0,0,1.588-.034c0-.024,0-.046,0-.066a.795.795,0,0,0-1.58-.042A.691.691,0,0,0,259.644,98.749Zm6.855-.024c0-.026,0-.043,0-.061a.794.794,0,0,0-1.586.031.794.794,0,1,0,1.589.03ZM245.28,99.841a.126.126,0,1,1,.126.133A.13.13,0,0,1,245.28,99.841Z" transform="translate(-208.166 -83.695)" fill="#5f6765"/>
<path id="Path_22" data-name="Path 22" d="M11.934,8.762a.289.289,0,0,1-.291.285.294.294,0,0,1-.3-.285.285.285,0,0,1,.3-.273A.28.28,0,0,1,11.934,8.762ZM28.821,7.124V5.365a.236.236,0,0,1,.262-.216.233.233,0,0,1,.262.225V7.045c0,.7.024,1.184-.357,1.542a1.527,1.527,0,0,1-1.088.371,1.607,1.607,0,0,1-1.1-.382,1.389,1.389,0,0,1-.346-1.131V5.376a.237.237,0,0,1,.268-.229.239.239,0,0,1,.271.241V7.5a.962.962,0,0,0,.226.79,1.018,1.018,0,0,0,.7.235.951.951,0,0,0,.658-.229C28.844,8.043,28.821,7.757,28.821,7.124ZM2.416,8.762a.291.291,0,0,1-.292.285.3.3,0,0,1-.3-.285.286.286,0,0,1,.3-.273A.281.281,0,0,1,2.416,8.762Zm5.213,0a.291.291,0,0,1-.292.285.3.3,0,0,1-.3-.285.286.286,0,0,1,.3-.273A.281.281,0,0,1,7.63,8.762Zm.8,0a.29.29,0,0,1-.291.285.293.293,0,0,1-.3-.285.285.285,0,0,1,.3-.273A.281.281,0,0,1,8.431,8.762ZM14.682,5.35l.11-.054a1.876,1.876,0,0,1,.49-.137,2.478,2.478,0,0,1,.334-.023,1.814,1.814,0,0,1,1.831,1.975,2.5,2.5,0,0,1-.047.494h3.146a1.02,1.02,0,0,0,.7-.235.963.963,0,0,0,.227-.79V4.008A.271.271,0,0,1,22.014,4V6.523a1.388,1.388,0,0,1-.348,1.134,1.593,1.593,0,0,1-1.1.38H17.6l-4.858,0a1.482,1.482,0,0,1-.984-.367,1.263,1.263,0,0,1-.093-.1,1.3,1.3,0,0,1-.095.1,1.527,1.527,0,0,1-1.087.369h-1.6a1.6,1.6,0,0,1-1.066-.38c-.111-.053-.141-.02-.176.011a1.52,1.52,0,0,1-1.084.371H4.993a1.577,1.577,0,0,1-1.05-.382c-.11-.053-.141-.02-.175.011a1.47,1.47,0,0,1-.984.368l-1.335,0a1.6,1.6,0,0,1-1.1-.382A1.394,1.394,0,0,1,0,6.524V5.372a.24.24,0,0,1,.269-.23.237.237,0,0,1,.268.241v1.2a.96.96,0,0,0,.227.79,1.02,1.02,0,0,0,.7.235l1.317,0a.9.9,0,0,0,.572-.227A.843.843,0,0,0,3.6,6.721V5.369a.239.239,0,0,1,.268-.23.237.237,0,0,1,.268.241v1.2a.964.964,0,0,0,.226.79.973.973,0,0,0,.635.233l1.576,0a.93.93,0,0,0,.656-.23.861.861,0,0,0,.244-.686V5.37a.27.27,0,0,1,.536.011v1.2a.96.96,0,0,0,.227.79,1,1,0,0,0,.66.234H10.5a.936.936,0,0,0,.656-.229A.924.924,0,0,0,11.4,6.61c0-.149,0-.31,0-.484V5.368a.266.266,0,0,1,.524-.009v.847c0,.633-.024.919.246,1.172a.912.912,0,0,0,.571.227h4.132a2.086,2.086,0,0,0,.066-.537A1.359,1.359,0,0,0,15.586,5.58H15.5a2.189,2.189,0,0,0-.334.035c-.195.035-.165.03-.349.074C14.626,5.752,14.553,5.464,14.682,5.35ZM28.194,3.935a.288.288,0,0,1-.292.283.3.3,0,0,1-.3-.283.286.286,0,0,1,.3-.275A.282.282,0,0,1,28.194,3.935ZM41.723,8.762a.288.288,0,0,1-.29.285.3.3,0,0,1-.3-.285.287.287,0,0,1,.3-.273A.28.28,0,0,1,41.723,8.762Zm.8,0a.29.29,0,0,1-.291.285.294.294,0,0,1-.3-.285.285.285,0,0,1,.3-.273A.281.281,0,0,1,42.523,8.762Zm14.539-.728.009-.438h2.136c.832-.024,1.051-.368,1.066-.967-.031-.6-.234-1-1.066-1.03a2.436,2.436,0,0,0-.359.042,3.143,3.143,0,0,0-.348.074c-.192.06-.267-.227-.138-.341l.108-.053a1.877,1.877,0,0,1,.491-.138,2.527,2.527,0,0,1,.336-.022,1.333,1.333,0,0,1,1.473,1.449A1.314,1.314,0,0,1,59.3,8.034Zm-.373-.246a.29.29,0,0,1-.292.284.294.294,0,0,1-.3-.284.285.285,0,0,1,.3-.275A.281.281,0,0,1,56.688,7.788ZM54.841,6.125c0,.7.023,1.184-.36,1.544a1.522,1.522,0,0,1-1.084.369,1.6,1.6,0,0,1-1.1-.38l-.165.011a1.528,1.528,0,0,1-1.085.369,1.734,1.734,0,0,1-.909-.234v.231l-2.923,0a1.6,1.6,0,0,1-1.1-.38c-.11-.053-.139-.02-.172.011a1.531,1.531,0,0,1-1.087.369l-1.9,0a1.559,1.559,0,0,1-1.009-.379h-.157a1.6,1.6,0,0,1-1.1.38l-2.584,0a1.509,1.509,0,0,1-.348.551,1.52,1.52,0,0,1-1.084.371,1.6,1.6,0,0,1-1.1-.382,1.017,1.017,0,0,1-.3-.545l-3.153.008a1.6,1.6,0,0,1-1.1-.38,1.392,1.392,0,0,1-.346-1.134V4a.271.271,0,0,1,.537.011V6.58a.964.964,0,0,0,.226.79,1.023,1.023,0,0,0,.7.235l3.067,0,.027-.16V6.7a1.441,1.441,0,0,1,.345-1.174,1.6,1.6,0,0,1,1.1-.382,1.522,1.522,0,0,1,1.084.371,1.621,1.621,0,0,1,.359,1.308v.41c0,.129,0,.252-.005.367h2.561a1.019,1.019,0,0,0,.7-.235.827.827,0,0,0,.226-.658V5.377a.239.239,0,0,1,.268-.242.242.242,0,0,1,.271.23l0,.373,0,.783c0,.349-.008.626.227.847a.962.962,0,0,0,.593.231l1.915,0a.942.942,0,0,0,.655-.229c.268-.253.245-.539.245-1.172l-.011-.885V4a.271.271,0,0,1,.537.011V6.124c0,.173,0,.333,0,.482a.937.937,0,0,0,.234.764,1.018,1.018,0,0,0,.7.235H49.6V5.365a.23.23,0,0,1,.234-.214c.208.011.291.095.3.215V6.786a.775.775,0,0,0,.225.585,1.023,1.023,0,0,0,.7.235.944.944,0,0,0,.656-.229c.268-.253.244-.539.244-1.172v-.84a.266.266,0,0,1,.524.009V6.581a.96.96,0,0,0,.226.789,1.019,1.019,0,0,0,.7.235.941.941,0,0,0,.656-.229c.268-.253.244-.539.244-1.172v-.84a.238.238,0,0,1,.264-.216.235.235,0,0,1,.262.226v.751ZM37.342,8.3c.245-.231.245-.488.244-1.015V6.859c0-.576-.007-.828-.244-1.051a.941.941,0,0,0-.658-.23,1.013,1.013,0,0,0-.7.235.957.957,0,0,0-.226.79V7.5a.958.958,0,0,0,.226.79,1.013,1.013,0,0,0,.7.235A.934.934,0,0,0,37.342,8.3ZM23.324,8.034V4.006A.271.271,0,0,1,23.861,4V8.034Z" transform="translate(0 -3.166)" fill="#3d4543"/>
<path id="Path_23" data-name="Path 23" d="M14.322,55.834V54.075a.266.266,0,0,1,.525.009v1.672c0,.7.022,1.183-.357,1.541a1.529,1.529,0,0,1-1.088.371,1.608,1.608,0,0,1-1.1-.383,1.391,1.391,0,0,1-.345-1.133V54.087a.271.271,0,0,1,.537.014V56.21a.961.961,0,0,0,.226.79,1.022,1.022,0,0,0,.7.235.941.941,0,0,0,.656-.23C14.346,56.753,14.322,56.467,14.322,55.834Zm1.437,1.76V54.087a.238.238,0,0,1,.268-.229.235.235,0,0,1,.267.215v3.094h1.652V57.6H15.759Zm6.514,0V54.07a.235.235,0,0,1,.235-.215c.208.011.291.095.3.215v.319l0,3.207h-.539Zm1.437,0,.394-3.469a.333.333,0,0,1,.368-.265.37.37,0,0,1,.344.235L25.9,56.91l1.05-2.82a.363.363,0,0,1,.319-.23.341.341,0,0,1,.388.264l.411,3.471h-.525l-.329-3.023-1.126,3.023h-.442l-1.151-3.023-.3,3.023Zm11.285-.751-.009-2.6v-.157a.244.244,0,0,1,.486-.012v3.523h-.533l-1.875-2.978.011,2.978h-.488V54.12c0-.225.2-.26.331-.26.172.007.229.08.352.257Zm6.478.751V54.075a.276.276,0,0,1,.537-.011v3.1h1.652v.428Zm4.314,0V54.06a.276.276,0,0,1,.537.011v1.353h1.824V54.071a.276.276,0,0,1,.537-.007v3.53h-.537V55.85H46.323v1.744Zm10.885,0V54.068a.24.24,0,0,1,.268-.214.238.238,0,0,1,.268.211v3.529ZM.264,53.868H.879a2.434,2.434,0,0,1,1.829.475,1.948,1.948,0,0,1,0,2.748,2.432,2.432,0,0,1-1.835.5H0V54.141A.242.242,0,0,1,.264,53.868Zm2.468,1.827a1.386,1.386,0,0,0-.424-1.073c-.346-.325-.741-.352-1.429-.352H.533v2.917h.5a1.752,1.752,0,0,0,1.3-.38A1.512,1.512,0,0,0,2.731,55.695ZM4.07,54.13c-.007-.183.107-.263.272-.263h.613a1.7,1.7,0,0,1,1.266.3.972.972,0,0,1,.31.743.876.876,0,0,1-.245.643,1.07,1.07,0,0,1-.639.295.576.576,0,0,1,.34.152,1.671,1.671,0,0,1,.31.52L6.811,57.6H6.248l-.459-.971C5.513,56.048,5.382,56,4.844,56h-.25v1.6H4.067V54.13ZM6,54.907a.618.618,0,0,0-.175-.447,1.1,1.1,0,0,0-.819-.2H4.595V55.6H4.78A1.462,1.462,0,0,0,5.8,55.377.651.651,0,0,0,6,54.907ZM18.25,57.594l1.229-3.184.126-.3a.357.357,0,0,1,.359-.252.367.367,0,0,1,.384.252l.149.356,1.219,3.127h-.563l-.361-.976H19.15l-.363.976Zm2.391-1.386-.674-1.821L19.3,56.209Zm7.9,1.386,1.229-3.184.124-.3a.36.36,0,0,1,.36-.252.367.367,0,0,1,.384.252l.15.356L32,57.594h-.559l-.365-.976H29.44l-.363.976Zm2.39-1.386-.671-1.821-.67,1.821Zm6.546,1.386L38.7,54.411l.124-.3a.358.358,0,0,1,.359-.252.365.365,0,0,1,.383.252l.15.356,1.216,3.127h-.56l-.361-.976h-1.64l-.365.976Zm2.391-1.386-.674-1.821-.667,1.821Zm9.348,1.386,1.227-3.184.126-.3a.357.357,0,0,1,.359-.252.37.37,0,0,1,.386.252l.147.356,1.218,3.127h-.559l-.365-.976H50.115l-.364.976Zm2.392-1.386-.677-1.821-.666,1.821Zm1.663,1.386V54.225c0-.267.068-.371.264-.371h.833a1.447,1.447,0,0,1,1.066.287.93.93,0,0,1,.311.718.8.8,0,0,1-.637.819.81.81,0,0,1,.763.835.986.986,0,0,1-.3.735c-.383.359-.884.348-1.6.348h-.7Zm1.938-2.725a.562.562,0,0,0-.154-.414,1.282,1.282,0,0,0-.919-.2h-.346v1.256h.306a1.443,1.443,0,0,0,.928-.208A.532.532,0,0,0,55.207,54.869Zm.119,1.653a.559.559,0,0,0-.18-.419,1.493,1.493,0,0,0-1.031-.208h-.329v1.289h.442a1.211,1.211,0,0,0,.925-.235A.616.616,0,0,0,55.327,56.523Zm2.845-2.668h1.1a1.448,1.448,0,0,1,1.066.287.936.936,0,0,1,.313.718.8.8,0,0,1-.639.819.809.809,0,0,1,.762.835.99.99,0,0,1-.3.735c-.384.359-.882.348-1.6.348h-.7V53.854Zm1.938,1.015a.572.572,0,0,0-.153-.414,1.275,1.275,0,0,0-.917-.2h-.348v1.256H59a1.455,1.455,0,0,0,.932-.208A.534.534,0,0,0,60.11,54.869Zm.122,1.653a.554.554,0,0,0-.18-.419,1.493,1.493,0,0,0-1.031-.208h-.329v1.289h.442c.467,0,.71-.034.924-.235A.611.611,0,0,0,60.231,56.523ZM8.772,54.791c0-.589.5-1,1.223-1.011a2.309,2.309,0,0,1,.855.181c.193.074.114.429-.1.36-.183-.043-.164-.043-.36-.083a1.294,1.294,0,0,0-.287-.032c-.484,0-.8.2-.8.537,0,.354.352.467.746.656.352.169,1.133.442,1.133,1.179,0,.617-.482,1.093-1.306,1.093a2.019,2.019,0,0,1-1.223-.4l.258-.346a1.8,1.8,0,0,0,.942.319c.49,0,.775-.275.775-.617,0-.41-.506-.61-.936-.808C9.19,55.588,8.772,55.34,8.772,54.791Z" transform="translate(0 -46.505)" fill="#3d4543"/>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 16 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 44 KiB

@ -1,6 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="8.134" height="14.534" viewBox="0 0 8.134 14.534">
<g id="arrow_right" transform="translate(-6.793 -6.793)">
<path id="Path_1250" data-name="Path 1250" d="M7.5,18" transform="translate(0 -3.94)" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<path id="Path_1251" data-name="Path 1251" d="M7.5,20.621l6.927-6.56L7.5,7.5" transform="translate(0)" fill="none" stroke="#999" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 553 B

@ -1,6 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13">
<g id="Group_1214" data-name="Group 1214" transform="translate(-239 -260)">
<circle id="Ellipse_49" data-name="Ellipse 49" cx="6.5" cy="6.5" r="6.5" transform="translate(239 260)" fill="#5ab145"/>
<path id="check_1_" data-name="check (1)" d="M2.97,6.314a.4.4,0,0,1-.56,0L.174,4.077a.594.594,0,0,1,0-.84l.28-.28a.594.594,0,0,1,.84,0l1.4,1.4L6.463.58a.594.594,0,0,1,.84,0l.28.28a.594.594,0,0,1,0,.84Zm0,0" transform="translate(241.663 263.071)" fill="#fff"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 565 B

@ -1,10 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="18.666" height="18.665" viewBox="0 0 18.666 18.665">
<g id="contact_us_icon" transform="translate(-8.8 -8.802)">
<g id="Group_1035" data-name="Group 1035" transform="translate(8.8 8.802)">
<path id="Path_1306" data-name="Path 1306" d="M25.88,23.851,23.274,22.03a2.01,2.01,0,0,0-2.8.5l-.605.867a22.4,22.4,0,0,1-3.224-2.708,22.37,22.37,0,0,1-2.708-3.224l.866-.6a2.014,2.014,0,0,0,.5-2.8L13.48,11.451a2.014,2.014,0,0,0-1.644-.87,1.884,1.884,0,0,0-.655.117,3.635,3.635,0,0,0-.677.333l-.36.253a2.757,2.757,0,0,0-.254.227,3.615,3.615,0,0,0-.926,1.651c-.75,2.812,1.108,7.064,4.624,10.58,2.953,2.953,6.5,4.787,9.257,4.787h0a5.149,5.149,0,0,0,1.322-.163,3.612,3.612,0,0,0,1.651-.926,2.674,2.674,0,0,0,.239-.27l.254-.362a3.629,3.629,0,0,0,.321-.66A1.98,1.98,0,0,0,25.88,23.851Zm0,2.019a2.806,2.806,0,0,1-.236.494l-.23.329a1.892,1.892,0,0,1-.16.179,2.817,2.817,0,0,1-1.29.718,4.336,4.336,0,0,1-1.115.136h0c-2.552,0-5.881-1.744-8.689-4.552-3.268-3.268-5.084-7.3-4.416-9.8a2.821,2.821,0,0,1,.718-1.29,2,2,0,0,1,.163-.149l.326-.23a2.806,2.806,0,0,1,.512-.248,1.077,1.077,0,0,1,.376-.067,1.209,1.209,0,0,1,.984.526l1.82,2.605a1.209,1.209,0,0,1-.3,1.682l-1.186.828a.4.4,0,0,0-.11.544,22.257,22.257,0,0,0,3.029,3.686,22.265,22.265,0,0,0,3.686,3.029.4.4,0,0,0,.544-.11l.828-1.187a1.237,1.237,0,0,1,1.681-.3l2.606,1.821A1.175,1.175,0,0,1,25.878,25.871Z" transform="translate(-8.8 -9.866)"/>
<path id="Path_1307" data-name="Path 1307" d="M37.661,11.729A10.046,10.046,0,0,0,31.179,8.8a.4.4,0,0,0-.05.8,9.252,9.252,0,0,1,8.654,8.654.4.4,0,0,0,.4.377h.026a.4.4,0,0,0,.376-.427A10.047,10.047,0,0,0,37.661,11.729Z" transform="translate(-21.921 -8.802)"/>
<path id="Path_1308" data-name="Path 1308" d="M30.754,15.594a6.839,6.839,0,0,1,6.4,6.4.4.4,0,0,0,.4.377h.026a.4.4,0,0,0,.376-.427A7.644,7.644,0,0,0,30.8,14.791a.4.4,0,1,0-.05.8Z" transform="translate(-21.697 -12.381)"/>
<path id="Path_1309" data-name="Path 1309" d="M30.379,21.582a4.425,4.425,0,0,1,4.138,4.138.4.4,0,0,0,.4.377h.026a.4.4,0,0,0,.376-.427,5.23,5.23,0,0,0-4.891-4.89.4.4,0,0,0-.05.8Z" transform="translate(-21.473 -15.96)"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

@ -1,6 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="22.245" height="20.148" viewBox="0 0 22.245 20.148">
<g id="credit_card_icon" transform="translate(0 -24.066)">
<path id="Path_1346" data-name="Path 1346" d="M22.208,35.622l-1.689-9.576A2.4,2.4,0,0,0,17.744,24.1L3.261,26.656a2.4,2.4,0,0,0-1.944,2.776l.124.7A2.4,2.4,0,0,0,0,32.333v9.485a2.4,2.4,0,0,0,2.4,2.4H16.773a2.4,2.4,0,0,0,2.4-2.4V38.591l1.1-.193a2.4,2.4,0,0,0,1.944-2.776ZM20.74,36.663a1.082,1.082,0,0,1-.7.448l-.869.153V32.333a2.4,2.4,0,0,0-2.4-2.4H2.734L2.6,29.2a1.089,1.089,0,0,1,.884-1.262l14.483-2.554a1.089,1.089,0,0,1,1.262.883l1.689,9.576A1.082,1.082,0,0,1,20.74,36.663Zm-3.968,6.244H2.4a1.09,1.09,0,0,1-1.089-1.089V37.173H17.862v4.645A1.09,1.09,0,0,1,16.773,42.907ZM2.4,31.244H16.773a1.09,1.09,0,0,1,1.089,1.089V32.9H1.307v-.569A1.09,1.09,0,0,1,2.4,31.244Zm15.466,2.965v1.658H1.307V34.208Z" transform="translate(0 0)"/>
<path id="Path_1347" data-name="Path 1347" d="M64.92,396.3H61.955a.654.654,0,0,0,0,1.307H64.92a.654.654,0,0,0,0-1.307Z" transform="translate(-58.631 -356.022)"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

@ -1,8 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="9.214" height="11.344" viewBox="0 0 9.214 11.344">
<g id="delete" transform="translate(0.003 0.001)">
<path id="Path_1323" data-name="Path 1323" d="M222.664,154.7a.266.266,0,0,0-.266.266v5.021a.266.266,0,0,0,.531,0v-5.021A.266.266,0,0,0,222.664,154.7Zm0,0" transform="translate(-216.493 -150.594)" fill="#d63b4d"/>
<path id="Path_1324" data-name="Path 1324" d="M104.664,154.7a.266.266,0,0,0-.266.266v5.021a.266.266,0,0,0,.531,0v-5.021A.266.266,0,0,0,104.664,154.7Zm0,0" transform="translate(-101.628 -150.594)" fill="#d63b4d"/>
<path id="Path_1325" data-name="Path 1325" d="M.751,3.376V9.922a1.466,1.466,0,0,0,.39,1.011,1.308,1.308,0,0,0,.949.41H7.117a1.308,1.308,0,0,0,.949-.41,1.466,1.466,0,0,0,.39-1.011V3.376a1.015,1.015,0,0,0-.26-2H6.835V1.048A1.044,1.044,0,0,0,5.783,0H3.424A1.044,1.044,0,0,0,2.372,1.048V1.38H1.012a1.015,1.015,0,0,0-.26,2Zm6.366,7.436H2.09a.841.841,0,0,1-.808-.89V3.4H7.924V9.922A.841.841,0,0,1,7.117,10.812ZM2.9,1.048A.512.512,0,0,1,3.424.53H5.783a.512.512,0,0,1,.521.518V1.38H2.9Zm-1.892.863H8.2a.478.478,0,1,1,0,.956H1.012a.478.478,0,1,1,0-.956Zm0,0" transform="translate(0)" fill="#d63b4d"/>
<path id="Path_1326" data-name="Path 1326" d="M163.664,154.7a.266.266,0,0,0-.266.266v5.021a.266.266,0,1,0,.531,0v-5.021A.266.266,0,0,0,163.664,154.7Zm0,0" transform="translate(-159.061 -150.594)" fill="#d63b4d"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

@ -1,3 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="10.116" height="10.116" viewBox="0 0 10.116 10.116">
<path id="edit_icon" d="M4.5,12.505v2.107H6.607L12.822,8.4,10.715,6.29Zm9.952-5.737a.56.56,0,0,0,0-.792L13.137,4.661a.56.56,0,0,0-.792,0L11.316,5.689,13.424,7.8l1.028-1.028Z" transform="translate(-4.5 -4.496)" fill="#3666e0"/>
</svg>

Before

Width:  |  Height:  |  Size: 336 B

@ -1,18 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="115.115" height="115.114" viewBox="0 0 115.115 115.114">
<g id="box_2_" data-name="box (2)" transform="translate(0 -0.002)">
<path id="Path_1371" data-name="Path 1371" d="M134.442,152.513l-32.349-1.2,0,0L76,160.011l40.47,13.49,40.47-13.49Z" transform="translate(-58.912 -117.291)" fill="#fff"/>
<path id="Path_1372" data-name="Path 1372" d="M216.469,30.237A20.235,20.235,0,1,1,196.234,10,20.234,20.234,0,0,1,216.469,30.237Z" transform="translate(-136.429 -7.752)" fill="#c72525"/>
<path id="Path_1373" data-name="Path 1373" d="M172.426,256.019,131.972,250,96,256.97v36.2l35.973,13.49,40.47-13.49v-37.1Z" transform="translate(-74.416 -193.792)" fill="#ffd474"/>
<g id="Group_1210" data-name="Group 1210" transform="translate(2.248 15.902)">
<path id="Path_1374" data-name="Path 1374" d="M339.847,78.112,335.939,95.77l22.5,7.5L373.275,88.43Z" transform="translate(-262.657 -76.45)" fill="#e8ab22"/>
<path id="Path_1375" data-name="Path 1375" d="M256,203.492l11.975,14.967,43.334-13.618L296.469,190Z" transform="translate(-200.69 -163.184)" fill="#e8ab22"/>
<path id="Path_1376" data-name="Path 1376" d="M33.839,205.8l40.47,13.49,9.479-15.8L43.318,190Z" transform="translate(-28.479 -163.184)" fill="#e8ab22"/>
<path id="Path_1377" data-name="Path 1377" d="M48.416,70.722,10,82.7,24.838,97.54l26.092-8.7,0,0Z" transform="translate(-9.999 -70.722)" fill="#e8ab22"/>
</g>
<path id="Path_1378" data-name="Path 1378" d="M148.247,374.5A2.248,2.248,0,1,0,146,372.25,2.249,2.249,0,0,0,148.247,374.5Z" transform="translate(-113.174 -286.812)"/>
<path id="Path_1379" data-name="Path 1379" d="M14.256,43.069,5.68,57.362A2.248,2.248,0,0,0,6.9,60.652L19.335,64.8v34.58a2.248,2.248,0,0,0,1.459,2.105c7.605,2.852,35.864,13.45,36.015,13.5a2.24,2.24,0,0,0,1.438.02l.02-.006,40.47-13.49a2.249,2.249,0,0,0,1.537-2.133V63.872L113.54,59.7a2.248,2.248,0,0,0,.916-3.735L101.206,42.72l13.249-13.249a2.248,2.248,0,0,0-.927-3.738L81.265,15.775a22.486,22.486,0,0,0-42.317-1.693L1.578,25.735a2.249,2.249,0,0,0-.92,3.736Zm3.831,2.355,36.1,12.033L47.078,69.306l-36.1-12.033Zm24.275-8.758a22.477,22.477,0,0,0,33.876,1.162L90.916,42.72,57.557,53.84,24.2,42.72ZM23.832,66.3c24.765,8.211,23.556,7.961,24.246,7.961a2.249,2.249,0,0,0,1.928-1.092l5.3-8.838v45.3L23.832,97.82V66.3Zm71.947,31.46L59.8,109.749V62.619l7.971,9.962a2.249,2.249,0,0,0,2.43.74l25.573-8.036Zm12.875-41.231L70.325,68.571l-9-11.247L97.419,45.293ZM97.419,40.148l-18.33-6.109a22.548,22.548,0,0,0,3.2-11.553c0-.571-.024-1.141-.067-1.709l26.417,8.154ZM59.8,4.5A17.963,17.963,0,0,1,77.792,22.485,17.984,17.984,0,0,1,59.8,40.472,17.987,17.987,0,1,1,59.8,4.5ZM37.561,19.225a22.669,22.669,0,0,0-.239,3.26,22.348,22.348,0,0,0,2.492,10.29l-22.12,7.373L6.467,28.921Z"/>
<path id="Path_1380" data-name="Path 1380" d="M185.216,387.573l5,1.875a2.248,2.248,0,1,0,1.579-4.21l-5-1.875a2.248,2.248,0,1,0-1.579,4.21Z" transform="translate(-142.442 -297.057)"/>
<path id="Path_1381" data-name="Path 1381" d="M162.524,416.981l-13.49-5.059a2.248,2.248,0,0,0-1.579,4.21l13.49,5.059a2.248,2.248,0,0,0,1.579-4.21Z" transform="translate(-113.171 -319.196)"/>
<path id="Icon_ionic-ios-close" data-name="Icon ionic-ios-close" d="M23.334,21.027l6.958-6.958a1.63,1.63,0,0,0-2.306-2.306l-6.958,6.958L14.07,11.763a1.63,1.63,0,1,0-2.306,2.306l6.958,6.958-6.958,6.958A1.63,1.63,0,0,0,14.07,30.29l6.958-6.958,6.958,6.958a1.63,1.63,0,1,0,2.306-2.306Z" transform="translate(38.674 1.065)" fill="#fff"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.4 KiB

@ -1,17 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="95.266" height="25.878" viewBox="0 0 95.266 25.878">
<g id="hmg_shipping_logo" transform="translate(-114.266 -194)">
<g id="Path_1368" data-name="Path 1368" transform="translate(114.266 194)" fill="#fff">
<path d="M 92.51264953613281 25.37797546386719 L 2.752974987030029 25.37797546386719 C 1.510674953460693 25.37797546386719 0.5 24.36730003356934 0.5 23.125 L 0.5 2.752975225448608 C 0.5 1.510675191879272 1.510674953460693 0.5000002384185791 2.752974987030029 0.5000002384185791 L 92.51264953613281 0.5000002384185791 C 93.75495147705078 0.5000002384185791 94.765625 1.510675191879272 94.765625 2.752975225448608 L 94.765625 23.125 C 94.765625 24.36730003356934 93.75495147705078 25.37797546386719 92.51264953613281 25.37797546386719 Z" stroke="none"/>
<path d="M 2.752975463867188 1 C 1.786384582519531 1 1 1.786388397216797 1 2.752975463867188 L 1 23.125 C 1 24.09158706665039 1.786384582519531 24.87797546386719 2.752975463867188 24.87797546386719 L 92.51264953613281 24.87797546386719 C 93.47924041748047 24.87797546386719 94.265625 24.09158706665039 94.265625 23.125 L 94.265625 2.752975463867188 C 94.265625 1.786388397216797 93.47924041748047 1 92.51264953613281 1 L 2.752975463867188 1 M 2.752975463867188 0 L 92.51264953613281 0 C 94.03307342529297 0 95.265625 1.232549667358398 95.265625 2.752975463867188 L 95.265625 23.125 C 95.265625 24.64542579650879 94.03307342529297 25.87797546386719 92.51264953613281 25.87797546386719 L 2.752975463867188 25.87797546386719 C 1.232551574707031 25.87797546386719 0 24.64542579650879 0 23.125 L 0 2.752975463867188 C 0 1.232549667358398 1.232551574707031 0 2.752975463867188 0 Z" stroke="none" fill="#ccc"/>
</g>
<g id="Group_417" data-name="Group 417" transform="translate(-1932.136 317)">
<g id="Group_22" data-name="Group 22" transform="translate(2052 -119)">
<path id="Path_19" data-name="Path 19" d="M497.257,14.133s.591,0,1.007,0l3.154.015c.376,0,.69-.4.708-.978l0-2.636c0-.562.252-1,.641-1.027l.967-.008c.39.024.658.468.658,1.027l0,2.651c.018.578.28.955.659.955l4.246.011.008-3.258c0-.56-.269-1-.66-1.02l-1.706-.008c-.378,0-.674-.4-.691-.977l-.007-.881c.019-.578.317-.976.7-.976l1.716.005c.39-.026.644-.486.644-1.045l0-4.066a1.73,1.73,0,0,1-1.314.821H505.1c-.376,0-.69.41-.708.988V6.333c-.018.578-.313.985-.69.985l-.873-.007c-.379,0-.681-.4-.7-.97l0-2.64c-.018-.578-.317-.967-.694-.967h-4.188V5.982c0,.562.263,1.009.654,1.036l1.716-.007c.388.026.663.488.663,1.046l-.005.752c0,.56-.265,1.009-.655,1.035l-1.718,0c-.391.027-.654.471-.654,1.03ZM511.678,1.685V15.267a1.727,1.727,0,0,1-1.745,1.643h-13.4a1.719,1.719,0,0,1-1.737-1.644V1.659A1.728,1.728,0,0,1,496.53.01l13.393.005A1.757,1.757,0,0,1,511.678,1.685Z" transform="translate(-427.842 -0.01)" fill="#ed1c2b"/>
<path id="Path_20" data-name="Path 20" d="M80.948,99.367h-.175v-.325a.784.784,0,0,1-.713.382c-.789,0-.79-.534-.79-.752V97.555h.176v1.11c0,.357.124.6.62.6a.64.64,0,0,0,.708-.649V97.556h.175ZM77.986,97.5a.963.963,0,1,1-.97.963A.932.932,0,0,1,77.986,97.5Zm0,1.76a.8.8,0,1,0-.8-.8A.762.762,0,0,0,77.986,99.26Zm-2.1-1.7h.176v.379a.723.723,0,0,1,.7-.434.37.37,0,0,1,.129.023l.008.188a.437.437,0,0,0-.187-.026.648.648,0,0,0-.648.7v.98h-.176Zm-.58.357c-.009-.05-.009-.356-.009-.356h.176v1.713c0,.414-.142.867-.942.867-.528,0-.832-.166-.889-.612l.175-.014c.038.287.223.463.716.463.652,0,.766-.371.766-.7v-.327a.938.938,0,1,1-.786-1.449A.825.825,0,0,1,75.3,97.912Zm-1.559.494a.7.7,0,0,0,.778.778.713.713,0,0,0,.77-.782.775.775,0,0,0-1.548,0Zm-1.48-1.556h.173v2.518h-.173Zm-2.069,1.281c.058-.472.285-.632.8-.632.5,0,.789.123.789.536v1c0,.137,0,.2.1.2a.435.435,0,0,0,.146-.027l.014.16a.531.531,0,0,1-.2.031.177.177,0,0,1-.192-.114.461.461,0,0,1-.024-.127c0-.037,0-.076,0-.12a.9.9,0,0,1-.8.383,1.254,1.254,0,0,1-.17-.009.748.748,0,0,1-.235-.061.487.487,0,0,1-.3-.487c0-.378.306-.5.651-.526l.593-.042c.173-.014.249-.032.249-.242,0-.231-.12-.394-.62-.394-.442,0-.576.143-.621.459Zm1.417.25a.512.512,0,0,1-.267.08l-.575.042c-.284.022-.476.1-.476.363,0,.35.334.392.541.392.34,0,.775-.161.775-.575v-.3Zm-1.905-.241a.666.666,0,0,0-.71-.478.8.8,0,0,0,0,1.6.694.694,0,0,0,.732-.532l.177-.009a.852.852,0,0,1-.909.7A.962.962,0,1,1,69,97.5a.805.805,0,0,1,.884.631Zm-2.182-.586H67.7v1.812h-.175Zm-.583.924a.736.736,0,0,0-.763-.816.8.8,0,1,0,.763.816Zm-.022.539a.787.787,0,0,1-.747.407.963.963,0,0,1,0-1.924.834.834,0,0,1,.743.4l.005-1.053H67.1v2.518H66.92v-.353Zm-2.046-.672a.726.726,0,0,0-.767-.682.741.741,0,0,0-.764.682Zm-1.533.162a.738.738,0,0,0,.8.752.682.682,0,0,0,.712-.5l.177-.008a.863.863,0,0,1-.907.674.9.9,0,0,1-.957-.976.953.953,0,1,1,1.905.049ZM60,97.555h.175v.277a.775.775,0,0,1,.649-.333.6.6,0,0,1,.652.4.68.68,0,0,1,.654-.4c.491,0,.717.235.717.644v1.225h-.175V98.2a.489.489,0,0,0-.539-.533.55.55,0,0,0-.622.593v1.112h-.175v-1.2c0-.307-.154-.5-.54-.5a.58.58,0,0,0-.622.626v1.077H60Zm21.364,0h.176v.352a.785.785,0,0,1,.747-.407.964.964,0,0,1,0,1.925.828.828,0,0,1-.741-.4l-.007,1.054h-.176V97.555Zm.156.889a.735.735,0,0,0,.763.816.8.8,0,1,0-.763-.816ZM67.485,97.02a.126.126,0,1,1,.126.133A.13.13,0,0,1,67.485,97.02Z" transform="translate(-51.882 -83.747)" fill="#5f6765"/>
<path id="Path_21" data-name="Path 21" d="M244.039,99.841a.127.127,0,1,1,.126.133A.13.13,0,0,1,244.039,99.841Zm-.345,0a.131.131,0,0,1,.127-.133.133.133,0,0,1,0,.265A.131.131,0,0,1,243.694,99.841Zm18.835,0a.129.129,0,0,1,.124-.133.133.133,0,0,1,0,.265A.126.126,0,0,1,262.528,99.837Zm-9.99-2.874a.125.125,0,1,1,.126.133A.127.127,0,0,1,252.539,96.963Zm-.345,0a.126.126,0,1,1,.127.133A.128.128,0,0,1,252.194,96.963Zm-10.439.005a.126.126,0,1,1,.126.133A.13.13,0,0,1,241.755,96.969Zm-.344,0a.127.127,0,1,1,.126.133A.13.13,0,0,1,241.411,96.969Zm27.141-.157h.176v2.517h-.176Zm-18.306.023h.175v2.518h-.175Zm-.708,1.759V96.831h.176V98.6c0,.218-.007.752-.8.752h-2.831a.738.738,0,0,1-.7-.3c-.092.181-.294.337-.72.337s-.625-.154-.717-.337a.735.735,0,0,1-.7.3h-.525c-.2,0-.229-.153-.226-.364a.942.942,0,0,1-.816.4.962.962,0,1,1,.974-.944l0,.537c0,.137,0,.211.1.211h.492c.5,0,.617-.239.617-.6V97.518h.175v1.11c0,.357.134.6.628.6s.617-.238.617-.6v-1.11h.175v1.1c.005.342.131.57.618.57h.555v-2.36h.175v1.036a.784.784,0,0,1,.713-.382c.789,0,.789.534.789.754v.953h.6C249.42,99.19,249.539,98.951,249.539,98.594Zm-8.622-.152a.785.785,0,1,0,.766-.816A.77.77,0,0,0,240.917,98.442Zm7.225-.2c0-.359-.125-.6-.617-.6a.64.64,0,0,0-.71.649v.893h1.327Zm5.311.181v.552c0,.138,0,.211.1.211h1.007v-1c0-.219.007-.752.8-.752a1.473,1.473,0,0,1,.29.027l-.091.15a1.256,1.256,0,0,0-.192-.015c-.494,0-.628.239-.628.6v1h1.315v.162H253.52a.179.179,0,0,1-.189-.108A.74.74,0,0,1,253.3,99a.982.982,0,0,1-.815.384.961.961,0,1,1,.973-.959Zm-1.744.015a.786.786,0,1,0,.767-.816A.775.775,0,0,0,251.709,98.441Zm14.964.222c.019.319.154.528.614.528.483,0,.613-.242.613-.6v-1.8h.175V98.6c0,.216-.007.748-.789.752a.759.759,0,0,1-.679-.273.983.983,0,0,1-1.81,0,.764.764,0,0,1-.683.275h-2.089a.758.758,0,0,1-.682-.276.985.985,0,0,1-1.812,0,.758.758,0,0,1-.681.272h-.6c-.03.378-.217.747-.936.747-.529,0-.831-.165-.889-.61l.173-.015c.038.284.222.461.716.461.572,0,.721-.294.759-.583h-.721a.909.909,0,0,1-.981-.955.942.942,0,0,1,1.883.014v.778h.6c.437,0,.58-.18.609-.463.005-.054.008-.1.012-.139a.918.918,0,0,1,.962-.833.929.929,0,0,1,.967.932c.018.3.161.5.616.5h1.341V98.181c0-.357-.116-.6-.616-.6a.574.574,0,0,0-.516.195l-.153-.108a.791.791,0,0,1,.662-.249c.789,0,.8.534.8.752v1.012h.582c.461,0,.59-.2.614-.516a.971.971,0,0,1,1.936-.038Zm-8.592-.276a.7.7,0,0,0-.773-.75.712.712,0,0,0-.762.752.748.748,0,0,0,.828.8h.706Zm1.563.363a.795.795,0,0,0,1.588-.034c0-.024,0-.046,0-.066a.795.795,0,0,0-1.58-.042A.691.691,0,0,0,259.644,98.749Zm6.855-.024c0-.026,0-.043,0-.061a.794.794,0,0,0-1.586.031.794.794,0,1,0,1.589.03ZM245.28,99.841a.126.126,0,1,1,.126.133A.13.13,0,0,1,245.28,99.841Z" transform="translate(-208.166 -83.695)" fill="#5f6765"/>
<path id="Path_22" data-name="Path 22" d="M11.934,8.762a.289.289,0,0,1-.291.285.294.294,0,0,1-.3-.285.285.285,0,0,1,.3-.273A.28.28,0,0,1,11.934,8.762ZM28.821,7.124V5.365a.236.236,0,0,1,.262-.216.233.233,0,0,1,.262.225V7.045c0,.7.024,1.184-.357,1.542a1.527,1.527,0,0,1-1.088.371,1.607,1.607,0,0,1-1.1-.382,1.389,1.389,0,0,1-.346-1.131V5.376a.237.237,0,0,1,.268-.229.239.239,0,0,1,.271.241V7.5a.962.962,0,0,0,.226.79,1.018,1.018,0,0,0,.7.235.951.951,0,0,0,.658-.229C28.844,8.043,28.821,7.757,28.821,7.124ZM2.416,8.762a.291.291,0,0,1-.292.285.3.3,0,0,1-.3-.285.286.286,0,0,1,.3-.273A.281.281,0,0,1,2.416,8.762Zm5.213,0a.291.291,0,0,1-.292.285.3.3,0,0,1-.3-.285.286.286,0,0,1,.3-.273A.281.281,0,0,1,7.63,8.762Zm.8,0a.29.29,0,0,1-.291.285.293.293,0,0,1-.3-.285.285.285,0,0,1,.3-.273A.281.281,0,0,1,8.431,8.762ZM14.682,5.35l.11-.054a1.876,1.876,0,0,1,.49-.137,2.478,2.478,0,0,1,.334-.023,1.814,1.814,0,0,1,1.831,1.975,2.5,2.5,0,0,1-.047.494h3.146a1.02,1.02,0,0,0,.7-.235.963.963,0,0,0,.227-.79V4.008A.271.271,0,0,1,22.014,4V6.523a1.388,1.388,0,0,1-.348,1.134,1.593,1.593,0,0,1-1.1.38H17.6l-4.858,0a1.482,1.482,0,0,1-.984-.367,1.263,1.263,0,0,1-.093-.1,1.3,1.3,0,0,1-.095.1,1.527,1.527,0,0,1-1.087.369h-1.6a1.6,1.6,0,0,1-1.066-.38c-.111-.053-.141-.02-.176.011a1.52,1.52,0,0,1-1.084.371H4.993a1.577,1.577,0,0,1-1.05-.382c-.11-.053-.141-.02-.175.011a1.47,1.47,0,0,1-.984.368l-1.335,0a1.6,1.6,0,0,1-1.1-.382A1.394,1.394,0,0,1,0,6.524V5.372a.24.24,0,0,1,.269-.23.237.237,0,0,1,.268.241v1.2a.96.96,0,0,0,.227.79,1.02,1.02,0,0,0,.7.235l1.317,0a.9.9,0,0,0,.572-.227A.843.843,0,0,0,3.6,6.721V5.369a.239.239,0,0,1,.268-.23.237.237,0,0,1,.268.241v1.2a.964.964,0,0,0,.226.79.973.973,0,0,0,.635.233l1.576,0a.93.93,0,0,0,.656-.23.861.861,0,0,0,.244-.686V5.37a.27.27,0,0,1,.536.011v1.2a.96.96,0,0,0,.227.79,1,1,0,0,0,.66.234H10.5a.936.936,0,0,0,.656-.229A.924.924,0,0,0,11.4,6.61c0-.149,0-.31,0-.484V5.368a.266.266,0,0,1,.524-.009v.847c0,.633-.024.919.246,1.172a.912.912,0,0,0,.571.227h4.132a2.086,2.086,0,0,0,.066-.537A1.359,1.359,0,0,0,15.586,5.58H15.5a2.189,2.189,0,0,0-.334.035c-.195.035-.165.03-.349.074C14.626,5.752,14.553,5.464,14.682,5.35ZM28.194,3.935a.288.288,0,0,1-.292.283.3.3,0,0,1-.3-.283.286.286,0,0,1,.3-.275A.282.282,0,0,1,28.194,3.935ZM41.723,8.762a.288.288,0,0,1-.29.285.3.3,0,0,1-.3-.285.287.287,0,0,1,.3-.273A.28.28,0,0,1,41.723,8.762Zm.8,0a.29.29,0,0,1-.291.285.294.294,0,0,1-.3-.285.285.285,0,0,1,.3-.273A.281.281,0,0,1,42.523,8.762Zm14.539-.728.009-.438h2.136c.832-.024,1.051-.368,1.066-.967-.031-.6-.234-1-1.066-1.03a2.436,2.436,0,0,0-.359.042,3.143,3.143,0,0,0-.348.074c-.192.06-.267-.227-.138-.341l.108-.053a1.877,1.877,0,0,1,.491-.138,2.527,2.527,0,0,1,.336-.022,1.333,1.333,0,0,1,1.473,1.449A1.314,1.314,0,0,1,59.3,8.034Zm-.373-.246a.29.29,0,0,1-.292.284.294.294,0,0,1-.3-.284.285.285,0,0,1,.3-.275A.281.281,0,0,1,56.688,7.788ZM54.841,6.125c0,.7.023,1.184-.36,1.544a1.522,1.522,0,0,1-1.084.369,1.6,1.6,0,0,1-1.1-.38l-.165.011a1.528,1.528,0,0,1-1.085.369,1.734,1.734,0,0,1-.909-.234v.231l-2.923,0a1.6,1.6,0,0,1-1.1-.38c-.11-.053-.139-.02-.172.011a1.531,1.531,0,0,1-1.087.369l-1.9,0a1.559,1.559,0,0,1-1.009-.379h-.157a1.6,1.6,0,0,1-1.1.38l-2.584,0a1.509,1.509,0,0,1-.348.551,1.52,1.52,0,0,1-1.084.371,1.6,1.6,0,0,1-1.1-.382,1.017,1.017,0,0,1-.3-.545l-3.153.008a1.6,1.6,0,0,1-1.1-.38,1.392,1.392,0,0,1-.346-1.134V4a.271.271,0,0,1,.537.011V6.58a.964.964,0,0,0,.226.79,1.023,1.023,0,0,0,.7.235l3.067,0,.027-.16V6.7a1.441,1.441,0,0,1,.345-1.174,1.6,1.6,0,0,1,1.1-.382,1.522,1.522,0,0,1,1.084.371,1.621,1.621,0,0,1,.359,1.308v.41c0,.129,0,.252-.005.367h2.561a1.019,1.019,0,0,0,.7-.235.827.827,0,0,0,.226-.658V5.377a.239.239,0,0,1,.268-.242.242.242,0,0,1,.271.23l0,.373,0,.783c0,.349-.008.626.227.847a.962.962,0,0,0,.593.231l1.915,0a.942.942,0,0,0,.655-.229c.268-.253.245-.539.245-1.172l-.011-.885V4a.271.271,0,0,1,.537.011V6.124c0,.173,0,.333,0,.482a.937.937,0,0,0,.234.764,1.018,1.018,0,0,0,.7.235H49.6V5.365a.23.23,0,0,1,.234-.214c.208.011.291.095.3.215V6.786a.775.775,0,0,0,.225.585,1.023,1.023,0,0,0,.7.235.944.944,0,0,0,.656-.229c.268-.253.244-.539.244-1.172v-.84a.266.266,0,0,1,.524.009V6.581a.96.96,0,0,0,.226.789,1.019,1.019,0,0,0,.7.235.941.941,0,0,0,.656-.229c.268-.253.244-.539.244-1.172v-.84a.238.238,0,0,1,.264-.216.235.235,0,0,1,.262.226v.751ZM37.342,8.3c.245-.231.245-.488.244-1.015V6.859c0-.576-.007-.828-.244-1.051a.941.941,0,0,0-.658-.23,1.013,1.013,0,0,0-.7.235.957.957,0,0,0-.226.79V7.5a.958.958,0,0,0,.226.79,1.013,1.013,0,0,0,.7.235A.934.934,0,0,0,37.342,8.3ZM23.324,8.034V4.006A.271.271,0,0,1,23.861,4V8.034Z" transform="translate(0 -3.166)" fill="#3d4543"/>
<path id="Path_23" data-name="Path 23" d="M14.322,55.834V54.075a.266.266,0,0,1,.525.009v1.672c0,.7.022,1.183-.357,1.541a1.529,1.529,0,0,1-1.088.371,1.608,1.608,0,0,1-1.1-.383,1.391,1.391,0,0,1-.345-1.133V54.087a.271.271,0,0,1,.537.014V56.21a.961.961,0,0,0,.226.79,1.022,1.022,0,0,0,.7.235.941.941,0,0,0,.656-.23C14.346,56.753,14.322,56.467,14.322,55.834Zm1.437,1.76V54.087a.238.238,0,0,1,.268-.229.235.235,0,0,1,.267.215v3.094h1.652V57.6H15.759Zm6.514,0V54.07a.235.235,0,0,1,.235-.215c.208.011.291.095.3.215v.319l0,3.207h-.539Zm1.437,0,.394-3.469a.333.333,0,0,1,.368-.265.37.37,0,0,1,.344.235L25.9,56.91l1.05-2.82a.363.363,0,0,1,.319-.23.341.341,0,0,1,.388.264l.411,3.471h-.525l-.329-3.023-1.126,3.023h-.442l-1.151-3.023-.3,3.023Zm11.285-.751-.009-2.6v-.157a.244.244,0,0,1,.486-.012v3.523h-.533l-1.875-2.978.011,2.978h-.488V54.12c0-.225.2-.26.331-.26.172.007.229.08.352.257Zm6.478.751V54.075a.276.276,0,0,1,.537-.011v3.1h1.652v.428Zm4.314,0V54.06a.276.276,0,0,1,.537.011v1.353h1.824V54.071a.276.276,0,0,1,.537-.007v3.53h-.537V55.85H46.323v1.744Zm10.885,0V54.068a.24.24,0,0,1,.268-.214.238.238,0,0,1,.268.211v3.529ZM.264,53.868H.879a2.434,2.434,0,0,1,1.829.475,1.948,1.948,0,0,1,0,2.748,2.432,2.432,0,0,1-1.835.5H0V54.141A.242.242,0,0,1,.264,53.868Zm2.468,1.827a1.386,1.386,0,0,0-.424-1.073c-.346-.325-.741-.352-1.429-.352H.533v2.917h.5a1.752,1.752,0,0,0,1.3-.38A1.512,1.512,0,0,0,2.731,55.695ZM4.07,54.13c-.007-.183.107-.263.272-.263h.613a1.7,1.7,0,0,1,1.266.3.972.972,0,0,1,.31.743.876.876,0,0,1-.245.643,1.07,1.07,0,0,1-.639.295.576.576,0,0,1,.34.152,1.671,1.671,0,0,1,.31.52L6.811,57.6H6.248l-.459-.971C5.513,56.048,5.382,56,4.844,56h-.25v1.6H4.067V54.13ZM6,54.907a.618.618,0,0,0-.175-.447,1.1,1.1,0,0,0-.819-.2H4.595V55.6H4.78A1.462,1.462,0,0,0,5.8,55.377.651.651,0,0,0,6,54.907ZM18.25,57.594l1.229-3.184.126-.3a.357.357,0,0,1,.359-.252.367.367,0,0,1,.384.252l.149.356,1.219,3.127h-.563l-.361-.976H19.15l-.363.976Zm2.391-1.386-.674-1.821L19.3,56.209Zm7.9,1.386,1.229-3.184.124-.3a.36.36,0,0,1,.36-.252.367.367,0,0,1,.384.252l.15.356L32,57.594h-.559l-.365-.976H29.44l-.363.976Zm2.39-1.386-.671-1.821-.67,1.821Zm6.546,1.386L38.7,54.411l.124-.3a.358.358,0,0,1,.359-.252.365.365,0,0,1,.383.252l.15.356,1.216,3.127h-.56l-.361-.976h-1.64l-.365.976Zm2.391-1.386-.674-1.821-.667,1.821Zm9.348,1.386,1.227-3.184.126-.3a.357.357,0,0,1,.359-.252.37.37,0,0,1,.386.252l.147.356,1.218,3.127h-.559l-.365-.976H50.115l-.364.976Zm2.392-1.386-.677-1.821-.666,1.821Zm1.663,1.386V54.225c0-.267.068-.371.264-.371h.833a1.447,1.447,0,0,1,1.066.287.93.93,0,0,1,.311.718.8.8,0,0,1-.637.819.81.81,0,0,1,.763.835.986.986,0,0,1-.3.735c-.383.359-.884.348-1.6.348h-.7Zm1.938-2.725a.562.562,0,0,0-.154-.414,1.282,1.282,0,0,0-.919-.2h-.346v1.256h.306a1.443,1.443,0,0,0,.928-.208A.532.532,0,0,0,55.207,54.869Zm.119,1.653a.559.559,0,0,0-.18-.419,1.493,1.493,0,0,0-1.031-.208h-.329v1.289h.442a1.211,1.211,0,0,0,.925-.235A.616.616,0,0,0,55.327,56.523Zm2.845-2.668h1.1a1.448,1.448,0,0,1,1.066.287.936.936,0,0,1,.313.718.8.8,0,0,1-.639.819.809.809,0,0,1,.762.835.99.99,0,0,1-.3.735c-.384.359-.882.348-1.6.348h-.7V53.854Zm1.938,1.015a.572.572,0,0,0-.153-.414,1.275,1.275,0,0,0-.917-.2h-.348v1.256H59a1.455,1.455,0,0,0,.932-.208A.534.534,0,0,0,60.11,54.869Zm.122,1.653a.554.554,0,0,0-.18-.419,1.493,1.493,0,0,0-1.031-.208h-.329v1.289h.442c.467,0,.71-.034.924-.235A.611.611,0,0,0,60.231,56.523ZM8.772,54.791c0-.589.5-1,1.223-1.011a2.309,2.309,0,0,1,.855.181c.193.074.114.429-.1.36-.183-.043-.164-.043-.36-.083a1.294,1.294,0,0,0-.287-.032c-.484,0-.8.2-.8.537,0,.354.352.467.746.656.352.169,1.133.442,1.133,1.179,0,.617-.482,1.093-1.306,1.093a2.019,2.019,0,0,1-1.223-.4l.258-.346a1.8,1.8,0,0,0,.942.319c.49,0,.775-.275.775-.617,0-.41-.506-.61-.936-.808C9.19,55.588,8.772,55.34,8.772,54.791Z" transform="translate(0 -46.505)" fill="#3d4543"/>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 16 KiB

@ -1,8 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48">
<g id="lakum_icon" transform="translate(-116 -118)">
<circle id="Ellipse_40" data-name="Ellipse 40" cx="24" cy="24" r="24" transform="translate(116 118)" fill="#5ab145"/>
<g id="lakum_icon-2" data-name="lakum_icon" transform="translate(128 130)">
<path id="Path_1290" data-name="Path 1290" d="M22.792,1.695H19.779q.016-.5.017-1.007A.688.688,0,0,0,19.108,0H4.372a.688.688,0,0,0-.688.688q0,.506.017,1.007H.688A.688.688,0,0,0,0,2.383a14.909,14.909,0,0,0,2.268,8.188A7.177,7.177,0,0,0,7.72,14.112a7.064,7.064,0,0,0,1.49,1.251V18.42H8.056a2.533,2.533,0,0,0-2.53,2.53V22.1H5.477a.688.688,0,0,0,0,1.376H18A.688.688,0,1,0,18,22.1h-.049V20.95a2.533,2.533,0,0,0-2.53-2.53H14.27V15.363a7.063,7.063,0,0,0,1.49-1.251,7.177,7.177,0,0,0,5.452-3.541A14.909,14.909,0,0,0,23.48,2.383.688.688,0,0,0,22.792,1.695ZM3.414,9.809A13.258,13.258,0,0,1,1.39,3.07H3.778a22.988,22.988,0,0,0,2.137,8.345q.275.55.574,1.04A6.634,6.634,0,0,1,3.414,9.809Zm16.653,0a6.634,6.634,0,0,1-3.075,2.647q.3-.49.574-1.04A22.992,22.992,0,0,0,19.7,3.07H22.09A13.258,13.258,0,0,1,20.066,9.809Zm0,0" fill="#fff"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

@ -1,32 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="22.944" height="22.944" viewBox="0 0 22.944 22.944">
<g id="medication_refill_icon" transform="translate(-293.302 -232.294)">
<g id="pills_1_" data-name="pills (1)" transform="translate(298.551 236.387)">
<g id="Group_915" data-name="Group 915" transform="translate(0 0)">
<g id="Group_914" data-name="Group 914" transform="translate(0 0)">
<path id="Path_1199" data-name="Path 1199" d="M14.048,1.856A2.493,2.493,0,0,0,11.638,0,2.514,2.514,0,0,0,9.465,1.249L7.888,3.981h0L6.31,6.713a2.5,2.5,0,0,0,4.212,2.694l.012-.019L13.8,3.752A2.48,2.48,0,0,0,14.048,1.856ZM10.109,9.129A2,2,0,0,1,6.742,6.963L8.195,4.446l.539.311h0l2.927,1.69ZM13.368,3.5,11.911,6.017,9.2,4.451l.7-1.207a.249.249,0,0,0-.432-.249L8.767,4.2l-.324-.187L9.9,1.5a2.014,2.014,0,0,1,1.742-1,2.005,2.005,0,0,1,1.729,3Z" transform="translate(-5.975 0)"/>
</g>
</g>
<g id="Group_917" data-name="Group 917" transform="translate(5.76 8.273)">
<g id="Group_916" data-name="Group 916">
<path id="Path_1200" data-name="Path 1200" d="M242.743,332.271a9.6,9.6,0,0,0-4.519,0c-.723.206-1.09.5-1.091.864h0v2.215c0,.368.366.66,1.089.866a9.636,9.636,0,0,0,4.522,0c.723-.206,1.089-.5,1.089-.866v-2.213a.008.008,0,0,0,0,0C243.834,332.769,243.467,332.477,242.743,332.271Zm-4.382.479a9.122,9.122,0,0,1,4.245,0c.6.172.729.356.729.386h0c0,.03-.129.215-.729.386a9.121,9.121,0,0,1-4.245,0c-.6-.172-.729-.357-.729-.386S237.759,332.922,238.362,332.75Zm4.974,2.6c0,.036-.13.216-.728.387a9.154,9.154,0,0,1-4.248,0c-.6-.171-.727-.351-.727-.387v-1.578a3.067,3.067,0,0,0,.592.228,9.6,9.6,0,0,0,4.519,0,3.067,3.067,0,0,0,.592-.228v.622a5.227,5.227,0,0,1-1.3.417.249.249,0,0,0,.1.489,6.075,6.075,0,0,0,1.206-.358Z" transform="translate(-237.134 -332.001)"/>
</g>
</g>
<g id="Group_919" data-name="Group 919" transform="translate(3.826 2.221)">
<g id="Group_918" data-name="Group 918" transform="translate(0)">
<path id="Path_1201" data-name="Path 1201" d="M159.9,89.178a.249.249,0,0,0-.34.091l0,.007a.249.249,0,1,0,.432.249l0-.007A.249.249,0,0,0,159.9,89.178Z" transform="translate(-159.52 -89.145)"/>
</g>
</g>
<g id="Group_921" data-name="Group 921" transform="translate(9.706 11.187)">
<g id="Group_920" data-name="Group 920">
<path id="Path_1202" data-name="Path 1202" d="M395.99,449.18a.249.249,0,0,0-.273-.223h-.006a.249.249,0,0,0,.023.5h.032A.249.249,0,0,0,395.99,449.18Z" transform="translate(-395.486 -448.956)"/>
</g>
</g>
</g>
<g id="reload" transform="translate(293.302 232.294)">
<path id="Path_1291" data-name="Path 1291" d="M.478,11.95A.478.478,0,0,1,0,11.472,11.485,11.485,0,0,1,11.472,0C16.037,0,19.8,2.724,22.364,7.877a.478.478,0,0,1-.855.426C19.843,4.951,16.75.956,11.472.956A10.528,10.528,0,0,0,.956,11.472a.478.478,0,0,1-.478.478Zm0,0"/>
<path id="Path_1292" data-name="Path 1292" d="M409.634,90.97H405.81a.478.478,0,1,1,0-.956h3.346V86.708a.478.478,0,0,1,.956,0v3.784A.478.478,0,0,1,409.634,90.97Zm0,0" transform="translate(-387.168 -82.366)"/>
<path id="Path_1293" data-name="Path 1293" d="M22.753,257.282c-4.565,0-8.332-2.724-10.893-7.877a.478.478,0,0,1,.855-.426c1.666,3.352,4.759,7.347,10.037,7.347A10.528,10.528,0,0,0,33.269,245.81a.478.478,0,1,1,.956,0A11.485,11.485,0,0,1,22.753,257.282Zm0,0" transform="translate(-11.281 -234.338)"/>
<path id="Path_1294" data-name="Path 1294" d="M.478,324.74A.478.478,0,0,1,0,324.262v-3.784A.478.478,0,0,1,.478,320H4.3a.478.478,0,1,1,0,.956H.956v3.306a.477.477,0,0,1-.478.478Zm0,0" transform="translate(0 -305.66)"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.6 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 15 KiB

@ -1,19 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24.306" height="17.222" viewBox="0 0 24.306 17.222">
<g id="my_family_icon" transform="translate(0 -74.611)">
<g id="Group_22" data-name="Group 22" transform="translate(20.766 84.267)">
<g id="Group_21" data-name="Group 21">
<path id="Path_42" data-name="Path 42" d="M438.273,278.2a.477.477,0,0,0-.755.582,3.575,3.575,0,0,1,.749,2.2.477.477,0,1,0,.953,0A4.52,4.52,0,0,0,438.273,278.2Z" transform="translate(-437.419 -278.017)"/>
</g>
</g>
<g id="Group_24" data-name="Group 24" transform="translate(0 74.611)">
<g id="Group_23" data-name="Group 23" transform="translate(0 0)">
<path id="Path_43" data-name="Path 43" d="M20.018,81.255a3.632,3.632,0,1,0-4.055,0,6.279,6.279,0,0,0-1.949,1.078,2.68,2.68,0,0,0-3.721,0,6.283,6.283,0,0,0-1.95-1.078,3.632,3.632,0,1,0-4.055,0A6.326,6.326,0,0,0,0,87.224s0,.008,0,.012c0,.732.416,1.812,2.4,2.8A18.256,18.256,0,0,0,8.006,91.57a32.792,32.792,0,0,0,8.295,0,18.254,18.254,0,0,0,5.609-1.532c1.981-.989,2.4-2.069,2.4-2.8A6.326,6.326,0,0,0,20.018,81.255Zm-4.706-3.012a2.679,2.679,0,1,1,2.679,2.678A2.682,2.682,0,0,1,15.312,78.243Zm-4.581,5.036a1.731,1.731,0,0,1,2.844,0h0a1.731,1.731,0,1,1-2.845,0ZM3.636,78.243a2.679,2.679,0,1,1,2.678,2.678A2.682,2.682,0,0,1,3.636,78.243ZM7.592,90.548a16.536,16.536,0,0,1-4.769-1.364c-1.2-.6-1.865-1.29-1.869-1.943,0,0,0,0,0-.006a5.361,5.361,0,0,1,8.779-4.131,2.683,2.683,0,0,0,.708,3.226A4.568,4.568,0,0,0,7.592,90.548Zm8.17.128a31.981,31.981,0,0,1-7.217,0v-.117a3.609,3.609,0,0,1,7.217,0Zm5.722-1.491a16.532,16.532,0,0,1-4.769,1.364,4.569,4.569,0,0,0-2.849-4.217,2.683,2.683,0,0,0,.708-3.226,5.362,5.362,0,0,1,8.779,4.131C23.353,87.891,22.689,88.583,21.484,89.185Z" transform="translate(0 -74.611)"/>
</g>
</g>
<g id="Group_26" data-name="Group 26" transform="translate(19.731 83.333)">
<g id="Group_25" data-name="Group 25" transform="translate(0 0)">
<path id="Path_44" data-name="Path 44" d="M416.091,258.344a.477.477,0,0,0,0,.953A.477.477,0,0,0,416.091,258.344Z" transform="translate(-415.63 -258.344)"/>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

@ -1,54 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="25.424" height="25.422" viewBox="0 0 25.424 25.422">
<g id="my_prescription_icon" transform="translate(0 -0.015)">
<g id="Group_932" data-name="Group 932" transform="translate(7.717 5.748)">
<g id="Group_931" data-name="Group 931">
<path id="Path_1207" data-name="Path 1207" d="M159.546,117.282h-1.319v-1.319a.5.5,0,1,0-.993,0v1.319h-1.319a.5.5,0,0,0,0,.993h1.319v1.319a.5.5,0,0,0,.993,0v-1.319h1.319a.5.5,0,0,0,0-.993Z" transform="translate(-155.418 -115.466)"/>
</g>
</g>
<g id="Group_934" data-name="Group 934" transform="translate(5.66 3.691)">
<g id="Group_933" data-name="Group 933">
<path id="Path_1208" data-name="Path 1208" d="M118.361,74.042a4.369,4.369,0,1,0,4.369,4.369A4.374,4.374,0,0,0,118.361,74.042Zm0,7.746a3.376,3.376,0,1,1,3.376-3.376A3.38,3.38,0,0,1,118.361,81.788Z" transform="translate(-113.992 -74.042)"/>
</g>
</g>
<g id="Group_936" data-name="Group 936" transform="translate(0 0.015)">
<g id="Group_935" data-name="Group 935" transform="translate(0 0)">
<path id="Path_1209" data-name="Path 1209" d="M19.914,4.58,15.5.16a.5.5,0,0,0-.351-.145H1.49A1.491,1.491,0,0,0,0,1.5V23.948a1.491,1.491,0,0,0,1.49,1.49h9.485a.5.5,0,1,0,0-.993H1.49a.5.5,0,0,1-.5-.5V1.5a.5.5,0,0,1,.5-.5H14.648v2.93a1.491,1.491,0,0,0,1.49,1.49h2.93v8.838a.5.5,0,1,0,.993,0V4.931A.5.5,0,0,0,19.914,4.58Zm-3.777-.145a.5.5,0,0,1-.5-.5V1.71l2.724,2.724H16.137Z" transform="translate(0 -0.015)"/>
</g>
</g>
<g id="Group_938" data-name="Group 938" transform="translate(7.266 13.918)">
<g id="Group_937" data-name="Group 937">
<path id="Path_1210" data-name="Path 1210" d="M155.444,280H146.82a.5.5,0,1,0,0,.993h8.623a.5.5,0,1,0,0-.993Z" transform="translate(-146.324 -279.998)"/>
</g>
</g>
<g id="Group_940" data-name="Group 940" transform="translate(3.178 13.918)">
<g id="Group_939" data-name="Group 939">
<path id="Path_1211" data-name="Path 1211" d="M66.11,280H64.493a.5.5,0,1,0,0,.993H66.11a.5.5,0,1,0,0-.993Z" transform="translate(-63.996 -279.998)"/>
</g>
</g>
<g id="Group_942" data-name="Group 942" transform="translate(7.266 16.698)">
<g id="Group_941" data-name="Group 941">
<path id="Path_1212" data-name="Path 1212" d="M151.769,335.994H146.82a.5.5,0,0,0,0,.993h4.949a.5.5,0,0,0,0-.993Z" transform="translate(-146.324 -335.994)"/>
</g>
</g>
<g id="Group_944" data-name="Group 944" transform="translate(3.178 16.698)">
<g id="Group_943" data-name="Group 943">
<path id="Path_1213" data-name="Path 1213" d="M66.11,335.994H64.493a.5.5,0,0,0,0,.993H66.11a.5.5,0,0,0,0-.993Z" transform="translate(-63.996 -335.994)"/>
</g>
</g>
<g id="Group_946" data-name="Group 946" transform="translate(7.266 19.479)">
<g id="Group_945" data-name="Group 945">
<path id="Path_1214" data-name="Path 1214" d="M147.168,392.136a.5.5,0,1,0,.146.351A.5.5,0,0,0,147.168,392.136Z" transform="translate(-146.32 -391.991)"/>
</g>
</g>
<g id="Group_948" data-name="Group 948" transform="translate(3.178 19.479)">
<g id="Group_947" data-name="Group 947">
<path id="Path_1215" data-name="Path 1215" d="M66.11,391.991H64.493a.5.5,0,0,0,0,.993H66.11a.5.5,0,0,0,0-.993Z" transform="translate(-63.996 -391.991)"/>
</g>
</g>
<g id="Group_950" data-name="Group 950" transform="translate(11.957 15.348)">
<g id="Group_949" data-name="Group 949">
<path id="Path_1216" data-name="Path 1216" d="M251.19,312.733a3.078,3.078,0,0,0-.429.031,3.078,3.078,0,0,0-5.125-3.061l-3.932,3.932a3.078,3.078,0,0,0,4.354,4.354l2.057-2.057a3.078,3.078,0,1,0,3.075-3.2Zm-5.835,4.553a2.085,2.085,0,0,1-2.949-2.949l1.615-1.615,2.949,2.949Zm2.317-2.317-2.949-2.949,1.615-1.615a2.085,2.085,0,0,1,2.949,2.949Zm3.021,2.868a2.085,2.085,0,0,1,0-4.05Zm.993,0v-4.051a2.085,2.085,0,0,1,0,4.051Z" transform="translate(-240.802 -308.801)"/>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.9 KiB

@ -1,8 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48">
<g id="orders_icon" transform="translate(-20 -118)">
<circle id="Ellipse_32" data-name="Ellipse 32" cx="24" cy="24" r="24" transform="translate(20 118)" fill="#5ab145"/>
<g id="orders_icon-2" data-name="orders_icon" transform="translate(12.463 127.957)">
<path id="Path_1289" data-name="Path 1289" d="M44.461,6.574a.731.731,0,0,0-.071-.312.682.682,0,0,0-.477-.377L31.925.071a.711.711,0,0,0-.618,0L19.2,5.939a.709.709,0,0,0-.4.612V21.306a.7.7,0,0,0,.4.636l12.107,5.868c.006,0,.006,0,.012.006a.209.209,0,0,1,.053.024c.006,0,.012.006.024.006l.053.018c.006,0,.012.006.018.006s.041.006.059.012h.018c.024,0,.053.006.077.006a.336.336,0,0,0,.077-.006h.018a.209.209,0,0,0,.059-.012c.006,0,.012-.006.018-.006l.053-.018c.006,0,.012-.006.024-.006a.209.209,0,0,0,.053-.024c.006,0,.006,0,.012-.006l12.142-5.886a.712.712,0,0,0,.4-.636V6.592C44.461,6.586,44.461,6.58,44.461,6.574ZM31.613,1.489l10.5,5.091L38.246,8.458l-10.5-5.091Zm0,10.182L21.113,6.58l5.015-2.431,10.5,5.091Zm-11.4-3.955L30.907,12.9V26.044L20.213,20.859ZM32.319,26.044V12.9l5.02-2.437V13.9a.706.706,0,1,0,1.413,0V9.776l4.3-2.083V20.835Z" fill="#fff"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

@ -1,10 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="23.347" height="27.209" viewBox="0 0 23.347 27.209">
<g id="our_locations_icon" transform="translate(-80 -16)">
<path id="Path_1310" data-name="Path 1310" d="M205.9,49.814h-1.36v-1.36a.453.453,0,0,0-.453-.453h-1.814a.453.453,0,0,0-.453.453v1.36h-1.36a.453.453,0,0,0-.453.453v1.814a.453.453,0,0,0,.453.453h1.36V53.9a.453.453,0,0,0,.453.453h1.814a.453.453,0,0,0,.453-.453v-1.36h1.36a.453.453,0,0,0,.453-.453V50.267A.453.453,0,0,0,205.9,49.814Zm-.453,1.814h-1.36a.453.453,0,0,0-.453.453v1.36h-.907v-1.36a.453.453,0,0,0-.454-.453h-1.36v-.907h1.36a.453.453,0,0,0,.454-.453v-1.36h.907v1.36a.453.453,0,0,0,.453.453h1.36Z" transform="translate(-111.501 -30.186)"/>
<path id="Path_1311" data-name="Path 1311" d="M82.122,43.209h19.1a.5.5,0,0,0,.531-.453V31.361a1.894,1.894,0,0,0,1.592-1.757V27.337a.418.418,0,0,0-.131-.3L99.5,23.411a.573.573,0,0,0-.4-.155H97.511v-6.8A.5.5,0,0,0,96.98,16H86.367a.5.5,0,0,0-.531.453v6.8H84.776a.58.58,0,0,0-.375.133l-4.245,3.628a.423.423,0,0,0-.155.321V29.6a1.894,1.894,0,0,0,1.592,1.757V42.756A.5.5,0,0,0,82.122,43.209Zm14.327-7.256V42.3H92.2V35.953Zm-10.612-.907v-.907H97.511v.907Zm5.306.907V42.3H86.9V35.953ZM97.511,42.3V35.953h.531a.5.5,0,0,0,.531-.453V33.686a.5.5,0,0,0-.531-.453H85.306a.5.5,0,0,0-.531.453V35.5a.5.5,0,0,0,.531.453h.531V42.3H82.653V31.361a2.207,2.207,0,0,0,1.061-.559,2.365,2.365,0,0,0,3.184,0,2.365,2.365,0,0,0,3.184,0,2.365,2.365,0,0,0,3.184,0,2.365,2.365,0,0,0,3.184,0,2.365,2.365,0,0,0,3.184,0,2.207,2.207,0,0,0,1.061.559V42.3ZM86.9,16.907h9.551V25.07H86.9ZM81.061,29.6v-2.08L85,24.163h.841v1.36a.5.5,0,0,0,.531.453H96.98a.5.5,0,0,0,.531-.453v-1.36h1.351l3.425,3.345v2.1a1.074,1.074,0,0,1-2.122,0V27.337H99.1V29.6a1.074,1.074,0,0,1-2.122,0V27.337H95.919V29.6a1.074,1.074,0,0,1-2.122,0V27.337H92.735V29.6a1.074,1.074,0,0,1-2.122,0V27.337H89.551V29.6a1.074,1.074,0,0,1-2.122,0V27.337H86.367V29.6a1.074,1.074,0,0,1-2.122,0V27.337H83.184V29.6a1.074,1.074,0,0,1-2.122,0Z" transform="translate(0)"/>
<path id="Path_1312" data-name="Path 1312" d="M0,0H.907V1.283H0Z" transform="translate(94.117 36.727) rotate(-45)"/>
<path id="Path_1313" data-name="Path 1313" d="M0,0H.907V2.565H0Z" transform="translate(92.607 38.087) rotate(-45)"/>
<path id="Path_1314" data-name="Path 1314" d="M0,0H.907V1.283H0Z" transform="translate(88.747 36.727) rotate(-45)"/>
<path id="Path_1315" data-name="Path 1315" d="M0,0H.907V2.565H0Z" transform="translate(87.193 38.087) rotate(-45)"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

@ -1,49 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="23.228" height="27.884" viewBox="0 0 23.228 27.884">
<g id="pill_reminder_icon" transform="translate(-42.75 0)">
<g id="Group_1018" data-name="Group 1018" transform="translate(50.924 25.133)">
<g id="Group_1017" data-name="Group 1017">
<path id="Path_1295" data-name="Path 1295" d="M193.475,461.478h-.234a.408.408,0,1,0,0,.817h.234a.408.408,0,1,0,0-.817Z" transform="translate(-192.833 -461.478)"/>
</g>
</g>
<g id="Group_1020" data-name="Group 1020" transform="translate(42.75 2.982)">
<g id="Group_1019" data-name="Group 1019" transform="translate(0)">
<path id="Path_1296" data-name="Path 1296" d="M59.74,63.609a.408.408,0,0,0-.408.408V74.961H48.042a.408.408,0,0,0,0,.817H59.306A3.465,3.465,0,0,1,55.87,78.83H47.028a3.465,3.465,0,0,1-3.436-3.052h2.784a.408.408,0,0,0,0-.817H43.567V59.43H55.241a.408.408,0,1,0,0-.817H43.592a3.465,3.465,0,0,1,3.436-3.052h6.2a.408.408,0,1,0,0-.817h-6.2a4.283,4.283,0,0,0-4.278,4.278V75.369a4.283,4.283,0,0,0,4.278,4.278H55.87a4.283,4.283,0,0,0,4.278-4.278V64.017A.408.408,0,0,0,59.74,63.609Z" transform="translate(-42.75 -54.744)"/>
</g>
</g>
<g id="Group_1022" data-name="Group 1022" transform="translate(49.376 4.916)">
<g id="Group_1021" data-name="Group 1021">
<path id="Path_1297" data-name="Path 1297" d="M168.145,90.267h-3.33a.408.408,0,1,0,0,.817h3.33a.408.408,0,1,0,0-.817Z" transform="translate(-164.407 -90.267)"/>
</g>
</g>
<g id="Group_1024" data-name="Group 1024" transform="translate(62.435 0.912)">
<g id="Group_1023" data-name="Group 1023" transform="translate(0)">
<path id="Path_1298" data-name="Path 1298" d="M404.863,16.826a.408.408,0,0,0-.51.638,3.266,3.266,0,0,1,1.233,2.562v.035a.408.408,0,1,0,.817,0v-.035A4.079,4.079,0,0,0,404.863,16.826Z" transform="translate(-404.199 -16.737)"/>
</g>
</g>
<g id="Group_1026" data-name="Group 1026" transform="translate(63.27 0)">
<g id="Group_1025" data-name="Group 1025" transform="translate(0 0)">
<path id="Path_1299" data-name="Path 1299" d="M420.181.084a.408.408,0,0,0-.493.652A4.314,4.314,0,0,1,421.417,4.2v.367a.408.408,0,0,0,.817,0V4.2A5.124,5.124,0,0,0,420.181.084Z" transform="translate(-419.526 -0.001)"/>
</g>
</g>
<g id="Group_1028" data-name="Group 1028" transform="translate(55.761 0.912)">
<g id="Group_1027" data-name="Group 1027" transform="translate(0)">
<path id="Path_1300" data-name="Path 1300" d="M283.771,16.889a.409.409,0,0,0-.574-.064,4.079,4.079,0,0,0-1.54,3.2v.035a.408.408,0,1,0,.817,0v-.035a3.267,3.267,0,0,1,1.233-2.562A.409.409,0,0,0,283.771,16.889Z" transform="translate(-281.657 -16.736)"/>
</g>
</g>
<g id="Group_1030" data-name="Group 1030" transform="translate(54.422 0)">
<g id="Group_1029" data-name="Group 1029" transform="translate(0 0)">
<path id="Path_1301" data-name="Path 1301" d="M259.693.162a.409.409,0,0,0-.572-.079A5.124,5.124,0,0,0,257.068,4.2v.367a.408.408,0,1,0,.817,0V4.2A4.314,4.314,0,0,1,259.614.734.408.408,0,0,0,259.693.162Z" transform="translate(-257.068 0)"/>
</g>
</g>
<g id="Group_1032" data-name="Group 1032" transform="translate(55.815 0.359)">
<g id="Group_1031" data-name="Group 1031">
<path id="Path_1302" data-name="Path 1302" d="M290.6,13.973a.532.532,0,0,1-.532-.532V10.466a3.074,3.074,0,0,0-2.631-3.044V7a.408.408,0,1,0-.817,0V7.42a3.039,3.039,0,0,0-2.631,3.012v3.009a.532.532,0,0,1-.532.532.815.815,0,0,0-.814.814v.449a.815.815,0,0,0,.814.814h2.07a1.658,1.658,0,0,0,3.214,0H290.6a.815.815,0,0,0,.814-.814v-.449A.815.815,0,0,0,290.6,13.973Zm-3.465,2.509a.842.842,0,0,1-.735-.433h1.47A.842.842,0,0,1,287.14,16.482Zm1.269-1.249H285.89l-.041,0h-2.383l0-.446a1.35,1.35,0,0,0,1.349-1.349V10.432a2.222,2.222,0,0,1,2.221-2.222h.027a2.247,2.247,0,0,1,2.2,2.256v2.975a1.344,1.344,0,0,0,1.339,1.345h.006l0,.446Z" transform="translate(-282.649 -6.59)"/>
</g>
</g>
<g id="Group_1034" data-name="Group 1034" transform="translate(47.279 11.263)">
<g id="Group_1033" data-name="Group 1033">
<path id="Path_1303" data-name="Path 1303" d="M133.839,214.324h-.465l.029-.027a2.883,2.883,0,0,0,0-4.077l-2.575-2.575a2.883,2.883,0,1,0-4.077,4.077l1.287,1.287,1.287,1.287.029.027h-3.039a.408.408,0,1,0,0,.817h7.523a.408.408,0,1,0,0-.817Zm-6.51-3.18a2.066,2.066,0,1,1,2.922-2.922l1,1-2.922,2.922Zm4.035,3.179a2.052,2.052,0,0,1-1.461-.605l-1-1,2.922-2.922,1,1q.037.037.071.075a2.066,2.066,0,0,1-1.532,3.452Z" transform="translate(-125.907 -206.8)"/>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.5 KiB

@ -1,8 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="17.332" height="14.475" viewBox="0 0 17.332 14.475">
<g id="quote_end" transform="translate(0 0)">
<g id="Group_1206" data-name="Group 1206" transform="translate(0 0)">
<path id="Path_1369" data-name="Path 1369" d="M2.945,14.418a4.592,4.592,0,0,1,1.269-.185,3.988,3.988,0,0,1,1.591.326c-.4-1.464-1.361-3.991-3.275-4.275a.455.455,0,0,1-.371-.327l-.418-1.5a.455.455,0,0,1,.376-.573,3.177,3.177,0,0,1,.428-.029c2.3,0,4.573,2.4,5.533,5.832.564,2.014.729,5.043-.659,6.949A4.145,4.145,0,0,1,4.05,22.332H4.032a4.032,4.032,0,0,1-1.087-7.915Z" transform="translate(8.84 -7.858)" fill="#ccc"/>
<path id="Path_1370" data-name="Path 1370" d="M49.146,16.322a4.042,4.042,0,0,1,2.424-1.9,4.592,4.592,0,0,1,1.269-.185,3.989,3.989,0,0,1,1.591.326c-.4-1.464-1.361-3.991-3.275-4.275a.455.455,0,0,1-.371-.327l-.418-1.5a.455.455,0,0,1,.376-.573,3.173,3.173,0,0,1,.428-.029c2.3,0,4.573,2.4,5.533,5.832.563,2.014.729,5.043-.66,6.95a4.144,4.144,0,0,1-3.369,1.693h-.018a4.032,4.032,0,0,1-3.511-6.011Z" transform="translate(-48.626 -7.858)" fill="#ccc"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

@ -1,8 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="17.332" height="14.475" viewBox="0 0 17.332 14.475">
<g id="quote_start" transform="translate(0 -7.858)">
<g id="Group_1206" data-name="Group 1206" transform="translate(0 7.858)">
<path id="Path_1369" data-name="Path 1369" d="M5.548,14.418a4.592,4.592,0,0,0-1.269-.185,3.988,3.988,0,0,0-1.591.326c.4-1.464,1.361-3.991,3.275-4.275a.455.455,0,0,0,.371-.327l.418-1.5a.455.455,0,0,0-.376-.573,3.177,3.177,0,0,0-.428-.029c-2.3,0-4.573,2.4-5.533,5.832-.564,2.014-.729,5.043.659,6.949a4.145,4.145,0,0,0,3.369,1.693h.018a4.032,4.032,0,0,0,1.087-7.915Z" transform="translate(0 -7.858)" fill="#ccc"/>
<path id="Path_1370" data-name="Path 1370" d="M56.6,16.322a4.042,4.042,0,0,0-2.424-1.9,4.592,4.592,0,0,0-1.269-.185,3.989,3.989,0,0,0-1.591.326c.4-1.464,1.361-3.991,3.275-4.275a.455.455,0,0,0,.371-.327l.418-1.5A.455.455,0,0,0,55,7.887a3.173,3.173,0,0,0-.428-.029c-2.3,0-4.573,2.4-5.533,5.832-.563,2.014-.729,5.043.66,6.95a4.144,4.144,0,0,0,3.369,1.693h.018A4.032,4.032,0,0,0,56.6,16.322Z" transform="translate(-39.786 -7.858)" fill="#ccc"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

@ -1,6 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48">
<g id="review_icon" transform="translate(-307 -118)">
<circle id="Ellipse_42" data-name="Ellipse 42" cx="24" cy="24" r="24" transform="translate(307 118)" fill="#5ab145"/>
<path id="review_icon-2" data-name="review_icon" d="M12.244.739,9.29,6.24l-6.609.885a1.3,1.3,0,0,0-.8,2.268l4.782,4.279L5.531,19.717a1.425,1.425,0,0,0,2.1,1.4l5.913-2.854,5.913,2.854a1.426,1.426,0,0,0,2.1-1.4l-1.131-6.045,4.782-4.279a1.3,1.3,0,0,0-.8-2.268L17.8,6.24,14.841.739A1.509,1.509,0,0,0,12.244.739Z" transform="translate(317.857 131.29)" fill="none" stroke="#fff" stroke-width="2"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 672 B

@ -1,6 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="20.174" height="24.435" viewBox="0 0 20.174 24.435">
<g id="shipping_addresses_icon" transform="translate(-4 -1)">
<path id="Path_1304" data-name="Path 1304" d="M23.674,11.087c0,7.457-9.587,13.848-9.587,13.848S4.5,18.544,4.5,11.087a9.587,9.587,0,1,1,19.174,0Z" transform="translate(0 0)" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<path id="Path_1305" data-name="Path 1305" d="M19.891,13.7a3.2,3.2,0,1,1-3.2-3.2,3.2,3.2,0,0,1,3.2,3.2Z" transform="translate(-2.609 -2.609)" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 685 B

@ -1,16 +0,0 @@
<svg id="shipping_mark_icon" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18">
<g id="Group_1132" data-name="Group 1132" transform="translate(0 11.716)">
<g id="Group_1130" data-name="Group 1130" transform="translate(0 0.839)">
<path id="Path_1340" data-name="Path 1340" d="M9,362.56a19.9,19.9,0,0,1-6.161-.871C.493,360.892,0,359.87,0,359.154a2.508,2.508,0,0,1,1.535-1.974.527.527,0,0,1,.508.924c-.628.345-.988.728-.988,1.05,0,.394.558,1,2.124,1.536A18.83,18.83,0,0,0,9,361.505a18.83,18.83,0,0,0,5.821-.815c1.566-.532,2.124-1.142,2.124-1.536,0-.322-.36-.7-.988-1.05a.527.527,0,1,1,.508-.924A2.508,2.508,0,0,1,18,359.154c0,.716-.493,1.737-2.839,2.535A19.9,19.9,0,0,1,9,362.56Z" transform="translate(0 -357.115)" fill="#c9dff7"/>
<path id="Path_1341" data-name="Path 1341" d="M263.461,357.181a.527.527,0,0,0-.508.924c.628.345.988.728.988,1.05,0,.394-.558,1-2.124,1.536a18.831,18.831,0,0,1-5.821.815h0v1.055h0a19.9,19.9,0,0,0,6.161-.871c2.347-.8,2.839-1.819,2.839-2.535A2.508,2.508,0,0,0,263.461,357.181Z" transform="translate(-246.996 -357.116)" fill="#aecef2"/>
</g>
<g id="Group_1131" data-name="Group 1131" transform="translate(3.045)">
<path id="Path_1342" data-name="Path 1342" d="M92.565,337.362a15.281,15.281,0,0,1-3.981-.469c-1.31-.37-1.974-.906-1.974-1.592s.664-1.222,1.974-1.592a17.135,17.135,0,0,1,7.963,0c1.31.37,1.974.906,1.974,1.592s-.664,1.222-1.974,1.592A15.284,15.284,0,0,1,92.565,337.362ZM87.674,335.3a2.692,2.692,0,0,0,1.388.628,16.425,16.425,0,0,0,7.006,0,2.693,2.693,0,0,0,1.388-.628,2.693,2.693,0,0,0-1.388-.628,16.429,16.429,0,0,0-7.006,0A2.693,2.693,0,0,0,87.674,335.3Zm9.8.022h0Z" transform="translate(-86.61 -333.241)" fill="#c9dff7"/>
<path id="Path_1343" data-name="Path 1343" d="M259.978,333.709A15.281,15.281,0,0,0,256,333.24h0v1.055h0a14.8,14.8,0,0,1,3.5.378,2.693,2.693,0,0,1,1.388.628,2.693,2.693,0,0,1-1.388.628,14.8,14.8,0,0,1-3.5.378h0v1.055h0a15.28,15.28,0,0,0,3.981-.469c1.31-.37,1.974-.906,1.974-1.592S261.287,334.079,259.978,333.709Z" transform="translate(-250.041 -333.24)" fill="#aecef2"/>
</g>
</g>
<g id="Group_1133" data-name="Group 1133" transform="translate(4.098)">
<path id="Path_1344" data-name="Path 1344" d="M121.462,0a4.908,4.908,0,0,0-4.9,4.9c0,1.684,2.046,5.384,3.761,8.191a1.337,1.337,0,0,0,2.282,0c1.716-2.807,3.761-6.508,3.761-8.191A4.908,4.908,0,0,0,121.462,0Zm0,6.536a1.97,1.97,0,1,1,1.97-1.97A1.973,1.973,0,0,1,121.462,6.536Z" transform="translate(-116.56)" fill="#5ab145"/>
<path id="Path_1345" data-name="Path 1345" d="M256,0h0V2.6h0a1.97,1.97,0,1,1,0,3.941h0v7.2h0a1.328,1.328,0,0,0,1.141-.64c1.716-2.807,3.761-6.508,3.761-8.191A4.908,4.908,0,0,0,256,0Z" transform="translate(-251.094 0)" fill="#3f9d28"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.7 KiB

@ -1,34 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="23.894" height="17.733" viewBox="0 0 23.894 17.733">
<g id="shipping_truck_icon" transform="translate(0 -66.008)">
<g id="Group_1177" data-name="Group 1177" transform="translate(4.667 68.808)">
<g id="Group_1176" data-name="Group 1176" transform="translate(0 0)">
<path id="Path_1362" data-name="Path 1362" d="M100.462,126.006a.467.467,0,1,0,.467.467A.467.467,0,0,0,100.462,126.006Z" transform="translate(-99.995 -126.006)"/>
</g>
</g>
<g id="Group_1179" data-name="Group 1179" transform="translate(0 66.008)">
<g id="Group_1178" data-name="Group 1178">
<path id="Path_1363" data-name="Path 1363" d="M21.977,72.8,21.3,71.449a1.392,1.392,0,0,0-1.252-.774h-3.9V67.408a1.4,1.4,0,0,0-1.4-1.4H1.4a1.4,1.4,0,0,0-1.4,1.4V79.541a1.4,1.4,0,0,0,1.4,1.4H2.8a2.789,2.789,0,0,0,.715,1.867H.467a.467.467,0,1,0,0,.933h22.96a.467.467,0,1,0,0-.933H22.245a2.788,2.788,0,0,0,.715-1.867c0-.027,0-.053,0-.08a1.4,1.4,0,0,0,.935-1.32v-2.58C23.893,76.417,24,76.925,21.977,72.8Zm-.706.675,1.4,2.8H18.013v-2.8ZM.933,77.208h.933v.933H.933Zm4.667,5.6a1.869,1.869,0,0,1-1.867-1.867,1.842,1.842,0,0,1,.038-.374,1.867,1.867,0,0,1,3.658,0v0a1.835,1.835,0,0,1,.037.372A1.869,1.869,0,0,1,5.6,82.808Zm0-4.667a2.81,2.81,0,0,0-2.64,1.867H1.4a.467.467,0,0,1-.467-.467v-.467h1.4a.467.467,0,0,0,.467-.467V76.741a.467.467,0,0,0-.467-.467H.933V67.408a.467.467,0,0,1,.467-.467H14.747a.467.467,0,0,1,.467.467v12.6H8.24A2.81,2.81,0,0,0,5.6,78.141Zm2.085,4.667A2.788,2.788,0,0,0,8.4,80.941h8.96a2.789,2.789,0,0,0,.715,1.867H7.685Zm12.475,0a1.869,1.869,0,0,1-1.867-1.867,1.842,1.842,0,0,1,.038-.374,1.867,1.867,0,0,1,3.658,0v0a1.835,1.835,0,0,1,.037.372A1.869,1.869,0,0,1,20.16,82.808Zm2.8-3.267a.466.466,0,0,1-.193.377,2.8,2.8,0,0,0-5.247.089H16.147v-8.4h3.9a.464.464,0,0,1,.417.258l.338.675H17.547a.467.467,0,0,0-.467.467v3.733a.467.467,0,0,0,.467.467H22.96Z" transform="translate(0 -66.008)"/>
</g>
</g>
<g id="Group_1181" data-name="Group 1181" transform="translate(6.533 68.808)">
<g id="Group_1180" data-name="Group 1180" transform="translate(0 0)">
<path id="Path_1364" data-name="Path 1364" d="M146.341,126.006h-5.88a.467.467,0,0,0,0,.933h5.88a.467.467,0,1,0,0-.933Z" transform="translate(-139.994 -126.006)"/>
</g>
</g>
<g id="Group_1183" data-name="Group 1183" transform="translate(8.4 70.675)">
<g id="Group_1182" data-name="Group 1182" transform="translate(0 0)">
<path id="Path_1365" data-name="Path 1365" d="M184.472,166h-4.013a.467.467,0,0,0,0,.933h4.013a.467.467,0,0,0,0-.933Z" transform="translate(-179.992 -166.004)"/>
</g>
</g>
<g id="Group_1185" data-name="Group 1185" transform="translate(19.227 80.008)">
<g id="Group_1184" data-name="Group 1184">
<path id="Path_1366" data-name="Path 1366" d="M412.916,366a.933.933,0,1,0,.933.933A.934.934,0,0,0,412.916,366Z" transform="translate(-411.983 -365.996)"/>
</g>
</g>
<g id="Group_1187" data-name="Group 1187" transform="translate(4.667 80.008)">
<g id="Group_1186" data-name="Group 1186">
<path id="Path_1367" data-name="Path 1367" d="M100.929,366a.933.933,0,1,0,.933.933A.934.934,0,0,0,100.929,366Z" transform="translate(-99.996 -365.996)"/>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.2 KiB

@ -1,6 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25">
<g id="success_check_icon" transform="translate(-23 -242)">
<circle id="Ellipse_49" data-name="Ellipse 49" cx="12.5" cy="12.5" r="12.5" transform="translate(23 242)" fill="#5ab145"/>
<path id="check_1_" data-name="check (1)" d="M5.287,10.921a.7.7,0,0,1-1,0L.31,6.94a1.057,1.057,0,0,1,0-1.5l.5-.5a1.057,1.057,0,0,1,1.5,0L4.789,7.432,11.5.716a1.057,1.057,0,0,1,1.5,0l.5.5a1.057,1.057,0,0,1,0,1.5Zm0,0" transform="translate(28.658 248.714)" fill="#fff"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 560 B

@ -1,24 +0,0 @@
<svg id="success_review_icon" xmlns="http://www.w3.org/2000/svg" width="99.663" height="114.999" viewBox="0 0 99.663 114.999">
<g id="_011---Approved-Cleaning" data-name="011---Approved-Cleaning" transform="translate(0 0)">
<path id="Rectangle-path" d="M3,0H18a3,3,0,0,1,3,3V47a3,3,0,0,1-3,3H3a3,3,0,0,1-3-3V3A3,3,0,0,1,3,0Z" transform="translate(1.832 63.499)" fill="#e8ab22"/>
<path id="Shape" d="M11.75,33H6a5.75,5.75,0,0,1,5.75,5.75V77.082A5.75,5.75,0,0,1,6,82.832h5.75a5.75,5.75,0,0,0,5.75-5.75V38.75A5.75,5.75,0,0,0,11.75,33Z" transform="translate(5.5 30.248)" fill="#c68d0e"/>
<path id="Shape-2" data-name="Shape" d="M75.248,73.933H71.415a5.75,5.75,0,0,1,0,11.5H67.581a5.75,5.75,0,1,1,0,11.5h-34.5A23.054,23.054,0,0,1,24.5,95.418c-1.878-.747-3.527-1.955-5.347-2.837a14.34,14.34,0,0,0-6.191-1.4H12V52.85a20.379,20.379,0,0,0,11-3.239C29.92,45.2,40.4,37.192,38.142,27c-.767-3.431-1.054-6.785,2.607-8.644,4.063-2.07,7.954.556,9.851,3.872,6.382,11.174-4.772,28.711-4.772,28.711h27.5a5.75,5.75,0,0,1,0,11.5h1.917a5.75,5.75,0,1,1,0,11.5Z" transform="translate(10.999 16.147)" fill="#ffe0b2"/>
<path id="Shape-3" data-name="Shape" d="M55.479,56.313A5.75,5.75,0,0,0,51.416,46.5H49.5a5.75,5.75,0,0,0,0-11.5H43.75a5.75,5.75,0,0,1,0,11.5h1.917a5.75,5.75,0,1,1,0,11.5H41.833a5.75,5.75,0,1,1,0,11.5H38A5.75,5.75,0,0,1,38,81h5.75a5.75,5.75,0,0,0,0-11.5h3.833a5.75,5.75,0,1,0,0-11.5h3.833A5.736,5.736,0,0,0,55.479,56.313Z" transform="translate(34.831 32.081)" fill="#dfc49c"/>
<path id="Shape-4" data-name="Shape" d="M31.065,22.221c4.259,7.456.709,17.746-2.126,23.766a3.45,3.45,0,0,0,3.1,4.945S43.2,33.394,36.815,22.221c-1.884-3.295-5.736-5.9-9.775-3.906A9.744,9.744,0,0,1,31.065,22.221Z" transform="translate(24.785 16.15)" fill="#dfc49c"/>
<path id="Shape-5" data-name="Shape" d="M64.535,20.166C47.267,20.166,47.267,1,47.267,1s0,19.166-17.267,19.166c17.267,0,17.267,19.166,17.267,19.166s0-19.166,17.269-19.166Z" transform="translate(27.498 0.917)" fill="#ffdc00"/>
<path id="Shape-6" data-name="Shape" d="M29,26.416C17.5,26.416,17.5,13,17.5,13S17.5,26.416,6,26.416c11.5,0,11.5,13.416,11.5,13.416S17.5,26.416,29,26.416Z" transform="translate(5.5 11.916)" fill="#ffdc00"/>
<g id="Group_1203" data-name="Group 1203">
<path id="Shape-7" data-name="Shape" d="M93.913,69.11a7.641,7.641,0,0,0-3.768-6.564A7.576,7.576,0,0,0,92,57.61a7.666,7.666,0,0,0-7.666-7.666H60.12c3-5.708,8.445-18.466,3.143-27.747-2.333-4.077-7.206-7.266-12.383-4.629-5.4,2.745-4.192,8.167-3.609,10.769,1.485,6.677-3.323,13.608-14.294,20.584a18.591,18.591,0,0,1-8.37,2.821,7.653,7.653,0,0,0-7.358-5.633H7.666A7.666,7.666,0,0,0,0,53.777V92.109a7.666,7.666,0,0,0,7.666,7.666h9.583a7.666,7.666,0,0,0,7.383-5.711,12.521,12.521,0,0,1,4.7,1.184c.74.351,1.447.767,2.156,1.177a26.389,26.389,0,0,0,3.3,1.706,25.063,25.063,0,0,0,9.3,1.644h34.5a7.666,7.666,0,0,0,6.352-11.954,7.632,7.632,0,0,0,3.833-11.5,7.588,7.588,0,0,0,5.148-7.212ZM17.249,95.942H7.666a3.833,3.833,0,0,1-3.833-3.833V53.777a3.833,3.833,0,0,1,3.833-3.833h9.583a3.833,3.833,0,0,1,3.833,3.833V92.109A3.833,3.833,0,0,1,17.249,95.942ZM88.955,71.818a3.8,3.8,0,0,1-2.708,1.125H72.831a1.917,1.917,0,1,0,0,3.833h9.583a3.833,3.833,0,0,1,0,7.666H72.831a1.917,1.917,0,1,0,0,3.833h5.75a3.833,3.833,0,0,1,0,7.666h-34.5a21.18,21.18,0,0,1-7.858-1.365,22.94,22.94,0,0,1-2.815-1.468c-.8-.464-1.6-.924-2.428-1.321a16.389,16.389,0,0,0-6.064-1.533V55.6a22.463,22.463,0,0,0,10.118-3.45C47.511,44.211,52.887,35.918,51.012,27.5c-.866-3.877-.477-5.46,1.606-6.516,3.381-1.725,6.193,1.15,7.318,3.114,5.729,10.031-4.621,26.566-4.726,26.733a1.917,1.917,0,0,0,1.618,2.95h27.5a3.833,3.833,0,1,1,0,7.666h-11.5a1.917,1.917,0,1,0,0,3.833H86.247a3.833,3.833,0,0,1,2.708,6.541Z" transform="translate(0 15.221)"/>
<path id="Shape-8" data-name="Shape" d="M48.183,0a1.917,1.917,0,0,0-1.917,1.861v.056c0,.705-.174,17.249-15.35,17.249a1.917,1.917,0,0,0,0,3.833c15.116,0,15.348,16.548,15.35,17.249A1.917,1.917,0,1,0,50.1,40.3v-.052C50.1,39.543,50.274,23,65.452,23a1.917,1.917,0,1,0,0-3.833C50.334,19.166,50.1,2.618,50.1,1.917A1.917,1.917,0,0,0,48.183,0Zm8.531,21.083a18.208,18.208,0,0,0-8.531,9.652,18.2,18.2,0,0,0-8.531-9.652,18.2,18.2,0,0,0,8.531-9.652A18.208,18.208,0,0,0,56.714,21.083Z" transform="translate(26.581 0)"/>
<path id="Shape-9" data-name="Shape" d="M20.333,13.919v-.011a1.917,1.917,0,0,0-3.833.012c0,.47-.161,11.5-9.583,11.5a1.917,1.917,0,1,0,0,3.833c9.422,0,9.583,11.034,9.583,11.5v.012a1.917,1.917,0,1,0,3.833-.012c0-.47.161-11.5,9.583-11.5a1.917,1.917,0,1,0,0-3.833C20.494,25.419,20.333,14.385,20.333,13.919Zm2.576,13.416a12.881,12.881,0,0,0-4.493,5.2,12.881,12.881,0,0,0-4.493-5.2,12.87,12.87,0,0,0,4.493-5.2A12.87,12.87,0,0,0,22.909,27.336Z" transform="translate(4.583 10.996)"/>
<path id="Shape-10" data-name="Shape" d="M49.833,22.917a1.917,1.917,0,1,0-3.833,0V26.75a1.917,1.917,0,1,0,3.833,0Z" transform="translate(42.164 19.249)"/>
<path id="Shape-11" data-name="Shape" d="M47.917,34.666a1.917,1.917,0,0,0,1.917-1.917V28.917a1.917,1.917,0,1,0-3.833,0V32.75A1.917,1.917,0,0,0,47.917,34.666Z" transform="translate(42.164 24.748)"/>
<path id="Shape-12" data-name="Shape" d="M53.75,28.833a1.917,1.917,0,1,0,0-3.833H49.917a1.917,1.917,0,0,0,0,3.833Z" transform="translate(43.997 22.915)"/>
<path id="Shape-13" data-name="Shape" d="M47.75,25H43.917a1.917,1.917,0,1,0,0,3.833H47.75a1.917,1.917,0,1,0,0-3.833Z" transform="translate(38.497 22.915)"/>
<path id="Shape-14" data-name="Shape" d="M22.073,10.783l2.875,2.875a1.917,1.917,0,0,0,2.71-2.71L24.783,8.073a1.917,1.917,0,1,0-2.71,2.71Z" transform="translate(19.696 6.863)"/>
<path id="Shape-15" data-name="Shape" d="M20.425,9.135a1.917,1.917,0,0,0,2.71-2.71L20.26,3.55a1.917,1.917,0,0,0-2.71,2.71Z" transform="translate(15.593 2.761)"/>
<path id="Shape-16" data-name="Shape" d="M17.561,13.658a1.917,1.917,0,0,0,2.71,0l2.875-2.875a1.917,1.917,0,1,0-2.71-2.71l-2.875,2.875a1.917,1.917,0,0,0,0,2.71Z" transform="translate(15.582 6.863)"/>
<path id="Shape-17" data-name="Shape" d="M23.416,9.719a1.917,1.917,0,0,0,1.355-.562l2.875-2.875a1.917,1.917,0,1,0-2.71-2.71L22.061,6.448a1.917,1.917,0,0,0,1.355,3.272Z" transform="translate(19.707 2.739)"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 6.1 KiB

@ -1,3 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48">
<path id="user_icon" d="M24,.563a24,24,0,1,0,24,24A24,24,0,0,0,24,.563Zm0,9.29a8.516,8.516,0,1,1-8.516,8.516A8.516,8.516,0,0,1,24,9.853Zm0,33.29a18.545,18.545,0,0,1-14.177-6.6,10.79,10.79,0,0,1,9.532-5.787,2.368,2.368,0,0,1,.687.106A12.813,12.813,0,0,0,24,31.53a12.764,12.764,0,0,0,3.958-.668,2.368,2.368,0,0,1,.687-.106,10.79,10.79,0,0,1,9.532,5.787A18.545,18.545,0,0,1,24,43.143Z" transform="translate(0 -0.563)" fill="#ccc"/>
</svg>

Before

Width:  |  Height:  |  Size: 522 B

@ -1,3 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="26.04" height="24.537" viewBox="0 0 26.04 24.537">
<path id="wishklist_icon" d="M20.8,4.5a7.111,7.111,0,0,0-5.409,2.537A7.111,7.111,0,0,0,9.986,4.5a6.536,6.536,0,0,0-6.611,6.651c0,4.594,4.086,8.281,10.275,13.967l1.745,1.572,1.745-1.572c6.189-5.686,10.275-9.373,10.275-13.967A6.536,6.536,0,0,0,20.8,4.5Z" transform="translate(-2.375 -3.5)" fill="none" stroke="#fff" stroke-width="2"/>
</svg>

Before

Width:  |  Height:  |  Size: 440 B

@ -1,6 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48">
<g id="wishlist_icon" transform="translate(-212 -118)">
<circle id="Ellipse_41" data-name="Ellipse 41" cx="24" cy="24" r="24" transform="translate(212 118)" fill="#5ab145"/>
<path id="wishklist_icon" d="M20.8,4.5a7.111,7.111,0,0,0-5.409,2.537A7.111,7.111,0,0,0,9.986,4.5a6.536,6.536,0,0,0-6.611,6.651c0,4.594,4.086,8.281,10.275,13.967l1.745,1.572,1.745-1.572c6.189-5.686,10.275-9.373,10.275-13.967A6.536,6.536,0,0,0,20.8,4.5Z" transform="translate(220.605 126.789)" fill="none" stroke="#fff" stroke-width="2"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 619 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 383 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 782 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 737 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 387 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 534 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 648 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

@ -6,9 +6,8 @@ import 'package:diplomaticquarterapp/widgets/mobile-no/mobile_no.dart';
const MAX_SMALL_SCREEN = 660;
const PHARMACY_BASE_URL = 'https://uat.hmgwebservices.com/epharmacy/api/';
const BASE_URL = 'https://uat.hmgwebservices.com/';
const BASE_URL = 'https://uat.hmgwebservices.com/';
// const BASE_URL = 'https://hmgwebservices.com/';
const GET_PROJECT = 'Services/Lists.svc/REST/GetProject';
@ -84,8 +83,7 @@ const GET_BABYINFORMATION_REQUEST =
const GET_BABY_BY_USER_ID = 'Services/Community.svc/REST/GetBabyByUserID';
///userInformation
const GET_USERINFORMATION_REQUEST =
'Services/Community.svc/REST/GetUserInformation_New';
const GET_USERINFORMATION_REQUEST = 'Services/Community.svc/REST/GetUserInformation_New';
///Update email
const UPDATE_PATENT_EMAIL = 'Services/Patients.svc/REST/UpdatePateintEmail';
@ -261,7 +259,8 @@ const GET_PAtIENTS_INSURANCE =
const GET_PAtIENTS_INSURANCE_UPDATED =
"Services/Patients.svc/REST/PatientER_GetPatientInsuranceCardUpdateHistory";
const INSURANCE_DETAILS = "Services/Patients.svc/REST/Get_InsuranceCheckList";
const INSURANCE_DETAILS =
"Services/Patients.svc/REST/Get_InsuranceCheckList";
const GET_VACCINES = "Services/Patients.svc/REST/GetDoneVaccinesByPatientID";
const GET_VACCINES_EMAIL = "Services/Notifications.svc/REST/SendVaccinesEmail";
@ -352,41 +351,12 @@ 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_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_WISHLIST = "epharmacy/api/shopping_cart_items/";
const GET_ORDER = "orders?";
const GET_ORDER_DETAILS = "epharmacy/api/orders/";
const GET_ADDRESS = "epharmacy/api/Customers/272843?fields=addresses";
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 =
@ -404,45 +374,20 @@ 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 GET_PATIENT_ALL_PRES_ORD= 'Services/Patients.svc/REST/PatientER_GetPatientAllPresOrders';
const PATIENT_ER_INSERT_PRES_ORDER= 'Services/Patients.svc/REST/PatientER_InsertPresOrder';
// 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 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";
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;

@ -111,7 +111,10 @@ const Map localizedValues = {
'login': {'en': 'Login', 'ar': 'تسجيل الدخول'},
'loginregister': {'en': 'Login / Register', 'ar': 'تسجيل الدخول'},
'poweredBy': {'en': 'Powered By', 'ar': 'مشغل بواسطة'},
"welcome": {"en": "Welcome", "ar": "مرحبا"},
"welcome": {
"en": "Welcome",
"ar": "مرحبا"
},
"welcome_text": {
"en": "Dr. Sulaiman Al Habib Mobile Application",
"ar": "الدكتور سليمان الحبيب لتطبيقات الهاتف المتحرك"
@ -127,11 +130,12 @@ const Map localizedValues = {
"ar": "اختر من الخيارات أدناه لتسجيل الدخول إلى ملفك الطبي."
},
"registernow": {"en": "Register Now", "ar": "تسجيل الان"},
"nationalID": {
"en": "Enter the Identification Number",
"ar": "أدخل رقم الهوية الوطنية او الاقامة"
"nationalID": { "en": "Enter the Identification Number",
"ar": "أدخل رقم الهوية الوطنية او الاقامة"},
"national-id": {
"en": "National ID",
"ar": "رقم الهوية"
},
"national-id": {"en": "National ID", "ar": "رقم الهوية"},
"fileNo": {"en": "File Number", "ar": "رقم الملف"},
"fileno": {"en": "File No", "ar": "رقم الملف"},
"forgotFileNo": {"en": "Forgot file Number?", "ar": "نسيت رقم الملف الطبي؟"},
@ -632,64 +636,6 @@ 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": " اكتب تقييمك"},
"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 Detail", "ar": " تفاصيل الطلب"},
"orderSummary": {"en": "Order Summary", "ar": " تفاصيل المنتج"},
"subtotal": {"en": "Subtotal", "ar": " المجموع"},
"shipping": {"en": "Shipping", "ar": " الشحن"},
"vat": {"en": "VAT (15%)", "ar": "(15%) القيمة المضافة"},
"sar": {"en": "SAR", "ar": " ر.س "},
"payOnline": {"en": "PAY ONLINE", "ar": "اتمام عملية الدفع "},
"cancelOrder": {"en": "CANCEL ORDER", "ar": "الغاء الطلب "},
"confirmAddress": {"en": "CONFIRM ADDRESS ", "ar": " تأكيد العنوان "},
"confirmLocation": {"en": "CONFIRM LOCATION ", "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": {
@ -734,40 +680,38 @@ const Map localizedValues = {
},
// pharmacy module
"medicationRefill": {"en": "MEDICATION REFILL", "ar": "إعادة تعبئة الدواء"},
"medicationRefill": {
"en": "MEDICATION REFILL",
"ar": "إعادة تعبئة الدواء"
},
"offersAndPromotions": {
"en": "OFFERS & SPECIAL PROMOTIONS",
"ar": "العروض والترقيات الخاصة"
},
"myPrescriptions": {"en": "MY PRESCRIPTIONS", "ar": "وصفاتي"},
"myPrescriptions": {
"en": "MY PRESCRIPTIONS",
"ar": "وصفاتي"
},
"searchAndScanMedication": {
"en": "SEARCH & SCAN FOR MEDICATION",
"ar": "البحث والمسح للأدوية"
},
"shopByBrands": {"en": "Shop By Brands", "ar": "تسوق حسب الماركات"},
"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": "موافقة"},
"shopByBrands": {
"en": "Shop By Brands",
"ar": "تسوق حسب الماركات"
},
"recentlyViewed": {
"en": "Recently Viewed",
"ar": "شوهدت مؤخرا"
},
"bestSellers": {
"en": "Best Sellers",
"ar": "أفضل البائعين"
},
"deleteAllItems": {
"en": "Delete All Items",
"ar": "حذف كافة العناصر"
},
"select-gender": {"en": "Select Gender", "ar": "اختر الجنس"},
"i-am-a": {"en": "I am a ...", "ar": "أنا ..."},
"select-age": {"en": "Select Your Age", "ar": "حدد العمر"},
@ -776,21 +720,9 @@ const Map localizedValues = {
"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":
"من خلال هذه الخدمة يمكنك طلب مجموعة من الفحوصات التي تساعدك وتساعد طبيبك في فهم حالتك الصحية الحالية ومن ثم تحديد المخاطر المحتملة"
},"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": "احجز"},
@ -980,14 +912,8 @@ const Map localizedValues = {
"LiveChat": {"en": "Live Chat", "ar": "محادثة مباشرة"},
"Service": {"en": "Service", "ar": "خدمة"},
"HMGServiceLabel": {"en": "HMG Service", 'ar': 'خدمات الحبيب'},
"HealthWeatherIndicators": {
"en": "Health Weather Indicators",
'ar': ' مؤشرات الطقس الصحية '
},
"HealthTipsBasedOnCurrentWeather": {
"en": "Health Tips Based On Current Weather",
'ar': ' نصائح صحية على أساس الطقس الحالي '
},
"HealthWeatherIndicators": {"en": "Health Weather Indicators", 'ar': ' مؤشرات الطقس الصحية '},
"HealthTipsBasedOnCurrentWeather": {"en": "Health Tips Based On Current Weather", 'ar': ' نصائح صحية على أساس الطقس الحالي '},
"MoreDetails": {"en": "More details", "ar": " المزيد من التفاصيل "},
"SendCopy": {"en": "Send Copy", "ar": "ارسال نسخة"},
"ResendOrder": {"en": "Resend order & deliver", "ar": "إعادة طلب و توصيل"},
@ -996,75 +922,172 @@ const Map localizedValues = {
"Average": {"en": "Average", "ar": "المعدل"},
"DailyDoses": {"en": "Daily Doses", "ar": "جرعات يومية"},
"Period": {"en": "Period", "ar": "الفترة"},
"cm": {"en": "CM", "ar": "سم"},
"kg": {"en": "kg", "ar": "كجم"},
"mass": {"en": "Mass", "ar": "كتلة"},
"temp-c": {"en": "°C", "ar": "°س"},
"bpm": {"en": "bpm", "ar": "نبضة"},
"respiration-signs": {"en": "Respiration", "ar": "تنفس"},
"sys-dias": {"en": "SBP/DBP", "ar": "إنقباض/إنبساط"},
"body": {"en": "Body \n Mass", "ar": "كتلة\nالجسم"},
"feedback": {"en": "Feedback", "ar": "رأيك يهمنا"},
"send": {"en": "Send", "ar": "أرسل"},
"status": {"en": "Status", "ar": "الحالة"},
"cm": {
"en": "CM",
"ar": "سم"
},
"kg": {
"en": "kg",
"ar": "كجم"
},
"mass": {
"en": "Mass",
"ar": "كتلة"
},
"temp-c": {
"en": "°C",
"ar": "°س"
},
"bpm": {
"en": "bpm",
"ar": "نبضة"
},
"respiration-signs": {
"en": "Respiration",
"ar": "تنفس"
},
"sys-dias": {
"en": "SBP/DBP",
"ar": "إنقباض/إنبساط"
},
"body": {
"en": "Body \n Mass",
"ar": "كتلة\nالجسم"
},
"feedback": {
"en": "Feedback",
"ar": "رأيك يهمنا"
},
"send": {
"en": "Send",
"ar": "أرسل"
},
"status": {
"en": "Status",
"ar": "الحالة"
},
"like-to-hear": {
"en":
"We would love to hear the feedback, concerns on healthcare services and eServices experience. Please use the below form",
"ar":
"يسعدنا سماع ملاحظاتك حول خدمات الرعاية الصحية والخدمات الإلكترونية. يرجى تعبئة الحقول المطلوبة"
"en": "We would love to hear the feedback, concerns on healthcare services and eServices experience. Please use the below form",
"ar": "يسعدنا سماع ملاحظاتك حول خدمات الرعاية الصحية والخدمات الإلكترونية. يرجى تعبئة الحقول المطلوبة"
},
"subject": {
"en": "Subject",
"ar": "الموضوع"
},
"message": {
"en": "Message",
"ar": "رسالة"
},
"subject": {"en": "Subject", "ar": "الموضوع"},
"message": {"en": "Message", "ar": "رسالة"},
"empty-subject": {
"en": "Please enter the subject",
"ar": "يرجى ادخال الموضوع"
},
"empty-message": {"en": "Please enter message", "ar": "يرجى ادخال الموضوع"},
"select-attachment": {"en": "Select Attachment", "ar": "إختر المرفق"},
"complain-appo": {"en": "Complaint for appointment", "ar": "شكوى على موعد"},
"empty-message": {
"en": "Please enter message",
"ar": "يرجى ادخال الموضوع"
},
"select-attachment": {
"en": "Select Attachment",
"ar": "إختر المرفق"
},
"complain-appo": {
"en": "Complaint for appointment",
"ar": "شكوى على موعد"
},
"complain-without-appo": {
"en": "Complaint without appointment",
"ar": "شكوى بدون موعد"
},
"question": {"en": "Question", "ar": "سؤال"},
"message-type": {"en": "Message Type", "ar": "نوع الرسالة"},
"compliment": {"en": "compliment", "ar": "ثناء"},
"suggestion": {"en": "Suggestion", "ar": "إقتراح"},
"your-feedback": {"en": "Your feedback was sent", "ar": "إقتراح"},
"question": {
"en": "Question",
"ar": "سؤال"
},
"message-type": {
"en": "Message Type",
"ar": "نوع الرسالة"
},
"compliment": {
"en": "compliment",
"ar": "ثناء"
},
"suggestion": {
"en": "Suggestion",
"ar": "إقتراح"
},
"your-feedback": {
"en": "Your feedback was sent",
"ar": "إقتراح"
},
"select-part": {
"en": "Please select the part that complain about",
"ar": "يرجى تحديد الجزء الذي تشكو منه"
},
"number": {"en": "Number", "ar": "الرقم"},
"not-classified": {"en": "Not classified", "ar": "غير محدد"},
"selectClinic": {"en": "Select Clinic", "ar": " بحث بالعيادة"},
"searchItemError": {
"en": "Item name should be more than 3 character ",
"ar": "يجب أن يكون اسم العنصر أكثر من 3 أحرف"
"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 أحرف"},
"YouCanFind": {"en": "YouCanFind", "ar": "باستطاعتك العثور على "},
"ItemInSearch": {"en": " Item In Search", "ar": " عنصر في البحث "},
"InvoiceNo": {"en": " Invoice No", "ar": "رقم الفاتورة"},
"SpecialResult": {"en": " Special Result", "ar": "نتيجة خاصة"},
"GeneralResult": {"en": "General Result", "ar": "نتيجة عامة"},
"show-more-btn": {"en": "Flow Chart", "ar": "النتائج التراكمية"},
"show-more-btn": {
"en": "Flow Chart",
"ar": "النتائج التراكمية"
},
"value": {"en": "Value", "ar": "القيمة"},
"range": {"en": "Range", "ar": "المدى"},
"out-patient": {"en": "Out Patient", "ar": "عيادات خارجية"},
"in-patient": {"en": "In Patient", "ar": "تنويم"},
"report": {"en": "Radiology Report", "ar": "تقرير الاشعة"},
"open-rad": {"en": "Open Image", "ar": "فتح صور الاشعة"},
"send-copy": {"en": "Email the Report", "ar": "أرسل التقرير"},
"value": {
"en": "Value",
"ar": "القيمة"
},
"range": {
"en": "Range",
"ar": "المدى"
},
"out-patient": {
"en": "Out Patient",
"ar": "عيادات خارجية"
},
"in-patient": {
"en": "In Patient",
"ar": "تنويم"
},
"report": {
"en": "Radiology Report",
"ar": "تقرير الاشعة"
},
"open-rad": {
"en": "Open Image",
"ar": "فتح صور الاشعة"
},
"send-copy": {
"en": "Email the Report",
"ar": "أرسل التقرير"
},
"vaccination": {"en": "Vaccination", "ar": "جدول التطعيمات"},
"welcomeBack": {"en": "Welcome back", "ar": "مرحبا مرة أخرى"},
"vaccination": {
"en": "Vaccination",
"ar": "جدول التطعيمات"
},
"welcomeBack": {
"en": "Welcome back",
"ar": "مرحبا مرة أخرى"
},
"instructions": {
"en":
"Please ensure that the email address is up-to-date and process to view the schedule",
"en": "Please ensure that the email address is up-to-date and process to view the schedule",
"ar": "يرجى التأكد من صحة عنوان البريد الالكتروني و المتابعة لعرض الجدول "
},
"update-email": {"en": "Update Email", "ar": "تحديث البريد الالكتروني"},
"update-email": {
"en": "Update Email",
"ar": "تحديث البريد الالكتروني"
},
"updated-email": {
"en": "Updated email successfully",
@ -1076,18 +1099,42 @@ const Map localizedValues = {
"ar": "عرض قائمة الأطفال"
},
"add-child": {"en": "Add New Child", "ar": "اضافة طفل"},
"child-name": {"en": "Child Name", "ar": "اسم الطفل"},
"childDob": {"en": "Birth Date", "ar": "تاريخ الولادة"},
"add-child": {
"en": "Add New Child",
"ar": "اضافة طفل"
},
"child-name": {
"en": "Child Name",
"ar": "اسم الطفل"
},
"childDob": {
"en": "Birth Date",
"ar": "تاريخ الولادة"
},
"delete": {
"en": "Delete",
"ar": "حذف"
},
"deleted-child-mes": {
"en":
"The request was successful. The children have removed from the vaccination schedule subscription service.",
"en": "The request was successful. The children have removed from the vaccination schedule subscription service.",
"ar": "تم حذف الطفل بنجاح"
},
"deleted-child": {"en": "Delete child", "ar": "إالغاء الطفل"},
"visit": {"en": "Visit", "ar": "زيارة"},
"description-vaccination": {"en": "Description", "ar": "وصف"},
"due-date": {"en": "Due date", "ar": "تاريخ الاستحقاق"},
"deleted-child":{
"en":"Delete child",
"ar":"إالغاء الطفل"
},
"visit": {
"en": "Visit",
"ar": "زيارة"
},
"description-vaccination": {
"en": "Description",
"ar": "وصف"
},
"due-date": {
"en": "Due date",
"ar": "تاريخ الاستحقاق"
},
"valid-email": {
"en": "Please enter valid email",
"ar": "الرجاء إدخال عنوان بريد صحيح"
@ -1097,59 +1144,57 @@ const Map localizedValues = {
"ar": "ارسال جدول التطعيمات الى بريدك الالكتروني؟"
},
"email-success": {
"en":
" The request was successful. You will receive the Schedule in moments.",
"en": " The request was successful. You will receive the Schedule in moments.",
"ar": "تم ارسال جدول التطعيمات "
},
"add-instructions": {
"en":
"Add the child's information below to recieve the schedule of vaccinations.",
"en": "Add the child's information below to recieve the schedule of vaccinations.",
"ar": "أضف معلومات الطفل لاستلام جدول التطعيمات"
},
"added-child": {
"en":
"The request was successful. You have added a child to the vaccination schedule subscription service.",
"en": "The request was successful. You have added a child to the vaccination schedule subscription service.",
"ar": "تمت الاضافة بنجاح."
},
"appUpdate": {"en": "UPDATE THE APP", "ar": "تحديث التطبيق"},
"appUpdate": {
"en": "UPDATE THE APP",
"ar": "تحديث التطبيق"
},
"ereferralSaveSuccess": {
"en":
"The referral request has been submitted successfully, you will be contacted ASAP to complete the process. Referral request no is ",
"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": "التاريخ"},
"en": "The referral request has been submitted successfully, you will be contacted ASAP to complete the process. Referral request no is ",
"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": " حدد خدمات الرعاية الصحية المنزلية"
},
"selectAddress": {"en": "Select Address", "ar": "حدد العنوان"},
"addNewAddress": {"en": "Add New Address", "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": " حدد خدمات الرعاية الصحية المنزلية"},
};

@ -20,4 +20,3 @@ const IS_VIBRATION = 'is_vibration';
const THEME_VALUE = 'is_vibration';
const MAIN_USER = 'main-user';
const PHARMACY_LAST_VISITED_PRODUCTS = 'last-visited';
const PHARMACY_CUSTOMER_ID = 'costumer-id';

@ -17,7 +17,6 @@ class Addresses {
String createdOnUtc;
String province;
String latLong;
bool isChecked;
Addresses(
{this.id,
@ -37,8 +36,7 @@ class Addresses {
this.customerAttributes,
this.createdOnUtc,
this.province,
this.latLong,
this.isChecked = false});
this.latLong});
Addresses.fromJson(Map<String, dynamic> json) {
id = json['id'];
@ -59,7 +57,6 @@ class Addresses {
createdOnUtc = json['created_on_utc'];
province = json['province'];
latLong = json['lat_long'];
isChecked = json['isChecked'];
}
Map<String, dynamic> toJson() {
@ -82,7 +79,6 @@ class Addresses {
data['created_on_utc'] = this.createdOnUtc;
data['province'] = this.province;
data['lat_long'] = this.latLong;
data['isChecked'] = this.isChecked;
return data;
}

@ -1,84 +0,0 @@
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<String, dynamic> 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<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
}
}

@ -1,10 +1,4 @@
import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/BillingAddress.dart';
class Customer {
BillingAddress billingAddress;
BillingAddress shippingAddress;
List<Addresses> addresses;
String fileNumber;
String iqamaNumber;
int isOutSa;
@ -14,6 +8,8 @@ class Customer {
String phone;
String countryCode;
String yahalaAccountno;
String billingAddress;
String shippingAddress;
String id;
String username;
String email;
@ -21,63 +17,50 @@ class Customer {
String lastName;
String languageId;
String adminComment;
bool isTaxExempt;
bool hasShoppingCartItems;
bool active;
bool deleted;
bool isSystemAccount;
String isTaxExempt;
String hasShoppingCartItems;
String active;
String deleted;
String isSystemAccount;
String systemName;
String lastIpAddress;
String createdOnUtc;
String lastLoginDateUtc;
String lastActivityDateUtc;
int registeredInStoreId;
String registeredInStoreId;
Customer(
{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});
{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});
Customer.fromJson(Map<String, dynamic> 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<Addresses>();
json['addresses'].forEach((v) {
addresses.add(new Addresses.fromJson(v));
});
}
fileNumber = json['file_number'];
iqamaNumber = json['iqama_number'];
isOutSa = json['is_out_sa'];
@ -87,6 +70,8 @@ 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'];
@ -109,15 +94,6 @@ class Customer {
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
@ -127,6 +103,8 @@ 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;
@ -147,4 +125,4 @@ class Customer {
data['registered_in_store_id'] = this.registeredInStoreId;
return data;
}
}
}

File diff suppressed because it is too large Load Diff

@ -1,179 +0,0 @@
import 'PointsAmountPerYear.dart';
import 'PointsDetails.dart';
class LakumInquiryInformationObjVersion {
int accountNumber;
String accountStatus;
String barCode;
int consumedPoints;
String consumedPointsAmount;
List<PointsAmountPerYear> consumedPointsAmountPerYear;
List<PointsDetails> consumedPointsDetails;
String createdDate;
int expiredPoints;
String expiryDate;
int gainedPoints;
List<PointsAmountPerYear> gainedPointsAmountPerYear;
List<PointsDetails> gainedPointsDetails;
String lakumMessageStatus;
String memberName;
String memberUniversalId;
String mobileNumber;
int pointsBalance;
int pointsBalanceAmount;
int pointsWillBeExpired;
String prefLang;
int statusCode;
int transferPoints;
List<PointsAmountPerYear> transferPointsAmountPerYear;
List<PointsDetails> transferPointsDetails;
int waitingPoints;
int loyalityAmount;
int 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<String, dynamic> json) {
accountNumber = json['AccountNumber'];
accountStatus = json['AccountStatus'];
barCode = json['BarCode'];
consumedPoints = json['ConsumedPoints'];
consumedPointsAmount = json['ConsumedPointsAmount'];
if (json['ConsumedPointsAmountPerYear'] != null) {
consumedPointsAmountPerYear = new List<PointsAmountPerYear>();
json['ConsumedPointsAmountPerYear'].forEach((v) {
consumedPointsAmountPerYear.add(PointsAmountPerYear.fromJson(v));
});
}
if (json['ConsumedPointsDetails'] != null) {
consumedPointsDetails = new List<PointsDetails>();
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<PointsAmountPerYear>();
json['GainedPointsAmountPerYear'].forEach((v) {
gainedPointsAmountPerYear.add(PointsAmountPerYear.fromJson(v));
});
}
if (json['GainedPointsDetails'] != null) {
gainedPointsDetails = new List<PointsDetails>();
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<PointsAmountPerYear>();
json['TransferPointsAmountPerYear'].forEach((v) {
transferPointsAmountPerYear.add(PointsAmountPerYear.fromJson(v));
});
}
if (json['TransferPointsDetails'] != null) {
transferPointsDetails = new List<PointsDetails>();
json['TransferPointsDetails'].forEach((v) {
transferPointsDetails.add(PointsDetails.fromJson(v));
});
}
waitingPoints = json['WaitingPoints'];
loyalityAmount = json['loyalityAmount'];
loyalityPoints = json['loyalityPoints'];
purchaseRate = json['purchaseRate'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
}
}

@ -1,28 +0,0 @@
class ListUserAgreement {
String userAgreementLAKUM;
String userAgreementLAKUMn;
String userAgreementTxt;
String userAgreementTxtn;
ListUserAgreement(
{this.userAgreementLAKUM,
this.userAgreementLAKUMn,
this.userAgreementTxt,
this.userAgreementTxtn});
ListUserAgreement.fromJson(Map<String, dynamic> json) {
userAgreementLAKUM = json['UserAgreementLAKUM'];
userAgreementLAKUMn = json['UserAgreementLAKUMn'];
userAgreementTxt = json['UserAgreementTxt'];
userAgreementTxtn = json['UserAgreementTxtn'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['UserAgreementLAKUM'] = this.userAgreementLAKUM;
data['UserAgreementLAKUMn'] = this.userAgreementLAKUMn;
data['UserAgreementTxt'] = this.userAgreementTxt;
data['UserAgreementTxtn'] = this.userAgreementTxtn;
return data;
}
}

@ -1,170 +0,0 @@
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<Customer> customers;
factory PharmacyAddressesModel.fromJson(Map<String, dynamic> json) => PharmacyAddressesModel(
customers: List<Customer>.from(json["customers"].map((x) => Customer.fromJson(x))),
);
Map<String, dynamic> toJson() => {
"customers": List<dynamic>.from(customers.map((x) => x.toJson())),
};
}
class Customer {
Customer({
this.addresses,
});
List<Address> addresses;
factory Customer.fromJson(Map<String, dynamic> json) => Customer(
addresses: List<Address>.from(json["addresses"].map((x) => Address.fromJson(x))),
);
Map<String, dynamic> toJson() => {
"addresses": List<dynamic>.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<String, dynamic> 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<String, dynamic> 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<T> {
Map<String, T> map;
Map<T, String> reverseMap;
EnumValues(this.map);
Map<T, String> get reverse {
if (reverseMap == null) {
reverseMap = map.map((k, v) => new MapEntry(v, k));
}
return reverseMap;
}
}

@ -1,538 +1,149 @@
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<int> roleIds;
List<int> discountIds;
List<int> storeIds;
List<int> manufacturerIds;
List<Reviews> reviews;
List<PharmacyImageObject> images;
List<String> attributes;
List<Specifications> specifications;
List<String> associatedProductIds;
List<String> 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.attributes,
this.specifications,
this.associatedProductIds,
this.tags,
this.vendorId,
this.seName});
this.images});
PharmacyProduct.fromJson(Map<String, dynamic> json) {
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<int>();
json['role_ids'].forEach((v) {
roleIds.add(v);
});
}
if (json['discount_ids'] != null) {
discountIds = new List<int>();
json['discount_ids'].forEach((v) {
discountIds.add(v);
});
}
if (json['store_ids'] != null) {
storeIds = new List<int>();
json['store_ids'].forEach((v) {
storeIds.add(v);
});
}
if (json['manufacturer_ids'] != null) {
manufacturerIds = new List<int>();
json['manufacturer_ids'].forEach((v) {
manufacturerIds.add(v);
});
}
if (json['reviews'] != null) {
reviews = new List<Reviews>();
json['reviews'].forEach((v) {
reviews.add(new Reviews.fromJson(v));
});
}
if (json['images'] != null) {
images = new List<PharmacyImageObject>();
json['images'].forEach((v) {
images.add(new PharmacyImageObject.fromJson(v));
});
}
if (json['attributes'] != null) {
attributes = new List<String>();
json['attributes'].forEach((v) {
attributes.add(v);
});
}
if (json['specifications'] != null) {
specifications = new List<Specifications>();
json['specifications'].forEach((v) {
specifications.add(new Specifications.fromJson(v));
});
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<int>();
json['discount_ids'].forEach((v) {
discountIds.add(v);
});
}
if (json['reviews'] != null) {
reviews = new List<Reviews>();
json['reviews'].forEach((v) {
reviews.add(new Reviews.fromJson(v));
});
}
if (json['images'] != null) {
images = new List<PharmacyImageObject>();
json['images'].forEach((v) {
images.add(new PharmacyImageObject.fromJson(v));
});
}
} catch (e) {
print(e);
}
if (json['associated_product_ids'] != null) {
associatedProductIds = new List<String>();
json['associated_product_ids'].forEach((v) {
associatedProductIds.add(v);
});
}
if (json['tags'] != null) {
tags = new List<String>();
json['tags'].forEach((v) {
tags.add(v);
});
}
vendorId = json['vendor_id'];
seName = json['se_name'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
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) {
if (this.discountIds != String) {
data['discount_ids'] = this.discountIds.map((v) => v).toList();
}
if (this.storeIds != null) {
data['store_ids'] = this.storeIds.map((v) => v).toList();
}
data['manufacturer_ids'] = this.manufacturerIds;
if (this.reviews != null) {
if (this.reviews != String) {
data['reviews'] = this.reviews.map((v) => v.toJson()).toList();
}
if (this.images != null) {
if (this.images != String) {
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;
}
}

@ -1,42 +0,0 @@
import 'PointsAmountPerday.dart';
class PointsAmountPerMonth {
double amountPerMonth;
String month;
int monthNumber;
List<PointsAmountPerday> pointsAmountPerday;
double pointsPerMonth;
PointsAmountPerMonth(
{this.amountPerMonth,
this.month,
this.monthNumber,
this.pointsAmountPerday,
this.pointsPerMonth});
PointsAmountPerMonth.fromJson(Map<String, dynamic> json) {
amountPerMonth = json['AmountPerMonth'];
month = json['Month'];
monthNumber = json['MonthNumber'];
if (json['PointsAmountPerday'] != null) {
pointsAmountPerday = new List<PointsAmountPerday>();
json['PointsAmountPerday'].forEach((v) {
pointsAmountPerday.add(new PointsAmountPerday.fromJson(v));
});
}
pointsPerMonth = json['PointsPerMonth'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
}
}

@ -1,38 +0,0 @@
import 'PointsAmountPerMonth.dart';
class PointsAmountPerYear {
int amountPerYear;
List<PointsAmountPerMonth> pointsAmountPerMonth;
int pointsPerYear;
int year;
PointsAmountPerYear(
{this.amountPerYear,
this.pointsAmountPerMonth,
this.pointsPerYear,
this.year});
PointsAmountPerYear.fromJson(Map<String, dynamic> json) {
amountPerYear = json['AmountPerYear'];
if (json['PointsAmountPerMonth'] != null) {
pointsAmountPerMonth = new List<PointsAmountPerMonth>();
json['PointsAmountPerMonth'].forEach((v) {
pointsAmountPerMonth.add(new PointsAmountPerMonth.fromJson(v));
});
}
pointsPerYear = json['PointsPerYear'];
year = json['Year'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
}
}

@ -1,42 +0,0 @@
import 'PointsDetails.dart';
class PointsAmountPerday {
double amountPerDay;
String day;
List<PointsDetails> pointsDetails;
double pointsPerDay;
String transationDate;
PointsAmountPerday(
{this.amountPerDay,
this.day,
this.pointsDetails,
this.pointsPerDay,
this.transationDate});
PointsAmountPerday.fromJson(Map<String, dynamic> json) {
amountPerDay = json['AmountPerDay'];
day = json['Day'];
if (json['PointsDetails'] != null) {
pointsDetails = new List<PointsDetails>();
json['PointsDetails'].forEach((v) {
pointsDetails.add(new PointsDetails.fromJson(v));
});
}
pointsPerDay = json['PointsPerDay'];
transationDate = json['TransationDate'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
}
}

@ -1,57 +0,0 @@
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<String, dynamic> 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<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
}
}

@ -1,98 +0,0 @@
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<String, dynamic> 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<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
}
}

@ -1,115 +0,0 @@
import 'package:diplomaticquarterapp/core/model/pharmacies/Customer.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart';
class ShoppingCart {
int languageId;
String id;
// List<Null> 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<String, dynamic> json) {
languageId = json['language_id'];
id = json['id'];
/*if (json['product_attributes'] != null) {
productAttributes = new List<Null>();
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<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
}
}

@ -1,55 +0,0 @@
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<ShoppingCart> shoppingCarts;
ShoppingCartResponse(
{this.itemCount,
this.quantityCount,
this.subtotal,
this.subtotalWithVat,
this.subtotalVatAmount,
this.subtotalVatRate,
this.shoppingCarts});
void updateShoppingCard() {
notifyListeners();
}
ShoppingCartResponse.fromJson(Map<String, dynamic> 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<ShoppingCart>();
json['shopping_carts'].forEach((v) {
shoppingCarts.add(new ShoppingCart.fromJson(v));
});
}
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
}
}

@ -1,36 +0,0 @@
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<String, dynamic> json) {
id = json['id'];
displayOrder = json['display_order'];
defaultValue = json['default_value'];
defaultValuen = json['default_valuen'];
name = json['name'];
nameN = json['nameN'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
}
}

File diff suppressed because it is too large Load Diff

@ -1,21 +0,0 @@
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();
}
}

@ -1,24 +0,0 @@
class BrandsModel {
String id;
String name;
String namen;
Null image;
BrandsModel({this.id, this.name, this.namen, this.image});
BrandsModel.fromJson(Map<String, dynamic> json) {
id = json['id'];
name = json['name'];
namen = json['namen'];
image = json['image'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['id'] = this.id;
data['name'] = this.name;
data['namen'] = this.namen;
data['image'] = this.image;
return data;
}
}

@ -1,75 +0,0 @@
class CategoriseParentModel {
String id;
String name;
String namen;
List<LocalizedNames> 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<String, dynamic> json) {
id = json['id'];
name = json['name'];
namen = json['namen'];
if (json['localized_names'] != null) {
localizedNames = new List<LocalizedNames>();
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<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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<String, dynamic> json) {
languageId = json['language_id'];
localizedName = json['localized_name'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['language_id'] = this.languageId;
data['localized_name'] = this.localizedName;
return data;
}
}

@ -1,184 +0,0 @@
class FinalProductsModel {
String id;
String name;
String namen;
List<LocalizedNames> 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<dynamic> discountIds;
List<dynamic> reviews;
List<Images> 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<String, dynamic> json) {
id = json['id'];
name = json['name'];
if (json['images'] != null) {
images = new List<Images>();
json['images'].forEach((v) {
images.add(new Images.fromJson(v));
});
}
namen = json['namen'];
if (json['localized_names'] != null) {
localizedNames = new List<LocalizedNames>();
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<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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<String, dynamic> json) {
languageId = json['language_id'];
localizedName = json['localized_name'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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<String, dynamic> json) {
id = json['id'];
position = json['position'];
src = json['src'];
thumb = json['thumb'];
attachment = json['attachment'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['id'] = this.id;
data['position'] = this.position;
data['src'] = this.src;
data['thumb'] = this.thumb;
data['attachment'] = this.attachment;
return data;
}
}

@ -1,579 +0,0 @@
class OfferProductsModel {
String id;
bool visibleIndividually;
String name;
String namen;
List<LocalizedNames> 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<dynamic> roleIds;
List<dynamic> discountIds;
List<dynamic> storeIds;
List<dynamic> manufacturerIds;
List<dynamic> reviews;
List<Images> images;
List<dynamic> attributes;
List<Specifications> specifications;
List<dynamic> associatedProductIds;
List<dynamic> 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<String, dynamic> json) {
id = json['id'];
visibleIndividually = json['visible_individually'];
name = json['name'];
namen = json['namen'];
if (json['localized_names'] != null) {
localizedNames = new List<LocalizedNames>();
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<int>();
if (json['images'] != null) {
images = new List<Images>();
json['images'].forEach((v) {
images.add(new Images.fromJson(v));
});
}
vendorId = json['vendor_id'];
seName = json['se_name'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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<String, dynamic> json) {
languageId = json['language_id'];
localizedName = json['localized_name'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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<String, dynamic> json) {
id = json['id'];
position = json['position'];
src = json['src'];
thumb = json['thumb'];
attachment = json['attachment'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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<String, dynamic> json) {
id = json['id'];
displayOrder = json['display_order'];
defaultValue = json['default_value'];
defaultValuen = json['default_valuen'];
name = json['name'];
nameN = json['nameN'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
}
}

@ -1,175 +0,0 @@
class OffersModel {
String id;
String name;
String namen;
List<LocalizedNames> 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<dynamic> roleIds;
List<dynamic> discountIds;
List<dynamic> 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<String, dynamic> json) {
id = json['id'];
name = json['name'];
namen = json['namen'];
if (json['localized_names'] != null) {
localizedNames = new List<LocalizedNames>();
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<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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<String, dynamic> json) {
languageId = json['language_id'];
localizedName = json['localized_name'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['language_id'] = this.languageId;
data['localized_name'] = this.localizedName;
return data;
}
}
class Image {
String src;
Null thumb;
Null attachment;
Image({this.src, this.thumb, this.attachment});
Image.fromJson(Map<String, dynamic> json) {
src = json['src'];
thumb = json['thumb'];
attachment = json['attachment'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['src'] = this.src;
data['thumb'] = this.thumb;
data['attachment'] = this.attachment;
return data;
}
}

@ -1,566 +0,0 @@
class ParentProductsModel {
dynamic id;
dynamic visibleIndividually;
dynamic name;
dynamic namen;
List<LocalizedNames> localizedNames;
dynamic shortDescription;
dynamic shortDescriptionn;
dynamic fullDescription;
dynamic fullDescriptionn;
dynamic markasNew;
dynamic showOnHomePage;
dynamic metaKeywords;
dynamic metaDescription;
dynamic metaTitle;
dynamic allowCustomerReviews;
dynamic approvedRatingSum;
dynamic notApprovedRatingSum;
dynamic approvedTotalReviews;
dynamic notApprovedTotalReviews;
dynamic sku;
dynamic isRx;
dynamic prescriptionRequired;
dynamic rxMessage;
dynamic rxMessagen;
dynamic manufacturerPartNumber;
dynamic gtin;
dynamic isGiftCard;
dynamic requireOtherProducts;
dynamic automaticallyAddRequiredProducts;
dynamic isDownload;
dynamic unlimitedDownloads;
dynamic maxNumberOfDownloads;
dynamic downloadExpirationDays;
dynamic hasSampleDownload;
dynamic hasUserAgreement;
dynamic isRecurring;
dynamic recurringCycleLength;
dynamic recurringTotalCycles;
dynamic isRental;
dynamic rentalPriceLength;
dynamic isShipEnabled;
dynamic isFreeShipping;
dynamic shipSeparately;
dynamic additionalShippingCharge;
dynamic isTaxExempt;
dynamic isTelecommunicationsOrBroadcastingOrElectronicServices;
dynamic useMultipleWarehouses;
dynamic manageInventoryMethodId;
dynamic stockQuantity;
dynamic stockAvailability;
dynamic stockAvailabilityn;
dynamic displayStockAvailability;
dynamic displayStockQuantity;
dynamic minStockQuantity;
dynamic notifyAdminForQuantityBelow;
dynamic allowBackInStockSubscriptions;
dynamic orderMinimumQuantity;
dynamic orderMaximumQuantity;
dynamic allowedQuantities;
dynamic allowAddingOnlyExistingAttributeCombinations;
dynamic disableBuyButton;
dynamic disableWishlistButton;
dynamic availableForPreOrder;
dynamic preOrderAvailabilityStartDateTimeUtc;
dynamic callForPrice;
dynamic price;
dynamic oldPrice;
dynamic productCost;
dynamic specialPrice;
dynamic specialPriceStartDateTimeUtc;
dynamic specialPriceEndDateTimeUtc;
dynamic customerEntersPrice;
dynamic minimumCustomerEnteredPrice;
dynamic maximumCustomerEnteredPrice;
dynamic basepriceEnabled;
dynamic basepriceAmount;
dynamic basepriceBaseAmount;
dynamic hasTierPrices;
dynamic hasDiscountsApplied;
dynamic discountName;
dynamic discountNamen;
dynamic discountDescription;
dynamic discountDescriptionn;
dynamic discountPercentage;
dynamic currency;
dynamic currencyn;
dynamic weight;
dynamic length;
dynamic width;
dynamic height;
dynamic availableStartDateTimeUtc;
dynamic availableEndDateTimeUtc;
dynamic displayOrder;
dynamic published;
dynamic deleted;
dynamic createdOnUtc;
dynamic updatedOnUtc;
dynamic productType;
dynamic parentGroupedProductId;
List<dynamic> roleIds;
List<dynamic> discountIds;
List<dynamic> storeIds;
List<dynamic> manufacturerIds;
List<dynamic> reviews;
List<Images> images;
List<dynamic> attributes;
List<Specifications> specifications;
List<dynamic> associatedProductIds;
List<dynamic> tags;
dynamic vendorId;
String seName;
ParentProductsModel(
{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});
ParentProductsModel.fromJson(Map<String, dynamic> json) {
id = json['id'];
visibleIndividually = json['visible_individually'];
name = json['name'];
if (json['images'] != null) {
images = new List<Images>();
json['images'].forEach((v) {
images.add(new Images.fromJson(v));
});
}
namen = json['namen'];
if (json['localized_names'] != null) {
localizedNames = new List<LocalizedNames>();
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'];
manufacturerIds = json['manufacturer_ids'].cast<int>();
if (json['specifications'] != null) {
specifications = new List<Specifications>();
json['specifications'].forEach((v) {
specifications.add(new Specifications.fromJson(v));
});
}
vendorId = json['vendor_id'];
seName = json['se_name'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
data['manufacturer_ids'] = this.manufacturerIds;
if (this.images != null) {
data['images'] = this.images.map((v) => v.toJson()).toList();
}
if (this.specifications != null) {
data['specifications'] =
this.specifications.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<String, dynamic> json) {
languageId = json['language_id'];
localizedName = json['localized_name'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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<String, dynamic> json) {
id = json['id'];
position = json['position'];
src = json['src'];
thumb = json['thumb'];
attachment = json['attachment'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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<String, dynamic> json) {
id = json['id'];
displayOrder = json['display_order'];
defaultValue = json['default_value'];
defaultValuen = json['default_valuen'];
name = json['name'];
nameN = json['nameN'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
}
}

@ -1,103 +0,0 @@
class PharmacyCategorise {
dynamic id;
String name;
dynamic namen;
List<LocalizedNames> localizedNames;
dynamic description;
dynamic parentCategoryId;
dynamic displayOrder;
dynamic image;
dynamic isLeaf;
PharmacyCategorise(
{this.id,
this.name,
this.namen,
this.localizedNames,
this.description,
this.parentCategoryId,
this.displayOrder,
this.image,
this.isLeaf});
PharmacyCategorise.fromJson(Map<String, dynamic> json) {
try {
id = json['id'];
name = json['name'];
namen = json['namen'];
if (json['localized_names'] != null) {
localizedNames = new List<LocalizedNames>();
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'] != null ? new Image.fromJson(json['image']) : null;
isLeaf = json['is_leaf'];
} catch (e) {
print(e);
}
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
if (this.image != null) {
data['image'] = this.image.toJson();
}
data['is_leaf'] = this.isLeaf;
return data;
}
}
class LocalizedNames {
int languageId;
String localizedName;
LocalizedNames({this.languageId, this.localizedName});
LocalizedNames.fromJson(Map<String, dynamic> json) {
languageId = json['language_id'];
localizedName = json['localized_name'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['language_id'] = this.languageId;
data['localized_name'] = this.localizedName;
return data;
}
}
class Image {
String src;
Null thumb;
Null attachment;
Image({this.src, this.thumb, this.attachment});
Image.fromJson(Map<String, dynamic> json) {
src = json['src'];
thumb = json['thumb'];
attachment = json['attachment'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['src'] = this.src;
data['thumb'] = this.thumb;
data['attachment'] = this.attachment;
return data;
}
}

@ -1,584 +0,0 @@
class ScanQrModel {
String id;
bool visibleIndividually;
String name;
String namen;
List<LocalizedNames> 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;
dynamic discountName;
dynamic discountNamen;
dynamic discountDescription;
dynamic discountDescriptionn;
dynamic discountPercentage;
String currency;
String currencyn;
double 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<dynamic> roleIds;
List<dynamic> discountIds;
List<dynamic> storeIds;
List<dynamic> manufacturerIds;
List<dynamic> reviews;
List<Images> images;
List<dynamic> attributes;
List<Specifications> specifications;
List<dynamic> associatedProductIds;
List<dynamic> tags;
dynamic vendorId;
String seName;
ScanQrModel(
{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});
ScanQrModel.fromJson(Map<String, dynamic> json) {
id = json['id'];
visibleIndividually = json['visible_individually'];
name = json['name'];
namen = json['namen'];
if (json['localized_names'] != null) {
localizedNames = new List<LocalizedNames>();
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'];
if (json['role_ids'] != null) {
roleIds = new List<Null>();
}
if (json['discount_ids'] != null) {
discountIds = new List<Null>();
}
if (json['store_ids'] != null) {
storeIds = new List<Null>();
}
manufacturerIds = json['manufacturer_ids'].cast<int>();
if (json['reviews'] != null) {
reviews = new List<Null>();
}
if (json['images'] != null) {
images = new List<Images>();
json['images'].forEach((v) {
images.add(new Images.fromJson(v));
});
}
if (json['attributes'] != null) {
attributes = new List<Null>();
}
if (json['specifications'] != null) {
specifications = new List<Specifications>();
json['specifications'].forEach((v) {
specifications.add(new Specifications.fromJson(v));
});
}
if (json['associated_product_ids'] != null) {
associatedProductIds = new List<Null>();
}
if (json['tags'] != null) {
tags = new List<Null>();
}
vendorId = json['vendor_id'];
seName = json['se_name'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
data['manufacturer_ids'] = this.manufacturerIds;
if (this.images != null) {
data['images'] = this.images.map((v) => v.toJson()).toList();
}
if (this.specifications != null) {
data['specifications'] =
this.specifications.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<String, dynamic> json) {
languageId = json['language_id'];
localizedName = json['localized_name'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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<String, dynamic> json) {
id = json['id'];
position = json['position'];
src = json['src'];
thumb = json['thumb'];
attachment = json['attachment'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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<String, dynamic> json) {
id = json['id'];
displayOrder = json['display_order'];
defaultValue = json['default_value'];
defaultValuen = json['default_valuen'];
name = json['name'];
nameN = json['nameN'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
}
}

@ -1,75 +0,0 @@
class SubCategoriesModel {
String id;
String name;
String namen;
List<LocalizedNames> localizedNames;
String description;
int parentCategoryId;
int displayOrder;
dynamic image;
bool isLeaf;
SubCategoriesModel(
{this.id,
this.name,
this.namen,
this.localizedNames,
this.description,
this.parentCategoryId,
this.displayOrder,
this.image,
this.isLeaf});
SubCategoriesModel.fromJson(Map<String, dynamic> json) {
id = json['id'];
name = json['name'];
namen = json['namen'];
if (json['localized_names'] != null) {
localizedNames = new List<LocalizedNames>();
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<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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<String, dynamic> json) {
languageId = json['language_id'];
localizedName = json['localized_name'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['language_id'] = this.languageId;
data['localized_name'] = this.localizedName;
return data;
}
}

@ -1,562 +0,0 @@
class SubProductsModel {
String id;
bool visibleIndividually;
String name;
String namen;
List<LocalizedNames> 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;
dynamic discountName;
dynamic discountNamen;
dynamic discountDescription;
dynamic discountDescriptionn;
dynamic discountPercentage;
String currency;
String currencyn;
double 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<dynamic> roleIds;
List<dynamic> discountIds;
List<dynamic> storeIds;
List<int> manufacturerIds;
List<dynamic> reviews;
List<Images> images;
List<dynamic> attributes;
List<Specifications> specifications;
List<dynamic> associatedProductIds;
List<dynamic> tags;
dynamic vendorId;
String seName;
SubProductsModel(
{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});
SubProductsModel.fromJson(Map<String, dynamic> json) {
id = json['id'];
visibleIndividually = json['visible_individually'];
name = json['name'];
if (json['images'] != null) {
images = new List<Images>();
json['images'].forEach((v) {
images.add(new Images.fromJson(v));
});
}
namen = json['namen'];
if (json['localized_names'] != null) {
localizedNames = new List<LocalizedNames>();
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'];
manufacturerIds = json['manufacturer_ids'].cast<int>();
if (json['specifications'] != null) {
specifications = new List<Specifications>();
json['specifications'].forEach((v) {
specifications.add(new Specifications.fromJson(v));
});
}
vendorId = json['vendor_id'];
seName = json['se_name'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
data['manufacturer_ids'] = this.manufacturerIds;
if (this.specifications != null) {
data['specifications'] =
this.specifications.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<String, dynamic> json) {
languageId = json['language_id'];
localizedName = json['localized_name'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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<String, dynamic> json) {
id = json['id'];
position = json['position'];
src = json['src'];
thumb = json['thumb'];
attachment = json['attachment'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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<String, dynamic> json) {
id = json['id'];
displayOrder = json['display_order'];
defaultValue = json['default_value'];
defaultValuen = json['default_valuen'];
name = json['name'];
nameN = json['nameN'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
}
}

@ -1,185 +0,0 @@
class SearchProductsModel {
String id;
String name;
String namen;
List<LocalizedNames> 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;
double price;
dynamic oldPrice;
dynamic discountName;
dynamic discountNamen;
dynamic discountPercentage;
dynamic displayOrder;
List<dynamic> discountIds;
List<dynamic> reviews;
List<Images> images;
SearchProductsModel(
{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});
SearchProductsModel.fromJson(Map<String, dynamic> json) {
id = json['id'];
name = json['name'];
namen = json['namen'];
if (json['localized_names'] != null) {
localizedNames = new List<LocalizedNames>();
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'];
if (json['images'] != null) {
images = new List<Images>();
json['images'].forEach((v) {
images.add(new Images.fromJson(v));
});
}
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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<String, dynamic> json) {
languageId = json['language_id'];
localizedName = json['localized_name'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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<String, dynamic> json) {
id = json['id'];
position = json['position'];
src = json['src'];
thumb = json['thumb'];
attachment = json['attachment'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['id'] = this.id;
data['position'] = this.position;
data['src'] = this.src;
data['thumb'] = this.thumb;
data['attachment'] = this.attachment;
return data;
}
}

@ -147,14 +147,9 @@ class BaseAppClient {
} else if (parsed['Result'] == 'OK') {
onSuccess(parsed, statusCode);
} else {
if (parsed != null) {
onSuccess(parsed, statusCode);
} else {
onFailure(
parsed['ErrorEndUserMessage'] ?? parsed['ErrorMessage'],
statusCode);
logout();
}
onFailure(
parsed['ErrorEndUserMessage'] ?? parsed['ErrorMessage'],
statusCode);
}
} else if (parsed['MessageStatus'] == 1 ||
parsed['SMSLoginRequired'] == true) {
@ -167,13 +162,9 @@ class BaseAppClient {
if (parsed['SameClinicApptList'] != null) {
onSuccess(parsed, statusCode);
} else {
if (parsed['message'] != null) {
onFailure(parsed['message'] ?? parsed['message'], statusCode);
} else {
onFailure(
parsed['ErrorEndUserMessage'] ?? parsed['ErrorMessage'],
statusCode);
}
onFailure(
parsed['ErrorEndUserMessage'] ?? parsed['ErrorMessage'],
statusCode);
}
}
}
@ -234,41 +225,8 @@ class BaseAppClient {
}
}
getPharmacy(String endPoint,
{Function(dynamic response, int statusCode) onSuccess,
Function(String error, int statusCode) onFailure,
bool isAllowAny = false,
Map<String, String> queryParams}) async {
String url = PHARMACY_BASE_URL + endPoint;
if (queryParams != null) {
String queryString = Uri(queryParameters: queryParams).query;
url += '?' + queryString;
}
print("URL : $url");
if (await Utils.checkConnection()) {
final response = await http.get(url.trim(), headers: {
'Content-Type': 'application/json',
'Accept': 'application/json'
});
final int statusCode = response.statusCode;
print("statusCode :$statusCode");
if (statusCode < 200 || statusCode >= 400 || json == null) {
onFailure('Error While Fetching data', statusCode);
} else {
var parsed = json.decode(response.body.toString());
onSuccess(parsed, statusCode);
}
} else {
onFailure('Please Check The Internet Connection', -1);
}
}
logout() async {
await sharedPref.remove(LOGIN_TOKEN_ID);
await sharedPref.remove(PHARMACY_CUSTOMER_ID);
await authenticatedUserObject.getUser();
Provider.of<ProjectViewModel>(AppGlobal.context, listen: false).isLogin =
false;

@ -1,56 +0,0 @@
import 'package:diplomaticquarterapp/config/config.dart';
import 'package:diplomaticquarterapp/core/model/pharmacy/offer_products_model.dart';
import 'package:diplomaticquarterapp/core/model/pharmacy/offers_model.dart';
import 'base_service.dart';
class OffersCategoriseService extends BaseService {
List<OffersModel> _offersList = List();
List<OffersModel> get offersList => _offersList;
List<OfferProductsModel> _offerProducts = List();
List<OfferProductsModel> get offersProducts => _offerProducts;
clearCategorise() {
_offerProducts.clear();
}
// clearCategorise2() {
// _offersList.clear();
// }
Future getOffersCategorise() async {
hasError = false;
_offersList.clear();
await baseAppClient.get(
GET_OFFERS_CATEGORISE,
onSuccess: (dynamic response, int statusCode) {
response['categories'].forEach((item) {
_offersList.add(OffersModel.fromJson(item));
});
},
onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
},
);
}
Future getOffersProducts({String id}) async {
hasError = false;
_offerProducts.clear();
String endPoint =
id != null ? GET_OFFERS_PRODUCTS + "$id" : GET_OFFERS_PRODUCTS + "1";
await baseAppClient.get(
endPoint,
onSuccess: (dynamic response, int statusCode) {
response['products'].forEach((item) {
_offerProducts.add(OfferProductsModel.fromJson(item));
});
},
onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
},
);
}
}

@ -1,50 +0,0 @@
import 'package:diplomaticquarterapp/config/config.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/ListUserAgreement.dart';
import 'lacum-service.dart';
class LacumRegistrationService extends LacumService{
ListUserAgreement listUserAgreement;
Future getLacumAccountInformationById(String patientIdentificationNo) async {
hasError = false;
super.error = "";
Map<String, dynamic> body = Map();
body['IdentificationNo'] = patientIdentificationNo;
try {
await baseAppClient.post(GET_LACUM_ACCOUNT_INFORMATION,
onSuccess: (response, statusCode) async {
lacumInformation = LacumAccountInformation.fromJson(response);
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, body: body);
} catch (error) {
throw error;
}
}
Future getUserTermsAndConditionsForEPharmcy() async {
hasError = false;
super.error = "";
Map<String, dynamic> body = Map();
try {
await baseAppClient.post(LAKUM_GET_USER_TERMS_AND_CONDITIONS,
onSuccess: (response, statusCode) async {
listUserAgreement = ListUserAgreement.fromJson(response['ListUserAgreement'][0]);
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, body: body);
} catch (error) {
throw error;
}
}
}

@ -1,133 +0,0 @@
import 'package:diplomaticquarterapp/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart';
class LacumService extends BaseService{
bool isFinished = true;
bool hasError = false;
String errorMsg = '';
String successMsg = '';
LacumAccountInformation lacumInformation;
LacumAccountInformation lacumGroupInformation;
Future getLacumAccountInformation() async {
hasError = false;
super.error = "";
Map<String, dynamic> body = Map();
body['IdentificationNo'] = user.patientIdentificationNo;
try {
await baseAppClient.post(GET_LACUM_ACCOUNT_INFORMATION,
onSuccess: (response, statusCode) async {
lacumInformation = LacumAccountInformation.fromJson(response);
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, body: body);
} catch (error) {
throw error;
}
}
Future getLacumGroupInformation() async {
hasError = false;
super.error = "";
Map<String, dynamic> body = Map();
body['IdentificationNo'] = user.patientIdentificationNo;
body['AccountNumber'] = "${lacumInformation.yahalaAccountNo}";
body['IsDetailsRequired'] = true;
try {
await baseAppClient.post(GET_LACUM_GROUP_INFORMATION,
onSuccess: (response, statusCode) async {
lacumGroupInformation = LacumAccountInformation.fromJson(response);
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, body: body);
} catch (error) {
throw error;
}
}
Future makeAccountActivate() async {
hasError = false;
super.error = "";
int yahalaAccountNo = lacumInformation.yahalaAccountNo;
Map<String, dynamic> body = Map();
body['CreatedBy'] = 103;
body['YahalaAccountNumber'] = yahalaAccountNo;
try {
await baseAppClient.post(LACUM_ACCOUNT_ACTIVATE,
onSuccess: (response, statusCode) async {
// lacumInformation = LacumAccountInformation.fromJson(response);
// lacumInformation.yahalaAccountNo = yahalaAccountNo;
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, body: body);
} catch (error) {
throw error;
}
}
Future makeAccountDeactivate() async {
hasError = false;
super.error = "";
int yahalaAccountNo = lacumInformation.yahalaAccountNo;
Map<String, dynamic> body = Map();
body['CreatedBy'] = 103;
body['YahalaAccountNumber'] = yahalaAccountNo;
try {
await baseAppClient.post(LACUM_ACCOUNT_DEACTIVATE,
onSuccess: (response, statusCode) async {
// lacumInformation = LacumAccountInformation.fromJson(response);
// lacumInformation.yahalaAccountNo = yahalaAccountNo;
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, body: body);
} catch (error) {
throw error;
}
}
Future createLakumAccount(String name, String phone, int accountID, String patientIdentificationID, var prefLang) async {
hasError = false;
super.error = "";
if(prefLang == null){
var languageID =
await sharedPref.getStringWithDefaultValue(APP_LANGUAGE, 'en');
prefLang = languageID == 'ar' ? 1 : 2;
}
Map<String, dynamic> body = Map();
body['PrefLang'] = prefLang;
body['AccountID'] = accountID;
body['FullName'] = name;
body['MobileNo'] = phone;
body['PatientIdentificationID'] = patientIdentificationID;
body['PatientID'] = user.patientID;
try {
await baseAppClient.post(CREATE_LAKUM_ACCOUNT,
onSuccess: (response, statusCode) async {
successMsg = LacumAccountInformation.fromJson(response).message;
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, body: body);
} catch (error) {
throw error;
}
}
}

@ -1,57 +0,0 @@
import 'package:diplomaticquarterapp/config/config.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart';
import 'lacum-service.dart';
class LacumTransferService extends LacumService{
LacumAccountInformation lacumReceiverInformation;
Future getLacumGroupDataBuAccountId(String accountId) async {
hasError = false;
super.error = "";
Map<String, dynamic> body = Map();
body['IdentificationNo'] = user.patientIdentificationNo;
body['AccountNumber'] = accountId;
try {
await baseAppClient.post(GET_LACUM_GROUP_INFORMATION,
onSuccess: (response, statusCode) async {
lacumReceiverInformation = LacumAccountInformation.fromJson(response);
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
return null;
}, body: body);
} catch (error) {
throw error;
}
}
Future transferYaHalaLoyaltyPoints(String points) async {
hasError = false;
super.error = "";
Map<String, dynamic> body = Map();
body['MobileNo'] = lacumGroupInformation.lakumInquiryInformationObjVersion.mobileNumber;
body['UserName'] = lacumGroupInformation.lakumInquiryInformationObjVersion.memberName;
body['YaHalaSenderAccNumber'] = lacumGroupInformation.lakumInquiryInformationObjVersion.accountNumber;
body['Yahala_IdentificationNo'] = lacumGroupInformation.lakumInquiryInformationObjVersion.memberUniversalId;
body['YaHalaPointsToTransfer'] = points;
body['YaHalaReceiverAccNumber'] = lacumReceiverInformation.lakumInquiryInformationObjVersion.accountNumber;
body['YaHalaReceiverMobileNumber'] = lacumReceiverInformation.lakumInquiryInformationObjVersion.mobileNumber;
body['YaHalaReceiverName'] = lacumReceiverInformation.lakumInquiryInformationObjVersion.memberName;
try {
await baseAppClient.post(TRANSFER_YAHALA_LOYALITY_POINTS,
onSuccess: (response, statusCode) async {
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, body: body);
} catch (error) {
throw error;
}
}
}

@ -1,248 +1,29 @@
import 'package:diplomaticquarterapp/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/ShoppingCart.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/payment-checkout-data.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart';
import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart';
class OrderPreviewService extends BaseService {
class OrderPreviewService extends BaseService{
bool isFinished = true;
bool hasError = false;
String errorMsg = '';
List<Addresses> addresses = List();
LacumAccountInformation lacumInformation;
LacumAccountInformation lacumGroupInformation;
Future getAddresses() async {
var customerId = await sharedPref.getString(PHARMACY_CUSTOMER_ID);
Map<String, String> queryParams = {'fields': 'addresses'};
Future getBannerListList() async {
hasError = false;
try {
await baseAppClient.get("$GET_CUSTOMERS_ADDRESSES$customerId",
await baseAppClient.get(GET_CUSTOMERS_ADDRESSES,
onSuccess: (dynamic response, int statusCode) {
addresses.clear();
response['customers'][0]['addresses'].forEach((item) {
addresses.add(Addresses.fromJson(item));
});
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, queryParams: queryParams);
} catch (error) {
throw error;
}
}
Future<Map> getShippingOption(Addresses selectedAddress) async {
var customerId = await sharedPref.getString(PHARMACY_CUSTOMER_ID);
Map<String, String> queryParams = Map();
dynamic localRes;
hasError = false;
try {
await baseAppClient.get("$GET_SHIPPING_OPTIONS$customerId/${selectedAddress.id}",
onSuccess: (dynamic response, int statusCode) {
localRes = response['shipping_option'][0];
addresses.clear();
response['customers'][0]['addresses'].forEach((item) {
addresses.add(Addresses.fromJson(item));
});
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, queryParams: queryParams);
});
} catch (error) {
throw error;
}
return Future.value(localRes);
}
Future<Map> getShoppingCart() async {
var customerId = await sharedPref.getString(PHARMACY_CUSTOMER_ID);
Map<String, String> queryParams = {'shopping_cart_type': '1'};
dynamic localRes;
hasError = false;
try {
await baseAppClient.get("$GET_SHOPPING_CART$customerId",
onSuccess: (dynamic response, int statusCode) {
localRes = response;
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, queryParams: queryParams);
} catch (error) {
throw error;
}
return Future.value(localRes);
}
Future<Map> changeProductQuantity(
String productId, ShoppingCart product) async {
hasError = false;
super.error = "";
dynamic localRes;
Map<String, dynamic> choppingCartObject = Map();
choppingCartObject['id'] = product.id;
choppingCartObject['quantity'] = product.quantity;
choppingCartObject['shopping_cart_type'] = "1";
choppingCartObject['product_id'] = product.productId;
choppingCartObject['customer_id'] = product.customerId;
Map<String, dynamic> body = Map();
body["shopping_cart_item"] = choppingCartObject;
await baseAppClient.post("$GET_SHOPPING_CART$productId",
onSuccess: (response, statusCode) async {
localRes = response;
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, body: body);
return Future.value(localRes);
}
Future<Map> deleteProduct(String productId) async {
hasError = false;
super.error = "";
dynamic localRes;
Map<String, dynamic> body = Map();
await baseAppClient.post("$DELETE_SHOPPING_CART$productId",
onSuccess: (response, statusCode) async {
localRes = response;
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, body: body);
return Future.value(localRes);
}
Future<Map> deleteShoppingCart() async {
var customerId = await sharedPref.getString(PHARMACY_CUSTOMER_ID);
hasError = false;
super.error = "";
dynamic localRes;
await baseAppClient.get("$DELETE_SHOPPING_CART_ALL$customerId/ShoppingCart",
onSuccess: (response, statusCode) async {
localRes = response;
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
});
return Future.value(localRes);
}
Future getLacumAccountInformation() async {
hasError = false;
super.error = "";
Map<String, dynamic> body = Map();
body['IdentificationNo'] = user.patientIdentificationNo;
try {
await baseAppClient.post(GET_LACUM_ACCOUNT_INFORMATION,
onSuccess: (response, statusCode) async {
lacumInformation = LacumAccountInformation.fromJson(response);
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, body: body);
} catch (error) {
throw error;
}
}
Future getLacumGroupInformation() async {
hasError = false;
super.error = "";
Map<String, dynamic> body = Map();
body['IdentificationNo'] = user.patientIdentificationNo;
body['AccountNumber'] = "${lacumInformation.yahalaAccountNo}";
try {
await baseAppClient.post(GET_LACUM_GROUP_INFORMATION,
onSuccess: (response, statusCode) async {
lacumGroupInformation = LacumAccountInformation.fromJson(response);
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, body: body);
} catch (error) {
throw error;
}
}
Future makeOrder(PaymentCheckoutData paymentCheckoutData, List<ShoppingCart> shoppingCarts) async {
paymentCheckoutData.address.isChecked = true;
hasError = false;
super.error = "";
var languageID =
await sharedPref.getStringWithDefaultValue(APP_LANGUAGE, 'en');
var customerId = await sharedPref.getString(PHARMACY_CUSTOMER_ID);
Map<String, dynamic> orderBody = Map();
orderBody['rx_attachments'] = "";
orderBody['customer_language_id'] = languageID == 'ar' ? 1 : 2;
orderBody['billing_address'] = paymentCheckoutData.address;
orderBody['pick_up_in_store'] = false;
orderBody['payment_method_system_name'] = "Payments.PayFort";
orderBody['shipping_method'] = languageID == 'ar' ? paymentCheckoutData.shippingOption.namen : paymentCheckoutData.shippingOption.name ;
orderBody['shipping_rate_computation_method_system_name'] = paymentCheckoutData.shippingOption.shippingRateComputationMethodSystemName;
orderBody['customer_id'] = customerId;
orderBody['custom_values_xml'] = "PaymentOption:${getPaymentOptionName(paymentCheckoutData.paymentOption)}";
orderBody['shippingOption'] = paymentCheckoutData.shippingOption;
orderBody['shipping_address'] = paymentCheckoutData.address;
orderBody['lakum_amount'] = paymentCheckoutData.usedLakumPoints;
List<Map<String, dynamic>> itemsList = List();
shoppingCarts.forEach((item) {
Map<String, dynamic> orderItemsBody = Map();
orderItemsBody['product_id'] = item.product.id;
orderItemsBody['quantity'] = item.quantity;
itemsList.add(orderItemsBody);
});
orderBody['order_items'] = itemsList;
Map<String, dynamic> body = Map();
body['order'] = orderBody;
try {
await baseAppClient.post(ORDER_SHOPPING_CART,
onSuccess: (response, statusCode) async {
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, body: body);
} catch (error) {
throw error;
}
}
String getPaymentOptionName(PaymentOption paymentOption) {
switch (paymentOption.index) {
case 0:
return "MADA";
break;
case 1:
return "SADAD";
break;
case 2:
return "VISA";
break;
case 3:
return "MASTERCARD";
break;
case 4:
return "INSTALLMENT";
break;
default:
return "";
}
}
}
}

@ -4,10 +4,8 @@ import 'package:diplomaticquarterapp/core/model/pharmacies/Manufacturer.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyImageObject.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart';
import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart';
class PharmacyModuleService extends BaseService {
final AppSharedPreferences sharedPref = AppSharedPreferences();
bool isFinished = true;
bool hasError = false;
String errorMsg = '';
@ -17,55 +15,6 @@ class PharmacyModuleService extends BaseService {
List<PharmacyProduct> bestSellerProducts = List();
List<PharmacyProduct> lastVisitedProducts = List();
Future makeVerifyCustomer(dynamic data) async {
Map<String, String> queryParams = {'FileNumber': data['PatientID'].toString()};
hasError = false;
try {
await baseAppClient.get(PHARMACY_VERIFY_CUSTOMER,
onSuccess: (dynamic response, int statusCode) {
if (response['UserName'] != null) {
sharedPref.setString(PHARMACY_CUSTOMER_ID, response['CustomerId'].toString());
print(response);
} else {
createUser();
}
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, queryParams: queryParams);
} catch (error) {
throw error;
}
}
Future createUser() async {
var data = await sharedPref.getObject(USER_PROFILE);
var languageID = await sharedPref.getString(APP_LANGUAGE);
Map<String, String> queryParams = {
'Phone': data['MobileNumber'],
'Email': data['EmailAddress'],
'FileNumber': data['PatientID'].toString(),
'Language': languageID.toString(),
'Gender': data['Gender'].toString(),
'FirstName': data['FirstName'],
'LastName': data['LastName'],
'LanguageId': languageID.toString(),
'CountryCode': data['ZipCode'],
};
hasError = false;
try {
await baseAppClient.get(PHARMACY_CREATE_CUSTOMER,
onSuccess: (dynamic response, int statusCode) {
if (!response['IsRegistered']) {}
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, queryParams: queryParams);
} catch (error) {
throw error;
}
}
Future getBannerListList() async {
hasError = false;
try {
@ -91,10 +40,7 @@ class PharmacyModuleService extends BaseService {
onSuccess: (dynamic response, int statusCode) {
manufacturerList.clear();
response['manufacturer'].forEach((item) {
Manufacturer manufacturer = Manufacturer.fromJson(item);
if(manufacturer.image != null){
manufacturerList.add(Manufacturer.fromJson(item));
}
manufacturerList.add(Manufacturer.fromJson(item));
});
}, onFailure: (String error, int statusCode) {
hasError = true;
@ -135,14 +81,14 @@ class PharmacyModuleService extends BaseService {
try {
await baseAppClient.get("$GET_PHARMACY_PRODUCTs_BY_IDS$lastVisited",
onSuccess: (dynamic response, int statusCode) {
lastVisitedProducts.clear();
response['products'].forEach((item) {
lastVisitedProducts.add(PharmacyProduct.fromJson(item));
});
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
});
lastVisitedProducts.clear();
response['products'].forEach((item) {
lastVisitedProducts.add(PharmacyProduct.fromJson(item));
});
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
});
} catch (error) {
throw error;
}

@ -1,33 +0,0 @@
import 'package:diplomaticquarterapp/config/config.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/ListUserAgreement.dart';
import '../base_service.dart';
class TermsConditionService extends BaseService{
bool isFinished = true;
bool hasError = false;
String errorMsg = '';
String successMsg = '';
ListUserAgreement listUserAgreement;
Future getUserTermsAndConditionsForEPharmcy() async {
hasError = false;
super.error = "";
Map<String, dynamic> body = Map();
try {
await baseAppClient.post(LAKUM_GET_USER_TERMS_AND_CONDITIONS,
onSuccess: (response, statusCode) async {
listUserAgreement = ListUserAgreement.fromJson(response['ListUserAgreement'][0]);
}, onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
}, body: body);
} catch (error) {
throw error;
}
}
}

@ -1,225 +0,0 @@
import 'package:diplomaticquarterapp/config/config.dart';
import 'package:diplomaticquarterapp/core/model/pharmacy/brands_model.dart';
import 'package:diplomaticquarterapp/core/model/pharmacy/categorise_parent_model.dart';
import 'package:diplomaticquarterapp/core/model/pharmacy/final_products_model.dart';
import 'package:diplomaticquarterapp/core/model/pharmacy/parent_products_model.dart';
import 'package:diplomaticquarterapp/core/model/pharmacy/pharmacy_categorise.dart';
import 'package:diplomaticquarterapp/core/model/pharmacy/scan_qr_model.dart';
import 'package:diplomaticquarterapp/core/model/pharmacy/sub_categories_model.dart';
import 'package:diplomaticquarterapp/core/model/pharmacy/sub_products_model.dart';
import 'package:diplomaticquarterapp/core/model/search_products_model.dart';
import 'base_service.dart';
class PharmacyCategoriseService extends BaseService {
//service one
List<PharmacyCategorise> _categoriseList = List();
List<PharmacyCategorise> get categoriseList => _categoriseList;
//service two
List<CategoriseParentModel> _parentCategoriseList = List();
List<CategoriseParentModel> get parentCategoriseList => _parentCategoriseList;
//service three
List<ParentProductsModel> _parentProductsList = List();
List<ParentProductsModel> get parentProductsList => _parentProductsList;
//service four
List<SubCategoriesModel> _subCategoriseList = List();
List<SubCategoriesModel> get subCategoriseList => _subCategoriseList;
//service five
List<SubProductsModel> _subProductsList = List();
List<SubProductsModel> get subProductsList => _subProductsList;
//service six
List<FinalProductsModel> _finalProducts = List();
List<FinalProductsModel> get finalProducts => _finalProducts;
//service 7
List<BrandsModel> _brandsList = List();
List<BrandsModel> get brandsList => _brandsList;
// service 8
List<SearchProductsModel> _searchList = List();
List<SearchProductsModel> get searchList => _searchList;
List<ScanQrModel> _scanList = List();
List<ScanQrModel> get scanList => _scanList;
clearSearchList() {
_searchList.clear();
}
Future getCategorise() async {
hasError = false;
_categoriseList.clear();
await baseAppClient.get(
GET_PHARMACY_CATEGORISE,
onSuccess: (dynamic response, int statusCode) {
response['categories'].forEach((item) {
_categoriseList.add(PharmacyCategorise.fromJson(item));
});
},
onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
},
);
}
Future scanQr({String id}) async {
hasError = false;
_scanList.clear();
String endPoint = id != null ? SCAN_QR_CODE + "$id" : SCAN_QR_CODE + "";
await baseAppClient.get(
endPoint,
onSuccess: (dynamic response, int statusCode) {
response['products'].forEach((item) {
_scanList.add(ScanQrModel.fromJson(item));
});
},
onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
},
);
}
Future searchProducts({String productName}) async {
hasError = false;
_searchList.clear();
String endPoint = productName != null
? GET_SEARCH_PRODUCTS + "$productName" + '&language_id=1'
: GET_SEARCH_PRODUCTS + "";
await baseAppClient.get(
endPoint,
onSuccess: (dynamic response, int statusCode) {
response['products'].forEach((item) {
_searchList.add(SearchProductsModel.fromJson(item));
});
},
onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
},
);
}
Future getBrands() async {
hasError = false;
_brandsList.clear();
await baseAppClient.get(
GET_BRANDS_LIST,
onSuccess: (dynamic response, int statusCode) {
response['manufacturer'].forEach((item) {
_brandsList.add(BrandsModel.fromJson(item));
});
},
onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
},
);
}
Future getCategoriseParent({String id}) async {
hasError = false;
_parentCategoriseList.clear();
String endPoint =
id != null ? GET_CATEGORISE_PARENT + "$id" : GET_CATEGORISE_PARENT + "";
await baseAppClient.get(
endPoint,
onSuccess: (dynamic response, int statusCode) {
response['categories'].forEach((item) {
_parentCategoriseList.add(CategoriseParentModel.fromJson(item));
});
},
onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
},
);
}
Future getParentProducts({String id}) async {
hasError = false;
_parentProductsList.clear();
String endPoint = id != null
? GET_PARENT_PRODUCTS + "$id" + '&page=1&limit=50'
: GET_PARENT_PRODUCTS + "";
await baseAppClient.get(
endPoint,
onSuccess: (dynamic response, int statusCode) {
response['products'].forEach((item) {
_parentProductsList.add(ParentProductsModel.fromJson(item));
});
},
onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
},
);
}
Future getSubCategorise({String id}) async {
hasError = false;
_subCategoriseList.clear();
String endPoint =
id != null ? GET_SUB_CATEGORISE + "$id" : GET_SUB_CATEGORISE + "";
await baseAppClient.get(
endPoint,
onSuccess: (dynamic response, int statusCode) {
response['categories'].forEach((item) {
_subCategoriseList.add(SubCategoriesModel.fromJson(item));
});
},
onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
},
);
}
Future getSubProducts({String id}) async {
hasError = false;
_subProductsList.clear();
String endPoint = id != null
? GET_SUB_PRODUCTS + "$id" + '&page=1&limit=50'
: GET_SUB_PRODUCTS + "";
await baseAppClient.get(
endPoint,
onSuccess: (dynamic response, int statusCode) {
response['products'].forEach((item) {
_subProductsList.add(SubProductsModel.fromJson(item));
});
},
onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
},
);
}
Future getFinalProducts({String id}) async {
hasError = false;
_finalProducts.clear();
String endPoint =
id != null ? GET_FINAL_PRODUCTS + "$id" : GET_FINAL_PRODUCTS + "";
await baseAppClient.get(
endPoint,
onSuccess: (dynamic response, int statusCode) {
response['products'].forEach((item) {
_finalProducts.add(FinalProductsModel.fromJson(item));
});
},
onFailure: (String error, int statusCode) {
hasError = true;
super.error = error;
},
);
}
}

@ -1,48 +0,0 @@
import 'package:diplomaticquarterapp/core/enum/viewstate.dart';
import 'package:diplomaticquarterapp/core/model/pharmacy/offer_products_model.dart';
import 'package:diplomaticquarterapp/core/model/pharmacy/offers_model.dart';
import 'package:diplomaticquarterapp/core/service/offers_service.dart';
import 'package:diplomaticquarterapp/locator.dart';
import 'base_view_model.dart';
class OffersCategoriseViewModel extends BaseViewModel {
bool hasError = false;
OffersCategoriseService _offersCategoriseService =
locator<OffersCategoriseService>();
List<OffersModel> get categorise => _offersCategoriseService.offersList;
List<OfferProductsModel> get products =>
_offersCategoriseService.offersProducts;
Future getOffersCategorise() async {
hasError = false;
_offersCategoriseService.clearCategorise();
setState(ViewState.Busy);
await _offersCategoriseService.getOffersCategorise();
if (_offersCategoriseService.hasError) {
error = _offersCategoriseService.error;
setState(ViewState.ErrorLocal);
} else
await getOffersProducts();
}
Future getOffersProducts({String i}) async {
hasError = false;
setState(ViewState.Busy);
await _offersCategoriseService.getOffersProducts(id: i);
if (_offersCategoriseService.hasError) {
error = _offersCategoriseService.error;
setState(ViewState.ErrorLocal);
} else
setState(ViewState.Idle);
}
}
// await _offersCategoriseService.getOffersProducts();
// if (_offersCategoriseService.hasError) {
// error = _offersCategoriseService.error;
// setState(ViewState.ErrorLocal);
// } else
// setState(ViewState.Idle);

@ -1,11 +1,3 @@
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/enum/viewstate.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/ShippingOption.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/ShoppingCart.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/ShoppingCartResponse.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/payment-checkout-data.dart';
import 'package:diplomaticquarterapp/core/service/parmacyModule/order-preview-service.dart';
import '../../../locator.dart';
@ -13,183 +5,4 @@ import '../base_view_model.dart';
class OrderPreviewViewModel extends BaseViewModel {
OrderPreviewService _orderService = locator<OrderPreviewService>();
List<Addresses> get addresses => _orderService.addresses;
LacumAccountInformation get lacumInformation =>
_orderService.lacumInformation;
ShoppingCartResponse cartResponse = ShoppingCartResponse();
PaymentCheckoutData paymentCheckoutData = PaymentCheckoutData();
double totalAdditionalShippingCharge = 0;
Future getOrderPreviewData() async {
setState(ViewState.Busy);
await _orderService.getAddresses();
if (_orderService.hasError) {
error = _orderService.error;
setState(ViewState.Error);
} else {
getShoppingCart();
}
}
getShoppingCart() async {
setState(ViewState.Busy);
await _orderService.getShoppingCart().then((res) {
_handleGetShoppingCartResponse(res);
});
if (_orderService.hasError) {
error = _orderService.error;
setState(ViewState.Error);
} else {
if (paymentCheckoutData != null) {
paymentCheckoutData.cartDataVisible = true;
}
setState(ViewState.Idle);
}
}
changeProductQuantity(ShoppingCart product) async {
setState(ViewState.Busy);
await _orderService.changeProductQuantity(product.id, product).then((res) {
_handleGetShoppingCartResponse(res);
});
if (_orderService.hasError) {
error = _orderService.error;
setState(ViewState.Error);
} else {
setState(ViewState.Idle);
}
}
deleteProduct(ShoppingCart product) async {
setState(ViewState.Busy);
await _orderService.deleteProduct(product.id).then((res) {
_handleGetShoppingCartResponse(res);
});
if (_orderService.hasError) {
error = _orderService.error;
setState(ViewState.Error);
} else {
setState(ViewState.Idle);
}
}
deleteShoppingCart() async {
setState(ViewState.Busy);
await _orderService.deleteShoppingCart().then((res) {
_handleGetShoppingCartResponse(res);
});
if (_orderService.hasError) {
error = _orderService.error;
setState(ViewState.Error);
} else {
setState(ViewState.Idle);
}
}
_handleGetShoppingCartResponse(Map res) {
totalAdditionalShippingCharge = 0;
if (res == null) {
error = "response is null";
setState(ViewState.Error);
return;
}
print(res);
cartResponse.itemCount = res["item_count"];
cartResponse.quantityCount = res["quantity_count"];
cartResponse.subtotal = res["subtotal"];
cartResponse.subtotalWithVat = res["subtotal_with_vat"];
cartResponse.subtotalVatAmount = res["subtotal_vat_amount"];
cartResponse.subtotalVatRate = res["subtotal_vat_rate"];
cartResponse.shoppingCarts = List();
res["shopping_carts"].forEach((item) {
ShoppingCart shoppingCart = ShoppingCart.fromJson(item);
cartResponse.shoppingCarts.add(shoppingCart);
totalAdditionalShippingCharge += shoppingCart.product.additionalShippingCharge;
});
cartResponse.updateShoppingCard();
}
String getPaymentOptionImage(PaymentOption paymentOption) {
String assetFile = "assets/images/pharmacy_module/payment/";
switch (paymentOption.index) {
case 0:
return "${assetFile}mada.png";
break;
case 1:
return "${assetFile}sadad.png";
break;
case 2:
return "${assetFile}visa.png";
break;
case 3:
return "${assetFile}mastercard.png";
break;
case 4:
return "${assetFile}installment.png";
break;
default:
return "";
}
}
String getPaymentOptionName(PaymentOption paymentOption) {
return _orderService.getPaymentOptionName(paymentOption);
}
getInformationsByAddress() async {
await getLacumAccountInformation();
await getShippingOption();
}
getLacumAccountInformation() async {
setState(ViewState.Busy);
await _orderService.getLacumAccountInformation();
if (_orderService.hasError) {
error = _orderService.error;
setState(ViewState.Error);
} else {
getLacumGroupData();
}
}
Future getLacumGroupData() async {
setState(ViewState.Busy);
await _orderService.getLacumGroupInformation();
paymentCheckoutData.lacumInformation = _orderService.lacumGroupInformation;
paymentCheckoutData.usedLakumPoints = paymentCheckoutData.lacumInformation.lakumInquiryInformationObjVersion.pointsBalanceAmount;
if (_orderService.hasError) {
error = _orderService.error;
setState(ViewState.Error);
} else {
setState(ViewState.Idle);
}
}
getShippingOption() async {
setState(ViewState.Busy);
await _orderService.getShippingOption(paymentCheckoutData.address).then((res) {
paymentCheckoutData.shippingOption = ShippingOption.fromJson(res);
paymentCheckoutData.updateData();
});
if (_orderService.hasError) {
error = _orderService.error;
setState(ViewState.Error);
} else {
setState(ViewState.Idle);
}
}
Future makeOrder() async {
setState(ViewState.Busy);
await _orderService.makeOrder(paymentCheckoutData, cartResponse.shoppingCarts);
if (_orderService.hasError) {
error = _orderService.error;
setState(ViewState.Error);
} else {
setState(ViewState.Idle);
}
}
}
enum PaymentOption { meda, sadad, visa, mastercard, installments }

@ -1,24 +0,0 @@
import 'package:diplomaticquarterapp/core/enum/viewstate.dart';
import 'package:diplomaticquarterapp/services/pharmacy_services/pharmacyAddress_service.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyAddressesModel.dart';
import '../../../locator.dart';
import '../base_view_model.dart';
class PharmacyAddressesViewModel extends BaseViewModel {
PharmacyAddressService _PharmacyAddressService = locator<PharmacyAddressService>();
List<PharmacyAddressesModel> get address => _PharmacyAddressService.address;
Future getAddress() async {
setState(ViewState.Busy);
await _PharmacyAddressService.getAddress();
if (_PharmacyAddressService.hasError) {
error = _PharmacyAddressService.error;
setState(ViewState.Error);
} else {
}
}
}

@ -1,55 +0,0 @@
import 'package:diplomaticquarterapp/core/enum/viewstate.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/ListUserAgreement.dart';
import 'package:diplomaticquarterapp/core/service/parmacyModule/lacum-registration-service.dart';
import 'package:diplomaticquarterapp/core/service/parmacyModule/lacum-transfer-service.dart';
import '../../../locator.dart';
import 'lacum-viewmodel.dart';
class LacumRegistrationViewModel extends LacumViewModel {
LacumRegistrationService _lacumService = locator<LacumRegistrationService>();
ListUserAgreement get listUserAgreement => _lacumService.listUserAgreement;
Future checkLacumAccountActivation(String patientIdentificationNo) async {
setState(ViewState.Busy);
await _lacumService.getLacumAccountInformationById(patientIdentificationNo);
if (_lacumService.hasError) {
error = _lacumService.error;
setState(ViewState.Error);
} else {
if(_lacumService.lacumInformation.yahalaAccountNo != 0){
error = "The account has already been activated";
setState(ViewState.Error);
} else {
setState(ViewState.Idle);
}
}
}
Future getUserTermsAndConditionsForEPharmcy() async {
setState(ViewState.Busy);
await _lacumService.getUserTermsAndConditionsForEPharmcy();
if (_lacumService.hasError) {
error = _lacumService.error;
setState(ViewState.Error);
} else {
setState(ViewState.Idle);
}
}
Future<int> createNewLakumAccount(String name, String phone, String identificationNo, int languageId) async {
setState(ViewState.Busy);
await _lacumService.createLakumAccount(name, phone, 0, identificationNo, languageId);
if (_lacumService.hasError) {
error = _lacumService.error;
setState(ViewState.Error);
return 404;
} else {
setState(ViewState.Idle);
return 200;
}
}
}

@ -1,42 +0,0 @@
import 'package:diplomaticquarterapp/core/enum/viewstate.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart';
import 'package:diplomaticquarterapp/core/service/parmacyModule/lacum-transfer-service.dart';
import '../../../locator.dart';
import 'lacum-viewmodel.dart';
class LacumTranferViewModel extends LacumViewModel {
LacumTransferService _lacumService = locator<LacumTransferService>();
LacumAccountInformation get lacumReceiverInformation =>
_lacumService.lacumReceiverInformation;
Future getLacumGroupDataBuAccountId(String accountId) async {
setState(ViewState.Busy);
await _lacumService.getLacumGroupDataBuAccountId(accountId);
if (_lacumService.hasError) {
error = _lacumService.error;
setState(ViewState.Error);
} else {
setState(ViewState.Idle);
}
}
Future<int> transferYaHalaLoyaltyPoints(String points) async {
setState(ViewState.Busy);
await _lacumService.transferYaHalaLoyaltyPoints(points);
if (_lacumService.hasError) {
error = _lacumService.error;
setState(ViewState.Error);
return 404;
} else {
setState(ViewState.Idle);
return 200;
}
}
setLakumData(LacumAccountInformation lacumInformation, LacumAccountInformation lacumGroupInformation){
_lacumService.lacumInformation = lacumInformation;
_lacumService.lacumGroupInformation = lacumGroupInformation;
}
}

@ -1,111 +0,0 @@
import 'dart:typed_data';
import 'package:diplomaticquarterapp/core/enum/viewstate.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart';
import 'package:diplomaticquarterapp/core/service/parmacyModule/lacum-service.dart';
import 'package:diplomaticquarterapp/uitl/date_uitl.dart';
import 'dart:async';
import 'dart:convert' as convert;
import '../../../locator.dart';
import '../base_view_model.dart';
class LacumViewModel extends BaseViewModel {
LacumService _lacumService = locator<LacumService>();
LacumAccountInformation get lacumInformation =>
_lacumService.lacumInformation;
LacumAccountInformation get lacumGroupInformation =>
_lacumService.lacumGroupInformation;
Future getLacumData() async {
await getLacumAccountData();
getLacumGroupData();
}
Future getLacumAccountData() async {
setState(ViewState.Busy);
await _lacumService.getLacumAccountInformation();
if (_lacumService.hasError) {
error = _lacumService.error;
setState(ViewState.Error);
} else {
setState(ViewState.Idle);
}
}
Future getLacumGroupData() async {
setState(ViewState.Busy);
await _lacumService.getLacumGroupInformation();
if (_lacumService.hasError) {
error = _lacumService.error;
setState(ViewState.Error);
} else {
setState(ViewState.Idle);
}
}
Future makeAccountActivate() async {
setState(ViewState.Busy);
await _lacumService.makeAccountActivate();
if (_lacumService.hasError) {
error = _lacumService.error;
setState(ViewState.Error);
} else {
lacumGroupInformation.lakumInquiryInformationObjVersion.accountStatus = "Active";
getLacumAccountData();
}
}
Future makeAccountDeactivate() async {
setState(ViewState.Busy);
await _lacumService.makeAccountDeactivate();
if (_lacumService.hasError) {
error = _lacumService.error;
setState(ViewState.Error);
} else {
lacumGroupInformation.lakumInquiryInformationObjVersion.accountStatus = "Cancelled";
getLacumAccountData();
}
}
Future<int> createLakumAccount(String name, String phone) async {
setState(ViewState.Busy);
await _lacumService.createLakumAccount(name, phone, lacumInformation.yahalaAccountNo, lacumInformation.identificationNo, null);
if (_lacumService.hasError) {
error = _lacumService.error;
setState(ViewState.Error);
return 404;
} else {
setState(ViewState.Idle);
return 200;
}
}
String formatCreatedDateToString() {
DateTime createdDate = DateUtil.convertStringToDate(
lacumGroupInformation.lakumInquiryInformationObjVersion.createdDate);
return DateUtil.getFormattedDate(createdDate, "MMM dd,yyyy");
}
Uint8List convertBase64ToBarCodeImage() {
try {
final _byteImage = convert.base64Decode(
lacumGroupInformation.lakumInquiryInformationObjVersion.barCode);
return _byteImage;
} catch (e) {
print(e);
return null;
}
}
setLakumData(LacumAccountInformation lacumInformation, LacumAccountInformation lacumGroupInformation){
_lacumService.lacumInformation = lacumInformation;
_lacumService.lacumGroupInformation = lacumGroupInformation;
}
clearLakumGroupData(){
_lacumService.lacumGroupInformation = null;
}
}

@ -1,39 +0,0 @@
import 'package:diplomaticquarterapp/core/enum/viewstate.dart';
import 'package:diplomaticquarterapp/services/pharmacy_services/orderDetails_service.dart';
import 'package:diplomaticquarterapp/services/pharmacy_services/order_service.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/order_model.dart';
import '../../../locator.dart';
import '../base_view_model.dart';
class OrderModelViewModel extends BaseViewModel {
OrderService _orderService = locator<OrderService>();
List<OrderModel> get order => _orderService.orderList;
OrderDetailsService _orderDetailsService = locator<OrderDetailsService>();
List<OrderModel> get orderDetails => _orderDetailsService.orderDetails;
Future getOrder(id, pageId) async {
setState(ViewState.Busy);
await _orderService.getOrder(id,pageId);
if (_orderService.hasError) {
error = _orderService.error;
setState(ViewState.Error);
} else {
}
}
Future getOrderDetails(orderId) async {
setState(ViewState.Busy);
await _orderDetailsService.getOrderDetails(orderId);
if (_orderDetailsService.hasError) {
error = _orderDetailsService.error;
setState(ViewState.Error);
} else {
}
}
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save