model/credit_notes/CreditNoteListResponse
library
Functions
-
createdAtDateTimeFromJson(String str)
→ CreatedAtDateTime
-
date : "21 Dec, 2024"
time : "03:09 PM"
-
createdAtDateTimeToJson(CreatedAtDateTime data)
→ String
-
-
creditNoteListResponseFromJson(String str)
→ CreditNoteListResponse
-
data :
{"order_id":"16290","order_number":"CN/003","total_item":"1","sub_total":"100.00","discount":"0.00","grand_total":"100.00","status":{"name":"Accepted","text_color":"#F49025","bg_color":"#FFF4E5"},"remarks":"","created_at_date_time":{"date":"21 Dec, 2024","time":"03:09 PM"},"modify_btn_show":"0","place_by_type":"CRM","cn_type":"Expired"},{"order_id":"16176","order_number":"CN/002","total_item":"1","sub_total":"100.12","discount":"0.00","grand_total":"100.00","status":{"name":"Accepted","text_color":"#F49025","bg_color":"#FFF4E5"},"remarks":"","created_at_date_time":{"date":"20 Dec, 2024","time":"05:14 PM"},"modify_btn_show":"0","place_by_type":"CRM","cn_type":"Expired"},{"order_id":"15372","order_number":"CN/001","total_item":"2","sub_total":"77.80","discount":"0.00","grand_total":"79.00","status":{"name":"Accepted","text_color":"#F49025","bg_color":"#FFF4E5"},"remarks":"","created_at_date_time":{"date":"14 Dec, 2024","time":"05:24 PM"},"modify_btn_show":"0","place_by_type":"CRM","cn_type":"Breakage"}
success : 1
message : "Records found."
-
creditNoteListResponseToJson(CreditNoteListResponse data)
→ String
-
-
dataFromJson(String str)
→ CreditNoteItem
-
order_id : "16290"
order_number : "CN/003"
total_item : "1"
sub_total : "100.00"
discount : "0.00"
grand_total : "100.00"
status : {"name":"Accepted","text_color":"#F49025","bg_color":"#FFF4E5"}
remarks : ""
created_at_date_time : {"date":"21 Dec, 2024","time":"03:09 PM"}
modify_btn_show : "0"
place_by_type : "CRM"
cn_type : "Expired"
-
dataToJson(CreditNoteItem data)
→ String
-
-
statusFromJson(String str)
→ StatusData
-
name : "Accepted"
text_color : "#F49025"
bg_color : "#FFF4E5"
-
statusToJson(StatusData data)
→ String
-