toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = Map<String, dynamic>();
  data['id'] = this.id;
  data['orderId'] = this.orderId;
  data['sapOrderId'] = this.sapOrderId;
  data['externalInvoiceId'] = this.externalInvoiceId;
  data['region'] = this.region;
  data['invoiceId'] = this.invoiceId;
  data['customPurchaseOrderNumber'] = this.customPurchaseOrderNumber;
  data['transactionRemarks'] = this.transactionRemarks;
  data['invoice'] = this.invoice;
  data['cartId'] = this.cartId;
  return data;
}