UNPKG

merchantapi

Version:
50 lines (44 loc) 819 B
/* * (c) Miva Inc <https://www.miva.com/> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ const util = require('./../util'); const { Model } = require('./../abstract'); /** * UriDetail data model. * @class */ class UriDetail extends Model { /** * UriDetail Constructor. * @param {Object} data * @returns {void} */ constructor(data = {}) { super(data); } /** * Get code. * @returns {string} */ getCode() { return this.getField('code'); } /** * Get name. * @returns {string} */ getName() { return this.getField('name'); } /** * Get sku. * @returns {string} */ getSku() { return this.getField('sku'); } } module.exports.UriDetail = UriDetail;