Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 6x | /* * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* Copyright (c) 2018 Mobify Research & Development Inc. All rights reserved. */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * */
import PropTypes from 'prop-types'
/**
* @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 The search hit count.
* @property {Object} values The variation values.
*/
export const Variation = {
id: PropTypes.string.isRequired,
price: PropTypes.number,
orderable: PropTypes.boolean,
values: PropTypes.object
}
|