Class: ActiveNetsuite::CurrencyRate

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

nullFieldList - ActiveNetsuite::NullField
baseCurrency - ActiveNetsuite::RecordRef
transactionCurrency - ActiveNetsuite::RecordRef
exchangeRate - SOAP::SOAPDouble
effectiveDate - SOAP::SOAPDateTime
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, baseCurrency = nil, transactionCurrency = nil, exchangeRate = nil, effectiveDate = nil) ⇒ CurrencyRate

Returns a new instance of CurrencyRate.



13311
13312
13313
13314
13315
13316
13317
13318
# File 'lib/activenetsuite/soap/default.rb', line 13311

def initialize(nullFieldList = nil, baseCurrency = nil, transactionCurrency = nil, exchangeRate = nil, effectiveDate = nil)
  @nullFieldList = nullFieldList
  @baseCurrency = baseCurrency
  @transactionCurrency = transactionCurrency
  @exchangeRate = exchangeRate
  @effectiveDate = effectiveDate
  @__xmlattr = {}
end

Dynamic Method Handling

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

Instance Attribute Details

#baseCurrencyObject

Returns the value of attribute baseCurrency.



13294
13295
13296
# File 'lib/activenetsuite/soap/default.rb', line 13294

def baseCurrency
  @baseCurrency
end

#effectiveDateObject

Returns the value of attribute effectiveDate.



13297
13298
13299
# File 'lib/activenetsuite/soap/default.rb', line 13297

def effectiveDate
  @effectiveDate
end

#exchangeRateObject

Returns the value of attribute exchangeRate.



13296
13297
13298
# File 'lib/activenetsuite/soap/default.rb', line 13296

def exchangeRate
  @exchangeRate
end

#nullFieldListObject

Returns the value of attribute nullFieldList.



13293
13294
13295
# File 'lib/activenetsuite/soap/default.rb', line 13293

def nullFieldList
  @nullFieldList
end

#transactionCurrencyObject

Returns the value of attribute transactionCurrency.



13295
13296
13297
# File 'lib/activenetsuite/soap/default.rb', line 13295

def transactionCurrency
  @transactionCurrency
end

Instance Method Details

#__xmlattrObject



13299
13300
13301
# File 'lib/activenetsuite/soap/default.rb', line 13299

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_internalIdObject



13303
13304
13305
# File 'lib/activenetsuite/soap/default.rb', line 13303

def xmlattr_internalId
  __xmlattr[AttrInternalId]
end

#xmlattr_internalId=(value) ⇒ Object



13307
13308
13309
# File 'lib/activenetsuite/soap/default.rb', line 13307

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