/**
* Autogenerated by Avro
*
* DO NOT EDIT DIRECTLY
*/
/**
* @constructor
* @memberof payments
*/
var TerminalParam = function() {
this._class_ = TerminalParam;
this.id = undefined;
this.param = undefined;
this.paramData = undefined;
};
/**
* Set the field value
* Unique identifier
*
* @memberof payments.TerminalParam
* @param {String} id
*/
TerminalParam.prototype.setId = function(id) {
this.id = id;
};
/**
* Get the field value
* Unique identifier
* @memberof payments.TerminalParam
* @return {String}
*/
TerminalParam.prototype.getId = function() {
return this.id;
};
/**
* Set the field value
* Config parameter name
*
* @memberof payments.TerminalParam
* @param {String} param
*/
TerminalParam.prototype.setParam = function(param) {
this.param = param;
};
/**
* Get the field value
* Config parameter name
* @memberof payments.TerminalParam
* @return {String}
*/
TerminalParam.prototype.getParam = function() {
return this.param;
};
/**
* Set the field value
* Config parameter value
*
* @memberof payments.TerminalParam
* @param {String} paramData
*/
TerminalParam.prototype.setParamData = function(paramData) {
this.paramData = paramData;
};
/**
* Get the field value
* Config parameter value
* @memberof payments.TerminalParam
* @return {String}
*/
TerminalParam.prototype.getParamData = function() {
return this.paramData;
};
/**
* @memberof payments.TerminalParam
* @private
*/
TerminalParam.prototype.getMetaInfo = function(fieldName) {
var curclass = this._class_;
do {
var fieldMetaInfo = curclass._meta_.fields[fieldName];
if(fieldMetaInfo) {
return fieldMetaInfo;
}
if(curclass._meta_._superMeta_) {
curclass = curclass._meta_._superMeta_._class_;
} else {
curclass = null;
}
} while(curclass);
return null;
};
TerminalParam.prototype.toString = function() {
return JSON.stringify(this);
};
TerminalParam._meta_ = {fields: {}};
TerminalParam._meta_._class_ = TerminalParam;
TerminalParam._meta_.fields["id"] = {};
TerminalParam._meta_.fields["id"].type = String;
TerminalParam._meta_.fields["param"] = {};
TerminalParam._meta_.fields["param"].type = String;
TerminalParam._meta_.fields["paramData"] = {};
TerminalParam._meta_.fields["paramData"].type = String;
//
// Expose the module.
//
if ('undefined' !== typeof module) {
module.exports = TerminalParam;
}