"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Variation = void 0;

var _propTypes = _interopRequireDefault(require("prop-types"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */

/* Copyright (c) 2018 Mobify Research & Development Inc. All rights reserved. */

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */

/**
 * @memberOf module:types
 * @typedef {Object} Variation
 * @property {String} id The variation id (NOTE: In some cases this value may have to be generated).
 * @property {Number} price The product price.
 * @property {Boolean} orderable Whether this variation of the product can be ordered.
 * @property {Object} values The variation values.
 */
var Variation = {
  id: _propTypes["default"].string.isRequired,
  price: _propTypes["default"].number,
  orderable: _propTypes["default"]["boolean"],
  values: _propTypes["default"].object
};
exports.Variation = Variation;