Class: CrossPromotionsType

Inherits:
Object
  • Object
show all
Defined in:
lib/v_paypal/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.



1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
# File 'lib/v_paypal/default.rb', line 1701

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.



1692
1693
1694
# File 'lib/v_paypal/default.rb', line 1692

def itemID
  @itemID
end

#primarySchemeObject

Returns the value of attribute primaryScheme.



1693
1694
1695
# File 'lib/v_paypal/default.rb', line 1693

def primaryScheme
  @primaryScheme
end

#promotedItemObject

Returns the value of attribute promotedItem.



1699
1700
1701
# File 'lib/v_paypal/default.rb', line 1699

def promotedItem
  @promotedItem
end

#promotionMethodObject

Returns the value of attribute promotionMethod.



1694
1695
1696
# File 'lib/v_paypal/default.rb', line 1694

def promotionMethod
  @promotionMethod
end

#sellerIDObject

Returns the value of attribute sellerID.



1695
1696
1697
# File 'lib/v_paypal/default.rb', line 1695

def sellerID
  @sellerID
end

#sellerKeyObject

Returns the value of attribute sellerKey.



1697
1698
1699
# File 'lib/v_paypal/default.rb', line 1697

def sellerKey
  @sellerKey
end

#shippingDiscountObject

Returns the value of attribute shippingDiscount.



1696
1697
1698
# File 'lib/v_paypal/default.rb', line 1696

def shippingDiscount
  @shippingDiscount
end

#storeNameObject

Returns the value of attribute storeName.



1698
1699
1700
# File 'lib/v_paypal/default.rb', line 1698

def storeName
  @storeName
end