UNPKG

upstox-js-sdk

Version:

The official Node Js client for communicating with the Upstox API

81 lines (66 loc) 2.63 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('PaymentHistoryData', function() { beforeEach(function() { instance = new UpstoxClient.PaymentHistoryData(); }); it('should create an instance of PaymentHistoryData', function() { expect(instance).to.be.a(UpstoxClient.PaymentHistoryData); }); it('should have the property amount (base name: "amount")', function() { expect(instance).to.have.property('amount'); }); it('should have the property mode (base name: "mode")', function() { expect(instance).to.have.property('mode'); }); it('should have the property status (base name: "status")', function() { expect(instance).to.have.property('status'); }); it('should have the property reason (base name: "reason")', function() { expect(instance).to.have.property('reason'); }); it('should have the property lastUpdatedAt (base name: "last_updated_at")', function() { expect(instance).to.have.property('lastUpdatedAt'); }); it('should have the property bankName (base name: "bank_name")', function() { expect(instance).to.have.property('bankName'); }); it('should have the property transactionId (base name: "transaction_id")', function() { expect(instance).to.have.property('transactionId'); }); it('should have the property totalCharges (base name: "total_charges")', function() { expect(instance).to.have.property('totalCharges'); }); it('should have the property chargesCategory (base name: "charges_category")', function() { expect(instance).to.have.property('chargesCategory'); }); }); }); }));