netsuite-js

SearchColumnStringField

declaration
SearchColumnStringField ->SearchColumnStringField

var SearchColumnStringField = module.exports = function SearchColumnStringField() {
  BaseObject.call(this);

field

property
this.field

@member {String} Field name to search against, such as 'entityId' (see reference for your search row type, such as CustomerSearchRowBasic, for allowed values). Required.

this.field = '';
};

util.inherits(SearchColumnStringField, BaseObject);

getAttributes

method
SearchColumnStringField.prototype.getAttributes()

@override

SearchColumnStringField.prototype.getAttributes = function() {
  var attrs = {
    'xsi:type': 'platformCore:SearchColumnStringField'
  };

  return attrs;
};

getUnserializablePropertyNames

method
SearchColumnStringField.prototype.getUnserializablePropertyNames()

@override

SearchColumnStringField.prototype.getUnserializablePropertyNames = function() {
  return ['field'];
};

getSOAPType

method
SearchColumnStringField.prototype.getSOAPType()

@override

SearchColumnStringField.prototype.getSOAPType = function() {
  if (!this.field) {
    throw new Error('field member not set');
  }

  return this.field;
};