Class: ActiveNetsuite::GiftCertificate

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

nullFieldList - ActiveNetsuite::NullField
giftCertCode - SOAP::SOAPString
sender - SOAP::SOAPString
name - SOAP::SOAPString
email - SOAP::SOAPString
message - SOAP::SOAPString
expirationDate - SOAP::SOAPDateTime
createdDate - SOAP::SOAPDateTime
lastModifiedDate - SOAP::SOAPDateTime
originalAmount - SOAP::SOAPDouble
amountRemaining - SOAP::SOAPDouble
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, giftCertCode = nil, sender = nil, name = nil, email = nil, message = nil, expirationDate = nil, createdDate = nil, lastModifiedDate = nil, originalAmount = nil, amountRemaining = nil) ⇒ GiftCertificate

Returns a new instance of GiftCertificate.



10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
# File 'lib/activenetsuite/soap/default.rb', line 10316

def initialize(nullFieldList = nil, giftCertCode = nil, sender = nil, name = nil, email = nil, message = nil, expirationDate = nil, createdDate = nil, lastModifiedDate = nil, originalAmount = nil, amountRemaining = nil)
  @nullFieldList = nullFieldList
  @giftCertCode = giftCertCode
  @sender = sender
  @name = name
  @email = email
  @message = message
  @expirationDate = expirationDate
  @createdDate = createdDate
  @lastModifiedDate = lastModifiedDate
  @originalAmount = originalAmount
  @amountRemaining = amountRemaining
  @__xmlattr = {}
end

Dynamic Method Handling

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

Instance Attribute Details

#amountRemainingObject

Returns the value of attribute amountRemaining.



10302
10303
10304
# File 'lib/activenetsuite/soap/default.rb', line 10302

def amountRemaining
  @amountRemaining
end

#createdDateObject

Returns the value of attribute createdDate.



10299
10300
10301
# File 'lib/activenetsuite/soap/default.rb', line 10299

def createdDate
  @createdDate
end

#emailObject

Returns the value of attribute email.



10296
10297
10298
# File 'lib/activenetsuite/soap/default.rb', line 10296

def email
  @email
end

#expirationDateObject

Returns the value of attribute expirationDate.



10298
10299
10300
# File 'lib/activenetsuite/soap/default.rb', line 10298

def expirationDate
  @expirationDate
end

#giftCertCodeObject

Returns the value of attribute giftCertCode.



10293
10294
10295
# File 'lib/activenetsuite/soap/default.rb', line 10293

def giftCertCode
  @giftCertCode
end

#lastModifiedDateObject

Returns the value of attribute lastModifiedDate.



10300
10301
10302
# File 'lib/activenetsuite/soap/default.rb', line 10300

def lastModifiedDate
  @lastModifiedDate
end

#messageObject

Returns the value of attribute message.



10297
10298
10299
# File 'lib/activenetsuite/soap/default.rb', line 10297

def message
  @message
end

#nameObject

Returns the value of attribute name.



10295
10296
10297
# File 'lib/activenetsuite/soap/default.rb', line 10295

def name
  @name
end

#nullFieldListObject

Returns the value of attribute nullFieldList.



10292
10293
10294
# File 'lib/activenetsuite/soap/default.rb', line 10292

def nullFieldList
  @nullFieldList
end

#originalAmountObject

Returns the value of attribute originalAmount.



10301
10302
10303
# File 'lib/activenetsuite/soap/default.rb', line 10301

def originalAmount
  @originalAmount
end

#senderObject

Returns the value of attribute sender.



10294
10295
10296
# File 'lib/activenetsuite/soap/default.rb', line 10294

def sender
  @sender
end

Instance Method Details

#__xmlattrObject



10304
10305
10306
# File 'lib/activenetsuite/soap/default.rb', line 10304

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_internalIdObject



10308
10309
10310
# File 'lib/activenetsuite/soap/default.rb', line 10308

def xmlattr_internalId
  __xmlattr[AttrInternalId]
end

#xmlattr_internalId=(value) ⇒ Object



10312
10313
10314
# File 'lib/activenetsuite/soap/default.rb', line 10312

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