Class: ActiveNetsuite::State

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.comState

nullFieldList - ActiveNetsuite::NullField
country - ActiveNetsuite::Country
fullName - SOAP::SOAPString
shortname - SOAP::SOAPString
xmlattr_internalId - SOAP::SOAPString

Constant Summary collapse

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, country = nil, fullName = nil, shortname = nil) ⇒ State

Returns a new instance of State.



12618
12619
12620
12621
12622
12623
12624
# File 'lib/activenetsuite/soap/default.rb', line 12618

def initialize(nullFieldList = nil, country = nil, fullName = nil, shortname = nil)
  @nullFieldList = nullFieldList
  @country = country
  @fullName = fullName
  @shortname = shortname
  @__xmlattr = {}
end

Dynamic Method Handling

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

Instance Attribute Details

#countryObject

Returns the value of attribute country.



12602
12603
12604
# File 'lib/activenetsuite/soap/default.rb', line 12602

def country
  @country
end

#fullNameObject

Returns the value of attribute fullName.



12603
12604
12605
# File 'lib/activenetsuite/soap/default.rb', line 12603

def fullName
  @fullName
end

#nullFieldListObject

Returns the value of attribute nullFieldList.



12601
12602
12603
# File 'lib/activenetsuite/soap/default.rb', line 12601

def nullFieldList
  @nullFieldList
end

#shortnameObject

Returns the value of attribute shortname.



12604
12605
12606
# File 'lib/activenetsuite/soap/default.rb', line 12604

def shortname
  @shortname
end

Instance Method Details

#__xmlattrObject



12606
12607
12608
# File 'lib/activenetsuite/soap/default.rb', line 12606

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_internalIdObject



12610
12611
12612
# File 'lib/activenetsuite/soap/default.rb', line 12610

def xmlattr_internalId
  __xmlattr[AttrInternalId]
end

#xmlattr_internalId=(value) ⇒ Object



12614
12615
12616
# File 'lib/activenetsuite/soap/default.rb', line 12614

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