model/product/CartListResponseModel library

Classes

Cart
quantity : "12" discount : "10.00" out_of_stock_1_as_out : "0" discount_price : "72.00" cart_id : "407" total_taxable_item_vise : "648.00" total_item_vise : "720.00" sgst : "0.00" cgst : "0.00" igst : "18" sgst_price : "0.00" cgst_price : "0.00" igst_price : "116.64" total_gst : "116.64"
CartItems
product : {"product_id":"66","category":{"id":"8","name":"ANTI-INFECTIVE RANGE"},"manufacture":{"id":"5","name":"Believe Wellness"},"marketed_by":{"id":"1","name":"Believe"},"company":{"id":"1","name":"Believe Wellness"},"division":{"id":"","name":""},"name":"","brand":"CEFOWELL-200 TAB","composition":"Cefpodoxime 200mg","units_per_package":"10","per_unit_quantity":"10","packaging_display":"10 X 10 TABLET","quantity":"306","show_quantity":{"quantity":"","indicator":""},"return_quantity":"","color":{"text":"#007405","background":"#D8FFD9"},"min_purchase_qty":"1","max_purchase_qty":"306","mrp":"210.00","price_to_show":{"key":"PTR","value":"60.00"},"discount":"10.00","gst":"18","batch_no":"BN005","manufacturing_date":"01 Jan, 2024","expiry_date":"28 Jun, 2024","barcode":"","scheme":"10 + 2","scheme_min_purchase":"10","scheme_provide":"2","dosage_strength":"","dosage_form":"TABLET","packaging_type":"","description":"","storage_conditions":"","master_user_id":"2"} cart : {"quantity":"12","discount":"10.00","out_of_stock_1_as_out":"0","discount_price":"72.00","cart_id":"407","total_taxable_item_vise":"648.00","total_item_vise":"720.00","sgst":"0.00","cgst":"0.00","igst":"18","sgst_price":"0.00","cgst_price":"0.00","igst_price":"116.64","total_gst":"116.64"}
CartListResponseModel
data : [{"product":{"product_id":"66","category":{"id":"8","name":"ANTI-INFECTIVE RANGE"},"manufacture":{"id":"5","name":"Believe Wellness"},"marketed_by":{"id":"1","name":"Believe"},"company":{"id":"1","name":"Believe Wellness"},"division":{"id":"","name":""},"name":"","brand":"CEFOWELL-200 TAB","composition":"Cefpodoxime 200mg","units_per_package":"10","per_unit_quantity":"10","packaging_display":"10 X 10 TABLET","quantity":"306","show_quantity":{"quantity":"","indicator":""},"return_quantity":"","color":{"text":"#007405","background":"#D8FFD9"},"min_purchase_qty":"1","max_purchase_qty":"306","mrp":"210.00","price_to_show":{"key":"PTR","value":"60.00"},"discount":"10.00","gst":"18","batch_no":"BN005","manufacturing_date":"01 Jan, 2024","expiry_date":"28 Jun, 2024","barcode":"","scheme":"10 + 2","scheme_min_purchase":"10","scheme_provide":"2","dosage_strength":"","dosage_form":"TABLET","packaging_type":"","description":"","storage_conditions":"","master_user_id":"2"},"cart":{"quantity":"12","discount":"10.00","out_of_stock_1_as_out":"0","discount_price":"72.00","cart_id":"407","total_taxable_item_vise":"648.00","total_item_vise":"720.00","sgst":"0.00","cgst":"0.00","igst":"18","sgst_price":"0.00","cgst_price":"0.00","igst_price":"116.64","total_gst":"116.64"}}] total_item : "2" sub_total : "771.00" discount : "" discount_display : "" discount_price : "72.00" sgst : "0.00" cgst : "0.00" igst : "125.82" rounding_off : "0.82" grand_total : "824.00" total_records : 2 summary : {"taxable":"648.00","sgst":"0.00","cgst":"0.00","igst":"18","sgst_price":"0.00","cgst_price":"0.00","igst_price":"116.64"} free_product : [{"product":{"product_id":"66","category":{"id":"8","name":"ANTI-INFECTIVE RANGE"},"manufacture":{"id":"5","name":"Believe Wellness"},"marketed_by":{"id":"1","name":"Believe"},"company":{"id":"1","name":"Believe Wellness"},"division":{"id":"","name":""},"brand":"CEFOWELL-200 TAB","composition":"Cefpodoxime 200mg","mrp":"210.00","batch_no":"BN005","manufacturing_date":"01 Jan, 2024","expiry_date":"28 Jun, 2024","price_to_show":{"key":"PTR","value":"60.00"},"packaging_display":"10 X 10 TABLET","dosage_form":"TABLET"},"cart":{"quantity":"2","out_of_stock_1_as_out":"0","cart_id":"408","total_item_vise":"120.00"}}] free_product_total : {"sub_total":"120.00"} success : 1 message : "Records found."
Category
id : "8" name : "ANTI-INFECTIVE RANGE"
ChangeTaxableToAmount
ColorApi
Company
id : "1" name : "Believe Wellness"
Division
id : "" name : ""
FreeProduct
product : {"product_id":"66","category":{"id":"8","name":"ANTI-INFECTIVE RANGE"},"manufacture":{"id":"5","name":"Believe Wellness"},"marketed_by":{"id":"1","name":"Believe"},"company":{"id":"1","name":"Believe Wellness"},"division":{"id":"","name":""},"brand":"CEFOWELL-200 TAB","composition":"Cefpodoxime 200mg","mrp":"210.00","batch_no":"BN005","manufacturing_date":"01 Jan, 2024","expiry_date":"28 Jun, 2024","price_to_show":{"key":"PTR","value":"60.00"},"packaging_display":"10 X 10 TABLET","dosage_form":"TABLET"} cart : {"quantity":"2","out_of_stock_1_as_out":"0","cart_id":"408","total_item_vise":"120.00"}
FreeProductTotal
sub_total : "120.00"
Manufacture
id : "5" name : "Believe Wellness"
MarketedBy
id : "1" name : "Believe"
PriceToShow
key : "PTR" value : "60.00"
Product
product_id : "66" category : {"id":"8","name":"ANTI-INFECTIVE RANGE"} manufacture : {"id":"5","name":"Believe Wellness"} marketed_by : {"id":"1","name":"Believe"} company : {"id":"1","name":"Believe Wellness"} division : {"id":"","name":""} name : "" brand : "CEFOWELL-200 TAB" composition : "Cefpodoxime 200mg" units_per_package : "10" per_unit_quantity : "10" packaging_display : "10 X 10 TABLET" quantity : "306" show_quantity : {"quantity":"","indicator":""} return_quantity : "" color : {"text":"#007405","background":"#D8FFD9"} min_purchase_qty : "1" max_purchase_qty : "306" mrp : "210.00" price_to_show : {"key":"PTR","value":"60.00"} discount : "10.00" gst : "18" batch_no : "BN005" manufacturing_date : "01 Jan, 2024" expiry_date : "28 Jun, 2024" barcode : "" scheme : "10 + 2" scheme_min_purchase : "10" scheme_provide : "2" dosage_strength : "" dosage_form : "TABLET" packaging_type : "" description : "" storage_conditions : "" master_user_id : "2"
RemoveColumnItem
RequirePrescription
ShowQuantity
quantity : "" indicator : ""
Summary
taxable : "648.00" sgst : "0.00" cgst : "0.00" igst : "18" sgst_price : "0.00" cgst_price : "0.00" igst_price : "116.64"
UserWiseChanges

Functions

changeTaxableToAmountFromJson(String str) ChangeTaxableToAmount
changeTaxableToAmountToJson(ChangeTaxableToAmount data) String
removeColumnItemFromJson(String str) RemoveColumnItem
removeColumnItemToJson(RemoveColumnItem data) String
requirePrescriptionFromJson(String str) RequirePrescription
require : "1" title : "2 items in cart require prescription" products_array : "ACITROM 0.5 TAB of 10 TAB","ACITROM 1 MG TAB of 30 TAB"
requirePrescriptionToJson(RequirePrescription data) String
userWiseChangesFromJson(String str) UserWiseChanges
change_taxable_to_amount : {"title":"1","title_remarks":"Change title Taxable => Amount","taxable_and_total_value_alter":"1","taxable_and_total_value_remarks":"Switch Taxable var. => total_item_vise & total var. is total_taxable_item_vise","exp_remarks":"If summary not add & Bill for retailer customer."} remove_cn_dn_btn : "1" remove_column_item : {"gst":"1","scheme_discount":"1"}
userWiseChangesToJson(UserWiseChanges data) String