Class: ActiveNetsuite::CostCategory

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

nullFieldList - ActiveNetsuite::NullField
name - SOAP::SOAPString
 - ActiveNetsuite::RecordRef
itemCostType - ActiveNetsuite::CostCategoryItemCostType
isInactive - SOAP::SOAPBoolean
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, account = nil, itemCostType = nil, isInactive = nil) ⇒ CostCategory

Returns a new instance of CostCategory.



13008
13009
13010
13011
13012
13013
13014
13015
# File 'lib/activenetsuite/soap/default.rb', line 13008

def initialize(nullFieldList = nil, name = nil,  = nil, itemCostType = nil, isInactive = nil)
  @nullFieldList = nullFieldList
  @name = name
  @account = 
  @itemCostType = itemCostType
  @isInactive = isInactive
  @__xmlattr = {}
end

Dynamic Method Handling

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

Instance Attribute Details

#accountObject

Returns the value of attribute account.



12984
12985
12986
# File 'lib/activenetsuite/soap/default.rb', line 12984

def 
  @account
end

#isInactiveObject

Returns the value of attribute isInactive.



12986
12987
12988
# File 'lib/activenetsuite/soap/default.rb', line 12986

def isInactive
  @isInactive
end

#itemCostTypeObject

Returns the value of attribute itemCostType.



12985
12986
12987
# File 'lib/activenetsuite/soap/default.rb', line 12985

def itemCostType
  @itemCostType
end

#nameObject

Returns the value of attribute name.



12983
12984
12985
# File 'lib/activenetsuite/soap/default.rb', line 12983

def name
  @name
end

#nullFieldListObject

Returns the value of attribute nullFieldList.



12982
12983
12984
# File 'lib/activenetsuite/soap/default.rb', line 12982

def nullFieldList
  @nullFieldList
end

Instance Method Details

#__xmlattrObject



12988
12989
12990
# File 'lib/activenetsuite/soap/default.rb', line 12988

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_externalIdObject



13000
13001
13002
# File 'lib/activenetsuite/soap/default.rb', line 13000

def xmlattr_externalId
  __xmlattr[AttrExternalId]
end

#xmlattr_externalId=(value) ⇒ Object



13004
13005
13006
# File 'lib/activenetsuite/soap/default.rb', line 13004

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

#xmlattr_internalIdObject



12992
12993
12994
# File 'lib/activenetsuite/soap/default.rb', line 12992

def xmlattr_internalId
  __xmlattr[AttrInternalId]
end

#xmlattr_internalId=(value) ⇒ Object



12996
12997
12998
# File 'lib/activenetsuite/soap/default.rb', line 12996

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