Class: EBay::PromotionalSaleType

Inherits:
Object
  • Object
show all
Defined in:
lib/eBay.rb

Overview

urn:ebay:apis:eBLBaseComponentsPromotionalSaleType

promotionalSaleID - SOAP::SOAPLong
promotionalSaleName - SOAP::SOAPString
promotionalSaleItemIDArray - EBay::ItemIDArrayType
status - EBay::PromotionalSaleStatusCodeType
discountType - EBay::DiscountCodeType
discountValue - SOAP::SOAPDouble
promotionalSaleStartTime - SOAP::SOAPDateTime
promotionalSaleEndTime - SOAP::SOAPDateTime
promotionalSaleType - EBay::PromotionalSaleTypeCodeType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(promotionalSaleID = nil, promotionalSaleName = nil, promotionalSaleItemIDArray = nil, status = nil, discountType = nil, discountValue = nil, promotionalSaleStartTime = nil, promotionalSaleEndTime = nil, promotionalSaleType = nil) ⇒ PromotionalSaleType

Returns a new instance of PromotionalSaleType.



29738
29739
29740
29741
29742
29743
29744
29745
29746
29747
29748
29749
# File 'lib/eBay.rb', line 29738

def initialize(promotionalSaleID = nil, promotionalSaleName = nil, promotionalSaleItemIDArray = nil, status = nil, discountType = nil, discountValue = nil, promotionalSaleStartTime = nil, promotionalSaleEndTime = nil, promotionalSaleType = nil)
  @promotionalSaleID = promotionalSaleID
  @promotionalSaleName = promotionalSaleName
  @promotionalSaleItemIDArray = promotionalSaleItemIDArray
  @status = status
  @discountType = discountType
  @discountValue = discountValue
  @promotionalSaleStartTime = promotionalSaleStartTime
  @promotionalSaleEndTime = promotionalSaleEndTime
  @promotionalSaleType = promotionalSaleType
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



29732
29733
29734
# File 'lib/eBay.rb', line 29732

def __xmlele_any
  @__xmlele_any
end

#discountTypeObject

Returns the value of attribute discountType.



29727
29728
29729
# File 'lib/eBay.rb', line 29727

def discountType
  @discountType
end

#discountValueObject

Returns the value of attribute discountValue.



29728
29729
29730
# File 'lib/eBay.rb', line 29728

def discountValue
  @discountValue
end

#promotionalSaleEndTimeObject

Returns the value of attribute promotionalSaleEndTime.



29730
29731
29732
# File 'lib/eBay.rb', line 29730

def promotionalSaleEndTime
  @promotionalSaleEndTime
end

#promotionalSaleIDObject

Returns the value of attribute promotionalSaleID.



29723
29724
29725
# File 'lib/eBay.rb', line 29723

def promotionalSaleID
  @promotionalSaleID
end

#promotionalSaleItemIDArrayObject

Returns the value of attribute promotionalSaleItemIDArray.



29725
29726
29727
# File 'lib/eBay.rb', line 29725

def promotionalSaleItemIDArray
  @promotionalSaleItemIDArray
end

#promotionalSaleNameObject

Returns the value of attribute promotionalSaleName.



29724
29725
29726
# File 'lib/eBay.rb', line 29724

def promotionalSaleName
  @promotionalSaleName
end

#promotionalSaleStartTimeObject

Returns the value of attribute promotionalSaleStartTime.



29729
29730
29731
# File 'lib/eBay.rb', line 29729

def promotionalSaleStartTime
  @promotionalSaleStartTime
end

#promotionalSaleTypeObject

Returns the value of attribute promotionalSaleType.



29731
29732
29733
# File 'lib/eBay.rb', line 29731

def promotionalSaleType
  @promotionalSaleType
end

#statusObject

Returns the value of attribute status.



29726
29727
29728
# File 'lib/eBay.rb', line 29726

def status
  @status
end

Instance Method Details

#set_any(elements) ⇒ Object



29734
29735
29736
# File 'lib/eBay.rb', line 29734

def set_any(elements)
  @__xmlele_any = elements
end