Class: CrossPromotionsType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsCrossPromotionsType

Constant Summary collapse

@@schema_type =
"CrossPromotionsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["itemID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemID")]],
  ["primaryScheme", ["PromotionSchemeCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PrimaryScheme")]],
  ["promotionMethod", ["PromotionMethodCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PromotionMethod")]],
  ["sellerID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SellerID")]],
  ["shippingDiscount", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingDiscount")]],
  ["sellerKey", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SellerKey")]],
  ["storeName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "StoreName")]],
  ["promotedItem", ["PromotedItemType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PromotedItem")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(itemID = nil, primaryScheme = nil, promotionMethod = nil, sellerID = nil, shippingDiscount = nil, sellerKey = nil, storeName = nil, promotedItem = []) ⇒ CrossPromotionsType

Returns a new instance of CrossPromotionsType.



1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
# File 'lib/paypal-business/default.rb', line 1881

def initialize(itemID = nil, primaryScheme = nil, promotionMethod = nil, sellerID = nil, shippingDiscount = nil, sellerKey = nil, storeName = nil, promotedItem = [])
  @itemID = itemID
  @primaryScheme = primaryScheme
  @promotionMethod = promotionMethod
  @sellerID = sellerID
  @shippingDiscount = shippingDiscount
  @sellerKey = sellerKey
  @storeName = storeName
  @promotedItem = promotedItem
end

Instance Attribute Details

#itemIDObject

Returns the value of attribute itemID.



1872
1873
1874
# File 'lib/paypal-business/default.rb', line 1872

def itemID
  @itemID
end

#primarySchemeObject

Returns the value of attribute primaryScheme.



1873
1874
1875
# File 'lib/paypal-business/default.rb', line 1873

def primaryScheme
  @primaryScheme
end

#promotedItemObject

Returns the value of attribute promotedItem.



1879
1880
1881
# File 'lib/paypal-business/default.rb', line 1879

def promotedItem
  @promotedItem
end

#promotionMethodObject

Returns the value of attribute promotionMethod.



1874
1875
1876
# File 'lib/paypal-business/default.rb', line 1874

def promotionMethod
  @promotionMethod
end

#sellerIDObject

Returns the value of attribute sellerID.



1875
1876
1877
# File 'lib/paypal-business/default.rb', line 1875

def sellerID
  @sellerID
end

#sellerKeyObject

Returns the value of attribute sellerKey.



1877
1878
1879
# File 'lib/paypal-business/default.rb', line 1877

def sellerKey
  @sellerKey
end

#shippingDiscountObject

Returns the value of attribute shippingDiscount.



1876
1877
1878
# File 'lib/paypal-business/default.rb', line 1876

def shippingDiscount
  @shippingDiscount
end

#storeNameObject

Returns the value of attribute storeName.



1878
1879
1880
# File 'lib/paypal-business/default.rb', line 1878

def storeName
  @storeName
end