Source: remotemessage/RemoveLineItemAction.js

/**
 * Autogenerated by Avro
 * 
 * DO NOT EDIT DIRECTLY
 */


/**
* @constructor
* @memberof remotemessage
*/
var RemoveLineItemAction = function() {
  this._class_ = RemoveLineItemAction;
  this.lineItemId = undefined;
};


/**
* Set the field value
* @memberof remotemessage.RemoveLineItemAction
* @param {String} lineItemId 
*/
RemoveLineItemAction.prototype.setLineItemId = function(lineItemId) {
  this.lineItemId = lineItemId;
};

/**
* Get the field value
* @memberof remotemessage.RemoveLineItemAction
* @return {String} 
*/
RemoveLineItemAction.prototype.getLineItemId = function() {
  return this.lineItemId;
};

/**
* @memberof remotemessage.RemoveLineItemAction
* @private
*/
RemoveLineItemAction.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;
};

RemoveLineItemAction.prototype.toString = function() {
  return JSON.stringify(this);
};

RemoveLineItemAction._meta_ =  {fields:  {}};
RemoveLineItemAction._meta_._class_ =  RemoveLineItemAction;
RemoveLineItemAction._meta_.fields["lineItemId"] = {};
RemoveLineItemAction._meta_.fields["lineItemId"].type = String;

//
// Expose the module.
//
if ('undefined' !== typeof module) {
module.exports = RemoveLineItemAction;
}