square-connect
Version:
JavaScript client library for the Square Connect v2 API
81 lines (74 loc) • 1.43 kB
JavaScript
/**
* Square Connect API
* Client library for accessing the Square Connect APIs
*
* OpenAPI spec version: 2.0
* Contact: developers@squareup.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
/**
* Enum class V1DiscountColor.
* @enum {}
* @readonly
*/
var exports = {
/**
* value: "9da2a6"
* @const
*/
"9da2a6": "9da2a6",
/**
* value: "4ab200"
* @const
*/
"4ab200": "4ab200",
/**
* value: "0b8000"
* @const
*/
"0b8000": "0b8000",
/**
* value: "2952cc"
* @const
*/
"2952cc": "2952cc",
/**
* value: "a82ee5"
* @const
*/
"a82ee5": "a82ee5",
/**
* value: "e5457a"
* @const
*/
"e5457a": "e5457a",
/**
* value: "b21212"
* @const
*/
"b21212": "b21212",
/**
* value: "593c00"
* @const
*/
"593c00": "593c00",
/**
* value: "e5BF00"
* @const
*/
"e5BF00": "e5BF00"};
/**
* Returns a <code>V1DiscountColor</code> enum value from a Javascript object name.
* @param {Object} data The plain JavaScript object containing the name of the enum value.
* @return {module:model/V1DiscountColor} The enum <code>V1DiscountColor</code> value.
*/
exports.constructFromObject = function(object) {
return object;
}
module.exports = exports;