UNPKG

@gitchrisqueen/tdameritrade-api-js-client

Version:
179 lines (151 loc) 7.64 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.CashAccountBalances(); }); 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('CashAccountBalances', function() { it('should create an instance of CashAccountBalances', function() { // uncomment below and update the code to test CashAccountBalances //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be.a(GitChrisQueen_TDA_JS.CashAccountBalances); }); it('should have the property accruedInterest (base name: "accruedInterest")', function() { // uncomment below and update the code to test the property accruedInterest //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property cashBalance (base name: "cashBalance")', function() { // uncomment below and update the code to test the property cashBalance //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property cashReceipts (base name: "cashReceipts")', function() { // uncomment below and update the code to test the property cashReceipts //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property longOptionMarketValue (base name: "longOptionMarketValue")', function() { // uncomment below and update the code to test the property longOptionMarketValue //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property liquidationValue (base name: "liquidationValue")', function() { // uncomment below and update the code to test the property liquidationValue //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property longMarketValue (base name: "longMarketValue")', function() { // uncomment below and update the code to test the property longMarketValue //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property moneyMarketFund (base name: "moneyMarketFund")', function() { // uncomment below and update the code to test the property moneyMarketFund //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property savings (base name: "savings")', function() { // uncomment below and update the code to test the property savings //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property shortMarketValue (base name: "shortMarketValue")', function() { // uncomment below and update the code to test the property shortMarketValue //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property pendingDeposits (base name: "pendingDeposits")', function() { // uncomment below and update the code to test the property pendingDeposits //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property cashAvailableForTrading (base name: "cashAvailableForTrading")', function() { // uncomment below and update the code to test the property cashAvailableForTrading //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property cashAvailableForWithdrawal (base name: "cashAvailableForWithdrawal")', function() { // uncomment below and update the code to test the property cashAvailableForWithdrawal //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property cashCall (base name: "cashCall")', function() { // uncomment below and update the code to test the property cashCall //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property longNonMarginableMarketValue (base name: "longNonMarginableMarketValue")', function() { // uncomment below and update the code to test the property longNonMarginableMarketValue //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property totalCash (base name: "totalCash")', function() { // uncomment below and update the code to test the property totalCash //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property shortOptionMarketValue (base name: "shortOptionMarketValue")', function() { // uncomment below and update the code to test the property shortOptionMarketValue //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property mutualFundValue (base name: "mutualFundValue")', function() { // uncomment below and update the code to test the property mutualFundValue //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property bondValue (base name: "bondValue")', function() { // uncomment below and update the code to test the property bondValue //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property cashDebitCallValue (base name: "cashDebitCallValue")', function() { // uncomment below and update the code to test the property cashDebitCallValue //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); it('should have the property unsettledCash (base name: "unsettledCash")', function() { // uncomment below and update the code to test the property unsettledCash //var instane = new GitChrisQueen_TDA_JS.CashAccountBalances(); //expect(instance).to.be(); }); }); }));