@gitchrisqueen/tdameritrade-api-js-client
Version:
TD Ameritrade API integration for node.js
73 lines (63 loc) • 1.47 kB
JavaScript
/**
* TD Ameritrade API - OAuth2
* This is replication of the TD Ameritrade API.
*
* OpenAPI spec version: 0.1.4
*
*
* 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 ApiClient from '../ApiClient';
/**
* Enum class LotMethod.
* @enum {}
* @readonly
*/
export default class LotMethod {
/**
* value: "FIFO"
* @const
*/
FIFO = "FIFO";
/**
* value: "LIFO"
* @const
*/
LIFO = "LIFO";
/**
* value: "HIGH_COST"
* @const
*/
HIGH_COST = "HIGH_COST";
/**
* value: "LOW_COST"
* @const
*/
LOW_COST = "LOW_COST";
/**
* value: "MINIMUM_TAX"
* @const
*/
MINIMUM_TAX = "MINIMUM_TAX";
/**
* value: "AVERAGE_COST"
* @const
*/
AVERAGE_COST = "AVERAGE_COST";
/**
* value: "NONE"
* @const
*/
NONE = "NONE";
/**
* Returns a <code>LotMethod</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/LotMethod} The enum <code>LotMethod</code> value.
*/
static constructFromObject(object) {
return object;
}
}