/* tslint:disable */ /* eslint-disable */ /** * Estimations * Here you can find documentation and examples for Greenspark Estimations API * * OpenAPI spec version: v1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { Metadata } from './metadata'; /** * * @export * @interface EstimationsByMCCRequestBody */ export interface EstimationsByMCCRequestBody { /** * Price of purchase. * @type {number} * @memberof EstimationsByMCCRequestBody */ price: number; /** * [Merchant Category Code](https://usa.visa.com/content/dam/VCOM/download/merchants/visa-merchant-data-standards-manual.pdf) of Merchant. * @type {string} * @memberof EstimationsByMCCRequestBody */ mcc: string; /** * ISO Currency Code of Purchase. * @type {string} * @memberof EstimationsByMCCRequestBody */ currencyISO: string; /** * Name of Merchant. * @type {string} * @memberof EstimationsByMCCRequestBody */ merchant?: string; /** * Indicates the specific country that should be used for the CO2 emissions factors. * @type {string} * @memberof EstimationsByMCCRequestBody */ geo?: EstimationsByMCCRequestBodyGeoEnum; /** * Indicates whether the API should use emissions factors for people or businesses (Either: \"PERSONAL\"(default), \"BUSINESS\") * @type {string} * @memberof EstimationsByMCCRequestBody */ userType?: EstimationsByMCCRequestBodyUserTypeEnum; /** * In the metadata array you can store up to 10 key-value pairs. You can use them to associate arbitrary data with your estimation. * @type {Array} * @memberof EstimationsByMCCRequestBody */ metadata?: Array; } /** * @export * @enum {string} */ export enum EstimationsByMCCRequestBodyGeoEnum { USA = 'USA', EUUK = 'EU/UK', GB = 'GB', BG = 'BG', AT = 'AT', AU = 'AU', BE = 'BE', BR = 'BR', CA = 'CA', CH = 'CH', CN = 'CN', CZ = 'CZ', DE = 'DE', DK = 'DK', ES = 'ES', FR = 'FR', GR = 'GR', HR = 'HR', HU = 'HU', IT = 'IT', JP = 'JP', KR = 'KR', LT = 'LT', LV = 'LV', MX = 'MX', NL = 'NL', NO = 'NO', PL = 'PL', PT = 'PT', RU = 'RU', SK = 'SK', TW = 'TW', WA = 'WA', WE = 'WE', WF = 'WF', WL = 'WL', WM = 'WM', EE = 'EE', ID = 'ID', IE = 'IE', MT = 'MT', SE = 'SE', SI = 'SI', ZA = 'ZA' } /** * @export * @enum {string} */ export enum EstimationsByMCCRequestBodyUserTypeEnum { PERSONAL = 'PERSONAL', BUSINESS = 'BUSINESS' }