toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['id'] = this.id;
  data['rate_id'] = this.rateId;
  data['rate_code'] = this.rateCode;
  data['label'] = this.label;
  data['compound'] = this.compound;
  data['tax_total'] = this.taxTotal;
  data['shipping_tax_total'] = this.shippingTaxTotal;
  data['meta_data'] = this.metaData;
  return data;
}