toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['taxId'] = this.taxId;
data['name'] = this.name;
data['priceType'] = this.priceType;
data['price'] = this.price;
data['percentage'] = this.percentage;
data['totalPrice'] = this.totalPrice;
data['quantity'] = this.quantity;
data['totalAmount'] = this.totalAmount;
data['upcProductOfferId'] = this.upcProductOfferId;
data['glCode'] = this.glCode;
data['enabled'] = this.enabled;
data['adhoc'] = this.adhoc;
return data;
}