CartListResponseModel class
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."
Constructors
-
CartListResponseModel({List<
CartItems> ? data, String? totalItem, String? subTotal, String? discount, String? discountDisplay, String? discountPrice, String? sgst, String? cgst, String? igst, String? roundingOff, String? grandTotal, num? totalRecords, List<Summary> ? summary, List<FreeProduct> ? freeProduct, FreeProductTotal? freeProductTotal, UserWiseChanges? userWiseChanges, RequirePrescription? requirePrescription, num? success, String? message}) - CartListResponseModel.fromJson(dynamic json)
Properties
- cgst ↔ String?
-
getter/setter pair
-
data
↔ List<
CartItems> ? -
getter/setter pair
- discount ↔ String?
-
getter/setter pair
- discountDisplay ↔ String?
-
getter/setter pair
- discountPrice ↔ String?
-
getter/setter pair
-
freeProduct
↔ List<
FreeProduct> ? -
getter/setter pair
- freeProductTotal ↔ FreeProductTotal?
-
getter/setter pair
- grandTotal ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- igst ↔ String?
-
getter/setter pair
- message ↔ String?
-
getter/setter pair
- requirePrescription ↔ RequirePrescription?
-
getter/setter pair
- roundingOff ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sgst ↔ String?
-
getter/setter pair
- subTotal ↔ String?
-
getter/setter pair
- success ↔ num?
-
getter/setter pair
-
summary
↔ List<
Summary> ? -
getter/setter pair
- totalItem ↔ String?
-
getter/setter pair
- totalRecords ↔ num?
-
getter/setter pair
- userWiseChanges ↔ UserWiseChanges?
-
getter/setter pair
Methods
-
copyWith(
{List< CartItems> ? data, String? totalItem, String? subTotal, String? discount, String? discountDisplay, String? discountPrice, String? sgst, String? cgst, String? igst, String? roundingOff, String? grandTotal, num? totalRecords, List<Summary> ? summary, List<FreeProduct> ? freeProduct, FreeProductTotal? freeProductTotal, num? success, String? message, UserWiseChanges? userWiseChanges, RequirePrescription? requirePrescription}) → CartListResponseModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited