Class: ActiveNetsuite::PriceLevel

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

nullFieldList - ActiveNetsuite::NullField
name - SOAP::SOAPString
discountpct - SOAP::SOAPDouble
updateExistingPrices - SOAP::SOAPBoolean
isOnline - SOAP::SOAPBoolean
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, discountpct = nil, updateExistingPrices = nil, isOnline = nil, isInactive = nil) ⇒ PriceLevel

Returns a new instance of PriceLevel.



3576
3577
3578
3579
3580
3581
3582
3583
3584
# File 'lib/activenetsuite/soap/default.rb', line 3576

def initialize(nullFieldList = nil, name = nil, discountpct = nil, updateExistingPrices = nil, isOnline = nil, isInactive = nil)
  @nullFieldList = nullFieldList
  @name = name
  @discountpct = discountpct
  @updateExistingPrices = updateExistingPrices
  @isOnline = isOnline
  @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

#discountpctObject

Returns the value of attribute discountpct.



3551
3552
3553
# File 'lib/activenetsuite/soap/default.rb', line 3551

def discountpct
  @discountpct
end

#isInactiveObject

Returns the value of attribute isInactive.



3554
3555
3556
# File 'lib/activenetsuite/soap/default.rb', line 3554

def isInactive
  @isInactive
end

#isOnlineObject

Returns the value of attribute isOnline.



3553
3554
3555
# File 'lib/activenetsuite/soap/default.rb', line 3553

def isOnline
  @isOnline
end

#nameObject

Returns the value of attribute name.



3550
3551
3552
# File 'lib/activenetsuite/soap/default.rb', line 3550

def name
  @name
end

#nullFieldListObject

Returns the value of attribute nullFieldList.



3549
3550
3551
# File 'lib/activenetsuite/soap/default.rb', line 3549

def nullFieldList
  @nullFieldList
end

#updateExistingPricesObject

Returns the value of attribute updateExistingPrices.



3552
3553
3554
# File 'lib/activenetsuite/soap/default.rb', line 3552

def updateExistingPrices
  @updateExistingPrices
end

Instance Method Details

#__xmlattrObject



3556
3557
3558
# File 'lib/activenetsuite/soap/default.rb', line 3556

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_externalIdObject



3568
3569
3570
# File 'lib/activenetsuite/soap/default.rb', line 3568

def xmlattr_externalId
  __xmlattr[AttrExternalId]
end

#xmlattr_externalId=(value) ⇒ Object



3572
3573
3574
# File 'lib/activenetsuite/soap/default.rb', line 3572

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

#xmlattr_internalIdObject



3560
3561
3562
# File 'lib/activenetsuite/soap/default.rb', line 3560

def xmlattr_internalId
  __xmlattr[AttrInternalId]
end

#xmlattr_internalId=(value) ⇒ Object



3564
3565
3566
# File 'lib/activenetsuite/soap/default.rb', line 3564

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