Class: ActiveNetsuite::CouponCodeSearchBasic

Inherits:
SearchRecordBasic show all
Defined in:
lib/activenetsuite/soap/default.rb

Overview

urn:common_2013_2urn:common_2013_2.platformurn:common_2013_2.platform.webservicesurn:common_2013_2.platform.webservices.netsuiteurn:common_2013_2.platform.webservices.netsuite.comCouponCodeSearchBasic

code - ActiveNetsuite::SearchStringField
dateSent - ActiveNetsuite::SearchDateField
id - ActiveNetsuite::SearchLongField
internalId - ActiveNetsuite::SearchMultiSelectField
internalIdNumber - ActiveNetsuite::SearchLongField
promotion - ActiveNetsuite::SearchMultiSelectField
recipient - ActiveNetsuite::SearchMultiSelectField
useCount - ActiveNetsuite::SearchLongField
used - ActiveNetsuite::SearchBooleanField

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from SearchRecord

#active, #each, #find_by, #inactive, #response, #to_a, #where

Constructor Details

#initialize(code = nil, dateSent = nil, id = nil, internalId = nil, internalIdNumber = nil, promotion = nil, recipient = nil, useCount = nil, used = nil) ⇒ CouponCodeSearchBasic

Returns a new instance of CouponCodeSearchBasic.



30941
30942
30943
30944
30945
30946
30947
30948
30949
30950
30951
# File 'lib/activenetsuite/soap/default.rb', line 30941

def initialize(code = nil, dateSent = nil, id = nil, internalId = nil, internalIdNumber = nil, promotion = nil, recipient = nil, useCount = nil, used = nil)
  @code = code
  @dateSent = dateSent
  @id = id
  @internalId = internalId
  @internalIdNumber = internalIdNumber
  @promotion = promotion
  @recipient = recipient
  @useCount = useCount
  @used = used
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



30931
30932
30933
# File 'lib/activenetsuite/soap/default.rb', line 30931

def code
  @code
end

#dateSentObject

Returns the value of attribute dateSent.



30932
30933
30934
# File 'lib/activenetsuite/soap/default.rb', line 30932

def dateSent
  @dateSent
end

#idObject

Returns the value of attribute id.



30933
30934
30935
# File 'lib/activenetsuite/soap/default.rb', line 30933

def id
  @id
end

#internalIdObject

Returns the value of attribute internalId.



30934
30935
30936
# File 'lib/activenetsuite/soap/default.rb', line 30934

def internalId
  @internalId
end

#internalIdNumberObject

Returns the value of attribute internalIdNumber.



30935
30936
30937
# File 'lib/activenetsuite/soap/default.rb', line 30935

def internalIdNumber
  @internalIdNumber
end

#promotionObject

Returns the value of attribute promotion.



30936
30937
30938
# File 'lib/activenetsuite/soap/default.rb', line 30936

def promotion
  @promotion
end

#recipientObject

Returns the value of attribute recipient.



30937
30938
30939
# File 'lib/activenetsuite/soap/default.rb', line 30937

def recipient
  @recipient
end

#useCountObject

Returns the value of attribute useCount.



30938
30939
30940
# File 'lib/activenetsuite/soap/default.rb', line 30938

def useCount
  @useCount
end

#usedObject

Returns the value of attribute used.



30939
30940
30941
# File 'lib/activenetsuite/soap/default.rb', line 30939

def used
  @used
end