viesapi-client
Version:
VIES API Client for JavaScript
95 lines (78 loc) • 2.61 kB
JavaScript
/**
* Copyright 2022-2025 NETCAT (www.netcat.pl)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author NETCAT <firma@netcat.pl>
* @copyright 2022-2025 NETCAT (www.netcat.pl)
* @license http://www.apache.org/licenses/LICENSE-2.0
*/
'use strict';
/**
* Current account status information
*/
function AccountStatus()
{
this.uid = undefined;
this.type = undefined;
this.validTo = undefined;
this.billingPlanName = undefined;
this.subscriptionPrice = undefined;
this.itemPrice = undefined;
this.itemPriceStatus = undefined;
this.itemPriceParsed = undefined;
this.limit = undefined;
this.requestDelay = undefined;
this.domainLimit = undefined;
this.overPlanAllowed = undefined;
this.excelAddIn = undefined;
this.app = undefined;
this.cli = undefined;
this.stats = undefined;
this.monitor = undefined;
this.funcGetVIESData = undefined;
this.funcGetVIESDataParsed = undefined;
this.viesDataCount = undefined;
this.viesDataParsedCount = undefined;
this.totalCount = undefined;
}
/**
* String representation
* @return {string} object info
*/
AccountStatus.prototype.toString = function() {
return 'AccountStatus: [uid = ' + this.uid
+ ', type = ' + this.type
+ ', validTo = ' + this.validTo
+ ', billingPlanName = ' + this.billingPlanName
+ ', subscriptionPrice = ' + this.subscriptionPrice
+ ', itemPrice = ' + this.itemPrice
+ ', itemPriceStatus = ' + this.itemPriceStatus
+ ', itemPriceParsed = ' + this.itemPriceParsed
+ ', limit = ' + this.limit
+ ', requestDelay = ' + this.requestDelay
+ ', domainLimit = ' + this.domainLimit
+ ', overPlanAllowed = ' + this.overPlanAllowed
+ ', excelAddIn = ' + this.excelAddIn
+ ', app = ' + this.app
+ ', cli = ' + this.cli
+ ', stats = ' + this.stats
+ ', monitor = ' + this.monitor
+ ', funcGetVIESData = ' + this.funcGetVIESData
+ ', funcGetVIESDataParsed = ' + this.funcGetVIESDataParsed
+ ', VIESDataCount = ' + this.viesDataCount
+ ', VIESDataParsedCount = ' + this.viesDataParsedCount
+ ', totalCount = ' + this.totalCount
+ ']';
};
module.exports = AccountStatus;