UNPKG

upstox-js-sdk

Version:

The official Node Js client for communicating with the Upstox API

117 lines (93 loc) 4.14 kB
/* * OpenAPI definition * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v0 * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * * Swagger Codegen version: 3.0.79 * * 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.UpstoxClient); } }(this, function(expect, UpstoxClient) { 'use strict'; var instance; describe('(package)', function() { describe('MutualFundSipData', function() { beforeEach(function() { instance = new UpstoxClient.MutualFundSipData(); }); it('should create an instance of MutualFundSipData', function() { expect(instance).to.be.a(UpstoxClient.MutualFundSipData); }); it('should have the property fund (base name: "fund")', function() { expect(instance).to.have.property('fund'); }); it('should have the property status (base name: "status")', function() { expect(instance).to.have.property('status'); }); it('should have the property created (base name: "created")', function() { expect(instance).to.have.property('created'); }); it('should have the property frequency (base name: "frequency")', function() { expect(instance).to.have.property('frequency'); }); it('should have the property instalments (base name: "instalments")', function() { expect(instance).to.have.property('instalments'); }); it('should have the property sipId (base name: "sip_id")', function() { expect(instance).to.have.property('sipId'); }); it('should have the property sipRegNumber (base name: "sip_reg_number")', function() { expect(instance).to.have.property('sipRegNumber'); }); it('should have the property instrumentKey (base name: "instrument_key")', function() { expect(instance).to.have.property('instrumentKey'); }); it('should have the property dividendType (base name: "dividend_type")', function() { expect(instance).to.have.property('dividendType'); }); it('should have the property transactionType (base name: "transaction_type")', function() { expect(instance).to.have.property('transactionType'); }); it('should have the property nextInstalment (base name: "next_instalment")', function() { expect(instance).to.have.property('nextInstalment'); }); it('should have the property instalmentAmount (base name: "instalment_amount")', function() { expect(instance).to.have.property('instalmentAmount'); }); it('should have the property lastInstalment (base name: "last_instalment")', function() { expect(instance).to.have.property('lastInstalment'); }); it('should have the property pendingInstalments (base name: "pending_instalments")', function() { expect(instance).to.have.property('pendingInstalments'); }); it('should have the property instalmentDay (base name: "instalment_day")', function() { expect(instance).to.have.property('instalmentDay'); }); it('should have the property completedInstalments (base name: "completed_instalments")', function() { expect(instance).to.have.property('completedInstalments'); }); it('should have the property triggerPrice (base name: "trigger_price")', function() { expect(instance).to.have.property('triggerPrice'); }); it('should have the property sipType (base name: "sip_type")', function() { expect(instance).to.have.property('sipType'); }); }); }); }));