toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'customer_id'] = this.customerId;
    json[r'status'] = this.status;
    json[r'order_date'] = this.orderDate.toUtc().toIso8601String();
    json[r'coupons'] = this.coupons;
    json[r'value'] = this.value;
  return json;
}