toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['id'] = this.id;
data['productOrderItemType'] = this.productOrderItemType;
data['quantity'] = this.quantity;
data['blueprintId'] = this.blueprintId;
data['action'] = this.action;
data['appointment'] = this.appointment;
data['billingAccount'] = this.billingAccount;
if (this.itemPrice != null) {
data['itemPrice'] = this.itemPrice!.map((v) => v.toJson()).toList();
}
data['itemTerm'] = this.itemTerm;
data['itemTotalPrice'] = this.itemTotalPrice;
data['payment'] = this.payment;
if (this.productRefOrValue != null) {
data['productRefOrValue'] = this.productRefOrValue!.toJson();
}
data['productOffering'] = this.productOffering;
data['productOfferingQualificationItem'] =
this.productOfferingQualificationItem;
data['productOrderItemRelationship'] = this.productOrderItemRelationship;
data['qualification'] = this.qualification;
data['quoteItem'] = this.quoteItem;
data['state'] = this.state;
return data;
}