toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['id'] = this.id;
data['href'] = this.href;
data['description'] = this.description;
data['isBundle'] = this.isBundle;
data['isCustomerVisible'] = this.isCustomerVisible;
data['name'] = this.name;
data['orderDate'] = this.orderDate;
data['productSerialNumber'] = this.productSerialNumber;
data['startDate'] = this.startDate;
data['terminationDate'] = this.terminationDate;
data['agreement'] = this.agreement;
data['billingAccount'] = this.billingAccount;
data['place'] = this.place;
data['product'] = this.product;
data['productCharacteristic'] = this.productCharacteristic;
if (this.productOffering != null) {
data['productOffering'] = this.productOffering!.toJson();
}
data['relatedProductOrderItem'] = this.relatedProductOrderItem;
data['productPrice'] = this.productPrice;
data['productSpecification'] = this.productSpecification;
data['productTerm'] = this.productTerm;
data['realizingResource'] = this.realizingResource;
data['realizingService'] = this.realizingService;
data['relatedParty'] = this.relatedParty;
data['status'] = this.status;
data['@baseType'] = this.baseType;
data['@schemaLocation'] = this.schemaLocation;
data['@type'] = this.type;
data['@referredType'] = this.referredType;
return data;
}