/**
* Autogenerated by Avro
*
* DO NOT EDIT DIRECTLY
*/
var payments_Tag = require("../payments/Tag");
var payments_ParamType = require("../payments/ParamType");
var payments_OverrideType = require("../payments/OverrideType");
/**
* @constructor
* @memberof payments
*/
var TerminalParameter = function() {
this._class_ = TerminalParameter;
this.id = undefined;
this.param = undefined;
this.paramType = undefined;
this.data = undefined;
this.deviceType = undefined;
this.deviceTypeId = undefined;
this.overrideName = undefined;
this.overrideId = undefined;
this.overrideType = undefined;
this.aid = undefined;
this.tagData = undefined;
};
/**
* Set the field value
* Pipe delimited composite key unique identifier
*
* @memberof payments.TerminalParameter
* @param {String} id
*/
TerminalParameter.prototype.setId = function(id) {
this.id = id;
};
/**
* Get the field value
* Pipe delimited composite key unique identifier
* @memberof payments.TerminalParameter
* @return {String}
*/
TerminalParameter.prototype.getId = function() {
return this.id;
};
/**
* Set the field value
* @memberof payments.TerminalParameter
* @param {String} param
*/
TerminalParameter.prototype.setParam = function(param) {
this.param = param;
};
/**
* Get the field value
* @memberof payments.TerminalParameter
* @return {String}
*/
TerminalParameter.prototype.getParam = function() {
return this.param;
};
/**
* Set the field value
* @memberof payments.TerminalParameter
* @param {payments.ParamType} paramType
*/
TerminalParameter.prototype.setParamType = function(paramType) {
this.paramType = paramType;
};
/**
* Get the field value
* @memberof payments.TerminalParameter
* @return {payments.ParamType}
*/
TerminalParameter.prototype.getParamType = function() {
return this.paramType;
};
/**
* Set the field value
* @memberof payments.TerminalParameter
* @param {String} data
*/
TerminalParameter.prototype.setData = function(data) {
this.data = data;
};
/**
* Get the field value
* @memberof payments.TerminalParameter
* @return {String}
*/
TerminalParameter.prototype.getData = function() {
return this.data;
};
/**
* Set the field value
* @memberof payments.TerminalParameter
* @param {String} deviceType
*/
TerminalParameter.prototype.setDeviceType = function(deviceType) {
this.deviceType = deviceType;
};
/**
* Get the field value
* @memberof payments.TerminalParameter
* @return {String}
*/
TerminalParameter.prototype.getDeviceType = function() {
return this.deviceType;
};
/**
* Set the field value
* @memberof payments.TerminalParameter
* @param {String} deviceTypeId
*/
TerminalParameter.prototype.setDeviceTypeId = function(deviceTypeId) {
this.deviceTypeId = deviceTypeId;
};
/**
* Get the field value
* @memberof payments.TerminalParameter
* @return {String}
*/
TerminalParameter.prototype.getDeviceTypeId = function() {
return this.deviceTypeId;
};
/**
* Set the field value
* @memberof payments.TerminalParameter
* @param {String} overrideName
*/
TerminalParameter.prototype.setOverrideName = function(overrideName) {
this.overrideName = overrideName;
};
/**
* Get the field value
* @memberof payments.TerminalParameter
* @return {String}
*/
TerminalParameter.prototype.getOverrideName = function() {
return this.overrideName;
};
/**
* Set the field value
* @memberof payments.TerminalParameter
* @param {String} overrideId
*/
TerminalParameter.prototype.setOverrideId = function(overrideId) {
this.overrideId = overrideId;
};
/**
* Get the field value
* @memberof payments.TerminalParameter
* @return {String}
*/
TerminalParameter.prototype.getOverrideId = function() {
return this.overrideId;
};
/**
* Set the field value
* @memberof payments.TerminalParameter
* @param {payments.OverrideType} overrideType
*/
TerminalParameter.prototype.setOverrideType = function(overrideType) {
this.overrideType = overrideType;
};
/**
* Get the field value
* @memberof payments.TerminalParameter
* @return {payments.OverrideType}
*/
TerminalParameter.prototype.getOverrideType = function() {
return this.overrideType;
};
/**
* Set the field value
* @memberof payments.TerminalParameter
* @param {String} aid
*/
TerminalParameter.prototype.setAid = function(aid) {
this.aid = aid;
};
/**
* Get the field value
* @memberof payments.TerminalParameter
* @return {String}
*/
TerminalParameter.prototype.getAid = function() {
return this.aid;
};
/**
* Set the field value
* @memberof payments.TerminalParameter
* @param {Array.<payments.Tag>} tagData An array of
*/
TerminalParameter.prototype.setTagData = function(tagData) {
this.tagData = tagData;
};
/**
* Get the field value
* @memberof payments.TerminalParameter
* @return {Array.<payments.Tag>} An array of
*/
TerminalParameter.prototype.getTagData = function() {
return this.tagData;
};
/**
* @memberof payments.TerminalParameter
* @private
*/
TerminalParameter.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;
};
TerminalParameter.prototype.toString = function() {
return JSON.stringify(this);
};
TerminalParameter._meta_ = {fields: {}};
TerminalParameter._meta_._class_ = TerminalParameter;
TerminalParameter._meta_.fields["id"] = {};
TerminalParameter._meta_.fields["id"].type = String;
TerminalParameter._meta_.fields["param"] = {};
TerminalParameter._meta_.fields["param"].type = String;
TerminalParameter._meta_.fields["paramType"] = {};
TerminalParameter._meta_.fields["paramType"].type = payments_ParamType;
TerminalParameter._meta_.fields["data"] = {};
TerminalParameter._meta_.fields["data"].type = String;
TerminalParameter._meta_.fields["deviceType"] = {};
TerminalParameter._meta_.fields["deviceType"].type = String;
TerminalParameter._meta_.fields["deviceTypeId"] = {};
TerminalParameter._meta_.fields["deviceTypeId"].type = String;
TerminalParameter._meta_.fields["overrideName"] = {};
TerminalParameter._meta_.fields["overrideName"].type = String;
TerminalParameter._meta_.fields["overrideId"] = {};
TerminalParameter._meta_.fields["overrideId"].type = String;
TerminalParameter._meta_.fields["overrideType"] = {};
TerminalParameter._meta_.fields["overrideType"].type = payments_OverrideType;
TerminalParameter._meta_.fields["aid"] = {};
TerminalParameter._meta_.fields["aid"].type = String;
TerminalParameter._meta_.fields["tagData"] = {};
TerminalParameter._meta_.fields["tagData"].type = Array;
TerminalParameter._meta_.fields["tagData"].elementType = payments_Tag;
//
// Expose the module.
//
if ('undefined' !== typeof module) {
module.exports = TerminalParameter;
}