Class: CrossPromotionsType
- Inherits:
-
Object
- Object
- CrossPromotionsType
- 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
-
#itemID ⇒ Object
Returns the value of attribute itemID.
-
#primaryScheme ⇒ Object
Returns the value of attribute primaryScheme.
-
#promotedItem ⇒ Object
Returns the value of attribute promotedItem.
-
#promotionMethod ⇒ Object
Returns the value of attribute promotionMethod.
-
#sellerID ⇒ Object
Returns the value of attribute sellerID.
-
#sellerKey ⇒ Object
Returns the value of attribute sellerKey.
-
#shippingDiscount ⇒ Object
Returns the value of attribute shippingDiscount.
-
#storeName ⇒ Object
Returns the value of attribute storeName.
Instance Method Summary collapse
-
#initialize(itemID = nil, primaryScheme = nil, promotionMethod = nil, sellerID = nil, shippingDiscount = nil, sellerKey = nil, storeName = nil, promotedItem = []) ⇒ CrossPromotionsType
constructor
A new instance of CrossPromotionsType.
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
#itemID ⇒ Object
Returns the value of attribute itemID.
1872 1873 1874 |
# File 'lib/paypal-business/default.rb', line 1872 def itemID @itemID end |
#primaryScheme ⇒ Object
Returns the value of attribute primaryScheme.
1873 1874 1875 |
# File 'lib/paypal-business/default.rb', line 1873 def primaryScheme @primaryScheme end |
#promotedItem ⇒ Object
Returns the value of attribute promotedItem.
1879 1880 1881 |
# File 'lib/paypal-business/default.rb', line 1879 def promotedItem @promotedItem end |
#promotionMethod ⇒ Object
Returns the value of attribute promotionMethod.
1874 1875 1876 |
# File 'lib/paypal-business/default.rb', line 1874 def promotionMethod @promotionMethod end |
#sellerID ⇒ Object
Returns the value of attribute sellerID.
1875 1876 1877 |
# File 'lib/paypal-business/default.rb', line 1875 def sellerID @sellerID end |
#sellerKey ⇒ Object
Returns the value of attribute sellerKey.
1877 1878 1879 |
# File 'lib/paypal-business/default.rb', line 1877 def sellerKey @sellerKey end |
#shippingDiscount ⇒ Object
Returns the value of attribute shippingDiscount.
1876 1877 1878 |
# File 'lib/paypal-business/default.rb', line 1876 def shippingDiscount @shippingDiscount end |
#storeName ⇒ Object
Returns the value of attribute storeName.
1878 1879 1880 |
# File 'lib/paypal-business/default.rb', line 1878 def storeName @storeName end |