Class: ActiveNetsuite::Department

Inherits:
Record
  • Object
show all
Defined in:
lib/activenetsuite/soap/default.rb

Overview

urn:accounting_2013_2urn:accounting_2013_2.listsurn:accounting_2013_2.lists.webservicesurn:accounting_2013_2.lists.webservices.netsuiteurn:accounting_2013_2.lists.webservices.netsuite.comDepartment

nullFieldList - ActiveNetsuite::NullField
name - SOAP::SOAPString
includeChildren - SOAP::SOAPBoolean
parent - ActiveNetsuite::RecordRef
isInactive - SOAP::SOAPBoolean
classTranslationList - ActiveNetsuite::ClassTranslationList
subsidiaryList - ActiveNetsuite::RecordRefList
customFieldList - ActiveNetsuite::CustomFieldList
xmlattr_internalId - SOAP::SOAPString
xmlattr_externalId - SOAP::SOAPString

Constant Summary collapse

AttrExternalId =
XSD::QName.new(nil, "externalId")
AttrInternalId =
XSD::QName.new(nil, "internalId")

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Record

#activate, active, #active=, #active?, #add, all, basic_search_class, #client, client, client=, delete, #delete, deleted, find, find_by, find_by_external_id, find_by_id, find_by_internal_id, #getters, #inactivate, inactive, #inactive=, #load, #loaded?, raise_not_found_error, ref, #ref, search_next, #setters, #to_s, type, #update, update, where

Methods included from MethodInflector

included, #method_missing

Constructor Details

#initialize(nullFieldList = nil, name = nil, includeChildren = nil, parent = nil, isInactive = nil, classTranslationList = nil, subsidiaryList = nil, customFieldList = nil) ⇒ Department

Returns a new instance of Department.



8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
# File 'lib/activenetsuite/soap/default.rb', line 8007

def initialize(nullFieldList = nil, name = nil, includeChildren = nil, parent = nil, isInactive = nil, classTranslationList = nil, subsidiaryList = nil, customFieldList = nil)
  @nullFieldList = nullFieldList
  @name = name
  @includeChildren = includeChildren
  @parent = parent
  @isInactive = isInactive
  @classTranslationList = classTranslationList
  @subsidiaryList = subsidiaryList
  @customFieldList = customFieldList
  @__xmlattr = {}
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveNetsuite::MethodInflector

Instance Attribute Details

#classTranslationListObject

Returns the value of attribute classTranslationList.



7983
7984
7985
# File 'lib/activenetsuite/soap/default.rb', line 7983

def classTranslationList
  @classTranslationList
end

#customFieldListObject

Returns the value of attribute customFieldList.



7985
7986
7987
# File 'lib/activenetsuite/soap/default.rb', line 7985

def customFieldList
  @customFieldList
end

#includeChildrenObject

Returns the value of attribute includeChildren.



7980
7981
7982
# File 'lib/activenetsuite/soap/default.rb', line 7980

def includeChildren
  @includeChildren
end

#isInactiveObject

Returns the value of attribute isInactive.



7982
7983
7984
# File 'lib/activenetsuite/soap/default.rb', line 7982

def isInactive
  @isInactive
end

#nameObject

Returns the value of attribute name.



7979
7980
7981
# File 'lib/activenetsuite/soap/default.rb', line 7979

def name
  @name
end

#nullFieldListObject

Returns the value of attribute nullFieldList.



7978
7979
7980
# File 'lib/activenetsuite/soap/default.rb', line 7978

def nullFieldList
  @nullFieldList
end

#parentObject

Returns the value of attribute parent.



7981
7982
7983
# File 'lib/activenetsuite/soap/default.rb', line 7981

def parent
  @parent
end

#subsidiaryListObject

Returns the value of attribute subsidiaryList.



7984
7985
7986
# File 'lib/activenetsuite/soap/default.rb', line 7984

def subsidiaryList
  @subsidiaryList
end

Instance Method Details

#__xmlattrObject



7987
7988
7989
# File 'lib/activenetsuite/soap/default.rb', line 7987

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_externalIdObject



7999
8000
8001
# File 'lib/activenetsuite/soap/default.rb', line 7999

def xmlattr_externalId
  __xmlattr[AttrExternalId]
end

#xmlattr_externalId=(value) ⇒ Object



8003
8004
8005
# File 'lib/activenetsuite/soap/default.rb', line 8003

def xmlattr_externalId=(value)
  __xmlattr[AttrExternalId] = value
end

#xmlattr_internalIdObject



7991
7992
7993
# File 'lib/activenetsuite/soap/default.rb', line 7991

def xmlattr_internalId
  __xmlattr[AttrInternalId]
end

#xmlattr_internalId=(value) ⇒ Object



7995
7996
7997
# File 'lib/activenetsuite/soap/default.rb', line 7995

def xmlattr_internalId=(value)
  __xmlattr[AttrInternalId] = value
end