Class: ActiveNetsuite::Nexus

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

nullFieldList - ActiveNetsuite::NullField
country - ActiveNetsuite::Country
state - ActiveNetsuite::RecordRef
taxAgency - ActiveNetsuite::RecordRef
taxAgencyPst - ActiveNetsuite::RecordRef
taxCode - ActiveNetsuite::RecordRef
description - SOAP::SOAPString
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, country = nil, state = nil, taxAgency = nil, taxAgencyPst = nil, taxCode = nil, description = nil) ⇒ Nexus

Returns a new instance of Nexus.



13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
# File 'lib/activenetsuite/soap/default.rb', line 13060

def initialize(nullFieldList = nil, country = nil, state = nil, taxAgency = nil, taxAgencyPst = nil, taxCode = nil, description = nil)
  @nullFieldList = nullFieldList
  @country = country
  @state = state
  @taxAgency = taxAgency
  @taxAgencyPst = taxAgencyPst
  @taxCode = taxCode
  @description = description
  @__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.



13033
13034
13035
# File 'lib/activenetsuite/soap/default.rb', line 13033

def country
  @country
end

#descriptionObject

Returns the value of attribute description.



13038
13039
13040
# File 'lib/activenetsuite/soap/default.rb', line 13038

def description
  @description
end

#nullFieldListObject

Returns the value of attribute nullFieldList.



13032
13033
13034
# File 'lib/activenetsuite/soap/default.rb', line 13032

def nullFieldList
  @nullFieldList
end

#stateObject

Returns the value of attribute state.



13034
13035
13036
# File 'lib/activenetsuite/soap/default.rb', line 13034

def state
  @state
end

#taxAgencyObject

Returns the value of attribute taxAgency.



13035
13036
13037
# File 'lib/activenetsuite/soap/default.rb', line 13035

def taxAgency
  @taxAgency
end

#taxAgencyPstObject

Returns the value of attribute taxAgencyPst.



13036
13037
13038
# File 'lib/activenetsuite/soap/default.rb', line 13036

def taxAgencyPst
  @taxAgencyPst
end

#taxCodeObject

Returns the value of attribute taxCode.



13037
13038
13039
# File 'lib/activenetsuite/soap/default.rb', line 13037

def taxCode
  @taxCode
end

Instance Method Details

#__xmlattrObject



13040
13041
13042
# File 'lib/activenetsuite/soap/default.rb', line 13040

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_externalIdObject



13052
13053
13054
# File 'lib/activenetsuite/soap/default.rb', line 13052

def xmlattr_externalId
  __xmlattr[AttrExternalId]
end

#xmlattr_externalId=(value) ⇒ Object



13056
13057
13058
# File 'lib/activenetsuite/soap/default.rb', line 13056

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

#xmlattr_internalIdObject



13044
13045
13046
# File 'lib/activenetsuite/soap/default.rb', line 13044

def xmlattr_internalId
  __xmlattr[AttrInternalId]
end

#xmlattr_internalId=(value) ⇒ Object



13048
13049
13050
# File 'lib/activenetsuite/soap/default.rb', line 13048

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