UNPKG

@gameroom/gameroom-kit

Version:

Node kit for the Gameroom API

39 lines (36 loc) 1.17 kB
module.exports = class Report_File { constructor(data) { if (!data) return; this.meta = data.meta; this.addresses = data.addresses; this.adjustments = data.adjustments; this.charges = data.charges; this.containers = data.containers; this.customers = data.customers; this.exports = data.exports; this.gift_certificates = data.gift_certificates; this.images = data.images; this.imports = data.imports; this.lines = data.lines; this.notes = data.notes; this.option_groups = data.option_groups; this.options = data.options; this.payments = data.payments; this.price_option_groups = data.price_option_groups; this.prices = data.prices; this.products = data.products; this.reports = data.reports; this.sales = data.sales; this.services = data.services; this.slides = data.slides; this.slideshows = data.slideshows; this.stores = data.stores; this.tags = data.tags; this.taxes = data.taxes; this.tills = data.tills; this.timecards = data.timecards; this.unit_options = data.unit_options; this.units = data.units; this.users = data.users; }; };