mirror of https://github.com/vernonkeenan/lib
216 lines
8.1 KiB
JavaScript
216 lines
8.1 KiB
JavaScript
/**
|
|
* board
|
|
* Taxnexus Onboarding Service
|
|
*
|
|
* The version of the OpenAPI document: 0.0.2
|
|
* Contact: noc@taxnexus.net
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*
|
|
*/
|
|
|
|
(function(root, factory) {
|
|
if (typeof define === 'function' && define.amd) {
|
|
// AMD.
|
|
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
} else if (typeof module === 'object' && module.exports) {
|
|
// CommonJS-like environments that support module.exports, like Node.
|
|
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
} else {
|
|
// Browser globals (root is window)
|
|
factory(root.expect, root.Board);
|
|
}
|
|
}(this, function(expect, Board) {
|
|
'use strict';
|
|
|
|
var instance;
|
|
|
|
beforeEach(function() {
|
|
instance = new Board.PaymentMethod();
|
|
});
|
|
|
|
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('PaymentMethod', function() {
|
|
it('should create an instance of PaymentMethod', function() {
|
|
// uncomment below and update the code to test PaymentMethod
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be.a(Board.PaymentMethod);
|
|
});
|
|
|
|
it('should have the property accountID (base name: "AccountID")', function() {
|
|
// uncomment below and update the code to test the property accountID
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property achAccountType (base name: "AchAccountType")', function() {
|
|
// uncomment below and update the code to test the property achAccountType
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property achBankAccount (base name: "AchBankAccount")', function() {
|
|
// uncomment below and update the code to test the property achBankAccount
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property achRouting (base name: "AchRouting")', function() {
|
|
// uncomment below and update the code to test the property achRouting
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property active (base name: "Active")', function() {
|
|
// uncomment below and update the code to test the property active
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property autopay (base name: "Autopay")', function() {
|
|
// uncomment below and update the code to test the property autopay
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property bankName (base name: "BankName")', function() {
|
|
// uncomment below and update the code to test the property bankName
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property billingContactID (base name: "BillingContactID")', function() {
|
|
// uncomment below and update the code to test the property billingContactID
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property cCnumber (base name: "CCnumber")', function() {
|
|
// uncomment below and update the code to test the property cCnumber
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property cCtype (base name: "CCtype")', function() {
|
|
// uncomment below and update the code to test the property cCtype
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property companyID (base name: "CompanyID")', function() {
|
|
// uncomment below and update the code to test the property companyID
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property contractID (base name: "ContractID")', function() {
|
|
// uncomment below and update the code to test the property contractID
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property createdByID (base name: "CreatedByID")', function() {
|
|
// uncomment below and update the code to test the property createdByID
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property createdDate (base name: "CreatedDate")', function() {
|
|
// uncomment below and update the code to test the property createdDate
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property _default (base name: "Default")', function() {
|
|
// uncomment below and update the code to test the property _default
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property expirationDate (base name: "ExpirationDate")', function() {
|
|
// uncomment below and update the code to test the property expirationDate
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property expirationMonth (base name: "ExpirationMonth")', function() {
|
|
// uncomment below and update the code to test the property expirationMonth
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property expirationYear (base name: "ExpirationYear")', function() {
|
|
// uncomment below and update the code to test the property expirationYear
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property gateway (base name: "Gateway")', function() {
|
|
// uncomment below and update the code to test the property gateway
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property gatewayKey (base name: "GatewayKey")', function() {
|
|
// uncomment below and update the code to test the property gatewayKey
|
|
//var instance = new Board.PaymentMethod();
|
|
//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 instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() {
|
|
// uncomment below and update the code to test the property lastModifiedByID
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() {
|
|
// uncomment below and update the code to test the property lastModifiedDate
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property nickname (base name: "Nickname")', function() {
|
|
// uncomment below and update the code to test the property nickname
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property recordType (base name: "RecordType")', function() {
|
|
// uncomment below and update the code to test the property recordType
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property ref (base name: "Ref")', function() {
|
|
// uncomment below and update the code to test the property ref
|
|
//var instance = new Board.PaymentMethod();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
});
|
|
|
|
}));
|