UNPKG

infusionsoft-nodejs

Version:

A NodeJS SDK automatically generated from Infusionsoft API Swagger definitions.

108 lines (91 loc) 4.02 kB
/** * Infusionsoft REST API * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: V1.0 * * * 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.InfusionsoftRestApi); } }(this, function(expect, InfusionsoftRestApi) { 'use strict'; var instance; beforeEach(function() { instance = new InfusionsoftRestApi.SubscriptionPlan(); }); 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('SubscriptionPlan', function() { it('should create an instance of SubscriptionPlan', function() { // uncomment below and update the code to test SubscriptionPlan //var instane = new InfusionsoftRestApi.SubscriptionPlan(); //expect(instance).to.be.a(InfusionsoftRestApi.SubscriptionPlan); }); it('should have the property active (base name: "active")', function() { // uncomment below and update the code to test the property active //var instane = new InfusionsoftRestApi.SubscriptionPlan(); //expect(instance).to.be(); }); it('should have the property cycle (base name: "cycle")', function() { // uncomment below and update the code to test the property cycle //var instane = new InfusionsoftRestApi.SubscriptionPlan(); //expect(instance).to.be(); }); it('should have the property frequency (base name: "frequency")', function() { // uncomment below and update the code to test the property frequency //var instane = new InfusionsoftRestApi.SubscriptionPlan(); //expect(instance).to.be(); }); it('should have the property id (base name: "id")', function() { // uncomment below and update the code to test the property id //var instane = new InfusionsoftRestApi.SubscriptionPlan(); //expect(instance).to.be(); }); it('should have the property numberOfCycles (base name: "number_of_cycles")', function() { // uncomment below and update the code to test the property numberOfCycles //var instane = new InfusionsoftRestApi.SubscriptionPlan(); //expect(instance).to.be(); }); it('should have the property planPrice (base name: "plan_price")', function() { // uncomment below and update the code to test the property planPrice //var instane = new InfusionsoftRestApi.SubscriptionPlan(); //expect(instance).to.be(); }); it('should have the property subscriptionPlanIndex (base name: "subscription_plan_index")', function() { // uncomment below and update the code to test the property subscriptionPlanIndex //var instane = new InfusionsoftRestApi.SubscriptionPlan(); //expect(instance).to.be(); }); it('should have the property subscriptionPlanName (base name: "subscription_plan_name")', function() { // uncomment below and update the code to test the property subscriptionPlanName //var instane = new InfusionsoftRestApi.SubscriptionPlan(); //expect(instance).to.be(); }); }); }));