UNPKG

square-connect

Version:

JavaScript client library for the Square Connect v2 API

76 lines (69 loc) 1.71 kB
/** * 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 MeasurementUnitArea. * @enum {} * @readonly */ var exports = { /** * value: "IMPERIAL_ACRE" * @const */ "IMPERIAL_ACRE": "IMPERIAL_ACRE", /** * value: "IMPERIAL_SQUARE_INCH" * @const */ "IMPERIAL_SQUARE_INCH": "IMPERIAL_SQUARE_INCH", /** * value: "IMPERIAL_SQUARE_FOOT" * @const */ "IMPERIAL_SQUARE_FOOT": "IMPERIAL_SQUARE_FOOT", /** * value: "IMPERIAL_SQUARE_YARD" * @const */ "IMPERIAL_SQUARE_YARD": "IMPERIAL_SQUARE_YARD", /** * value: "IMPERIAL_SQUARE_MILE" * @const */ "IMPERIAL_SQUARE_MILE": "IMPERIAL_SQUARE_MILE", /** * value: "METRIC_SQUARE_CENTIMETER" * @const */ "METRIC_SQUARE_CENTIMETER": "METRIC_SQUARE_CENTIMETER", /** * value: "METRIC_SQUARE_METER" * @const */ "METRIC_SQUARE_METER": "METRIC_SQUARE_METER", /** * value: "METRIC_SQUARE_KILOMETER" * @const */ "METRIC_SQUARE_KILOMETER": "METRIC_SQUARE_KILOMETER"}; /** * Returns a <code>MeasurementUnitArea</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/MeasurementUnitArea} The enum <code>MeasurementUnitArea</code> value. */ exports.constructFromObject = function(object) { return object; } module.exports = exports;