Class: PromotionalSaleType

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

Overview

urn:ebay:apis:eBLBaseComponentsPromotionalSaleType

promotionalSaleID - SOAP::SOAPLong
promotionalSaleName - SOAP::SOAPString
promotionalSaleItemIDArray - ItemIDArrayType
status - PromotionalSaleStatusCodeType
discountType - DiscountCodeType
discountValue - SOAP::SOAPDouble
promotionalSaleStartTime - SOAP::SOAPDateTime
promotionalSaleEndTime - SOAP::SOAPDateTime
promotionalSaleType - 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.



22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
# File 'lib/eBay.rb', line 22830

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.



22824
22825
22826
# File 'lib/eBay.rb', line 22824

def __xmlele_any
  @__xmlele_any
end

#discountTypeObject

Returns the value of attribute discountType.



22819
22820
22821
# File 'lib/eBay.rb', line 22819

def discountType
  @discountType
end

#discountValueObject

Returns the value of attribute discountValue.



22820
22821
22822
# File 'lib/eBay.rb', line 22820

def discountValue
  @discountValue
end

#promotionalSaleEndTimeObject

Returns the value of attribute promotionalSaleEndTime.



22822
22823
22824
# File 'lib/eBay.rb', line 22822

def promotionalSaleEndTime
  @promotionalSaleEndTime
end

#promotionalSaleIDObject

Returns the value of attribute promotionalSaleID.



22815
22816
22817
# File 'lib/eBay.rb', line 22815

def promotionalSaleID
  @promotionalSaleID
end

#promotionalSaleItemIDArrayObject

Returns the value of attribute promotionalSaleItemIDArray.



22817
22818
22819
# File 'lib/eBay.rb', line 22817

def promotionalSaleItemIDArray
  @promotionalSaleItemIDArray
end

#promotionalSaleNameObject

Returns the value of attribute promotionalSaleName.



22816
22817
22818
# File 'lib/eBay.rb', line 22816

def promotionalSaleName
  @promotionalSaleName
end

#promotionalSaleStartTimeObject

Returns the value of attribute promotionalSaleStartTime.



22821
22822
22823
# File 'lib/eBay.rb', line 22821

def promotionalSaleStartTime
  @promotionalSaleStartTime
end

#promotionalSaleTypeObject

Returns the value of attribute promotionalSaleType.



22823
22824
22825
# File 'lib/eBay.rb', line 22823

def promotionalSaleType
  @promotionalSaleType
end

#statusObject

Returns the value of attribute status.



22818
22819
22820
# File 'lib/eBay.rb', line 22818

def status
  @status
end

Instance Method Details

#set_any(elements) ⇒ Object



22826
22827
22828
# File 'lib/eBay.rb', line 22826

def set_any(elements)
  @__xmlele_any = elements
end