toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'customerId'] = customerId;
json[r'description'] = description;
json[r'month'] = month;
json[r'date'] = date.toIso8601String();
json[r'discount'] = discount;
json[r'value'] = value;
return json;
}