Class: CrossPromotionPreferencesType

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

Overview

urn:ebay:apis:eBLBaseComponentsCrossPromotionPreferencesType

Constant Summary collapse

@@schema_type =
"CrossPromotionPreferencesType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["crossPromotionEnabled", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CrossPromotionEnabled")]],
  ["crossSellItemFormatSortFilter", ["ItemFormatSortFilterCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CrossSellItemFormatSortFilter")]],
  ["crossSellGallerySortFilter", ["GallerySortFilterCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CrossSellGallerySortFilter")]],
  ["crossSellItemSortFilter", ["ItemSortFilterCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CrossSellItemSortFilter")]],
  ["upSellItemFormatSortFilter", ["ItemFormatSortFilterCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "UpSellItemFormatSortFilter")]],
  ["upSellGallerySortFilter", ["GallerySortFilterCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "UpSellGallerySortFilter")]],
  ["upSellItemSortFilter", ["ItemSortFilterCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "UpSellItemSortFilter")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(crossPromotionEnabled = nil, crossSellItemFormatSortFilter = nil, crossSellGallerySortFilter = nil, crossSellItemSortFilter = nil, upSellItemFormatSortFilter = nil, upSellGallerySortFilter = nil, upSellItemSortFilter = nil) ⇒ CrossPromotionPreferencesType

Returns a new instance of CrossPromotionPreferencesType.



16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
# File 'lib/eBay.rb', line 16698

def initialize(crossPromotionEnabled = nil, crossSellItemFormatSortFilter = nil, crossSellGallerySortFilter = nil, crossSellItemSortFilter = nil, upSellItemFormatSortFilter = nil, upSellGallerySortFilter = nil, upSellItemSortFilter = nil)
  @crossPromotionEnabled = crossPromotionEnabled
  @crossSellItemFormatSortFilter = crossSellItemFormatSortFilter
  @crossSellGallerySortFilter = crossSellGallerySortFilter
  @crossSellItemSortFilter = crossSellItemSortFilter
  @upSellItemFormatSortFilter = upSellItemFormatSortFilter
  @upSellGallerySortFilter = upSellGallerySortFilter
  @upSellItemSortFilter = upSellItemSortFilter
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



16692
16693
16694
# File 'lib/eBay.rb', line 16692

def __xmlele_any
  @__xmlele_any
end

#crossPromotionEnabledObject

Returns the value of attribute crossPromotionEnabled.



16685
16686
16687
# File 'lib/eBay.rb', line 16685

def crossPromotionEnabled
  @crossPromotionEnabled
end

#crossSellGallerySortFilterObject

Returns the value of attribute crossSellGallerySortFilter.



16687
16688
16689
# File 'lib/eBay.rb', line 16687

def crossSellGallerySortFilter
  @crossSellGallerySortFilter
end

#crossSellItemFormatSortFilterObject

Returns the value of attribute crossSellItemFormatSortFilter.



16686
16687
16688
# File 'lib/eBay.rb', line 16686

def crossSellItemFormatSortFilter
  @crossSellItemFormatSortFilter
end

#crossSellItemSortFilterObject

Returns the value of attribute crossSellItemSortFilter.



16688
16689
16690
# File 'lib/eBay.rb', line 16688

def crossSellItemSortFilter
  @crossSellItemSortFilter
end

#upSellGallerySortFilterObject

Returns the value of attribute upSellGallerySortFilter.



16690
16691
16692
# File 'lib/eBay.rb', line 16690

def upSellGallerySortFilter
  @upSellGallerySortFilter
end

#upSellItemFormatSortFilterObject

Returns the value of attribute upSellItemFormatSortFilter.



16689
16690
16691
# File 'lib/eBay.rb', line 16689

def upSellItemFormatSortFilter
  @upSellItemFormatSortFilter
end

#upSellItemSortFilterObject

Returns the value of attribute upSellItemSortFilter.



16691
16692
16693
# File 'lib/eBay.rb', line 16691

def upSellItemSortFilter
  @upSellItemSortFilter
end

Instance Method Details

#set_any(elements) ⇒ Object



16694
16695
16696
# File 'lib/eBay.rb', line 16694

def set_any(elements)
  @__xmlele_any = elements
end