UNPKG

square-connect

Version:

JavaScript client library for the Square Connect v2 API

76 lines (69 loc) 1.4 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 V1FeeType. * @enum {} * @readonly */ var exports = { /** * value: "CA_GST" * @const */ "CA_GST": "CA_GST", /** * value: "CA_HST" * @const */ "CA_HST": "CA_HST", /** * value: "CA_PST" * @const */ "CA_PST": "CA_PST", /** * value: "CA_QST" * @const */ "CA_QST": "CA_QST", /** * value: "JP_CONSUMPTION_TAX" * @const */ "JP_CONSUMPTION_TAX": "JP_CONSUMPTION_TAX", /** * value: "CA_PEI_PST" * @const */ "CA_PEI_PST": "CA_PEI_PST", /** * value: "US_SALES_TAX" * @const */ "US_SALES_TAX": "US_SALES_TAX", /** * value: "OTHER" * @const */ "OTHER": "OTHER"}; /** * Returns a <code>V1FeeType</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/V1FeeType} The enum <code>V1FeeType</code> value. */ exports.constructFromObject = function(object) { return object; } module.exports = exports;