UNPKG

@gitchrisqueen/tdameritrade-api-js-client

Version:
113 lines (96 loc) 4.39 kB
/** * 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. * */ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. define(['expect.js', '../../src/index'], factory); } else if (typeof module === 'object' && module.exports) { // CommonJS-like environments that support module.exports, like Node. factory(require('expect.js'), require('../../src/index')); } else { // Browser globals (root is window) factory(root.expect, root.GitChrisQueen_TDA_JS); } }(this, function(expect, GitChrisQueen_TDA_JS) { 'use strict'; var instance; beforeEach(function() { instance = new GitChrisQueen_TDA_JS.TransactionTransactionItem(); }); var getProperty = function(object, getter, property) { // Use getter method if present; otherwise, get the property directly. if (typeof object[getter] === 'function') return object[getter](); else return object[property]; } var setProperty = function(object, setter, property, value) { // Use setter method if present; otherwise, set the property directly. if (typeof object[setter] === 'function') object[setter](value); else object[property] = value; } describe('TransactionTransactionItem', function() { it('should create an instance of TransactionTransactionItem', function() { // uncomment below and update the code to test TransactionTransactionItem //var instane = new GitChrisQueen_TDA_JS.TransactionTransactionItem(); //expect(instance).to.be.a(GitChrisQueen_TDA_JS.TransactionTransactionItem); }); it('should have the property accountId (base name: "accountId")', function() { // uncomment below and update the code to test the property accountId //var instane = new GitChrisQueen_TDA_JS.TransactionTransactionItem(); //expect(instance).to.be(); }); it('should have the property amount (base name: "amount")', function() { // uncomment below and update the code to test the property amount //var instane = new GitChrisQueen_TDA_JS.TransactionTransactionItem(); //expect(instance).to.be(); }); it('should have the property price (base name: "price")', function() { // uncomment below and update the code to test the property price //var instane = new GitChrisQueen_TDA_JS.TransactionTransactionItem(); //expect(instance).to.be(); }); it('should have the property cost (base name: "cost")', function() { // uncomment below and update the code to test the property cost //var instane = new GitChrisQueen_TDA_JS.TransactionTransactionItem(); //expect(instance).to.be(); }); it('should have the property parentOrderKey (base name: "parentOrderKey")', function() { // uncomment below and update the code to test the property parentOrderKey //var instane = new GitChrisQueen_TDA_JS.TransactionTransactionItem(); //expect(instance).to.be(); }); it('should have the property parentChildIndicator (base name: "parentChildIndicator")', function() { // uncomment below and update the code to test the property parentChildIndicator //var instane = new GitChrisQueen_TDA_JS.TransactionTransactionItem(); //expect(instance).to.be(); }); it('should have the property instruction (base name: "instruction")', function() { // uncomment below and update the code to test the property instruction //var instane = new GitChrisQueen_TDA_JS.TransactionTransactionItem(); //expect(instance).to.be(); }); it('should have the property positionEffect (base name: "positionEffect")', function() { // uncomment below and update the code to test the property positionEffect //var instane = new GitChrisQueen_TDA_JS.TransactionTransactionItem(); //expect(instance).to.be(); }); it('should have the property instrument (base name: "instrument")', function() { // uncomment below and update the code to test the property instrument //var instane = new GitChrisQueen_TDA_JS.TransactionTransactionItem(); //expect(instance).to.be(); }); }); }));