theendsoaper
Version:
Access Untill Tills with SOAP from Node.js and parse the results as objects, some extra useful functions in as well.
13 lines • 443 B
JavaScript
module.exports = class CancelledItem {
constructor(item){
this.articleId = item['ArticleId'];
this.dateTime = item['DateTime'];
this.userId = item['UserId'];
this.tableNo = item['TableNo'];
this.tablePart = item['TablePart'];
this.quantity = item['Quantity'];
this.price = item['Price'];
this.priceId = item['PriceId'];
this.extra = item['Extra'];
}
}