UNPKG

shopify-api-node

Version:
26 lines (19 loc) 566 B
'use strict'; const assign = require('lodash/assign'); const omit = require('lodash/omit'); const baseChild = require('../mixins/base-child'); /** * Creates a UsageCharge instance. * * @param {Shopify} shopify Reference to the Shopify instance * @constructor * @public */ function UsageCharge(shopify) { this.shopify = shopify; this.parentName = 'recurring_application_charges'; this.name = 'usage_charges'; this.key = 'usage_charge'; } assign(UsageCharge.prototype, omit(baseChild, ['count', 'delete', 'update'])); module.exports = UsageCharge;