Class: EBay::SellerDiscountType
- Inherits:
-
Object
- Object
- EBay::SellerDiscountType
- Defined in:
- lib/eBay.rb
Overview
urn:ebay:apis:eBLBaseComponentsSellerDiscountType
campaignID - SOAP::SOAPLong
campaignDisplayName - SOAP::SOAPString
itemDiscountAmount - EBay::AmountType
shippingDiscountAmount - EBay::AmountType
Instance Attribute Summary collapse
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#campaignDisplayName ⇒ Object
Returns the value of attribute campaignDisplayName.
-
#campaignID ⇒ Object
Returns the value of attribute campaignID.
-
#itemDiscountAmount ⇒ Object
Returns the value of attribute itemDiscountAmount.
-
#shippingDiscountAmount ⇒ Object
Returns the value of attribute shippingDiscountAmount.
Instance Method Summary collapse
-
#initialize(campaignID = nil, campaignDisplayName = nil, itemDiscountAmount = nil, shippingDiscountAmount = nil) ⇒ SellerDiscountType
constructor
A new instance of SellerDiscountType.
- #set_any(elements) ⇒ Object
Constructor Details
#initialize(campaignID = nil, campaignDisplayName = nil, itemDiscountAmount = nil, shippingDiscountAmount = nil) ⇒ SellerDiscountType
Returns a new instance of SellerDiscountType.
31009 31010 31011 31012 31013 31014 31015 |
# File 'lib/eBay.rb', line 31009 def initialize(campaignID = nil, campaignDisplayName = nil, itemDiscountAmount = nil, shippingDiscountAmount = nil) @campaignID = campaignID @campaignDisplayName = campaignDisplayName @itemDiscountAmount = itemDiscountAmount @shippingDiscountAmount = shippingDiscountAmount @__xmlele_any = nil end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
31003 31004 31005 |
# File 'lib/eBay.rb', line 31003 def __xmlele_any @__xmlele_any end |
#campaignDisplayName ⇒ Object
Returns the value of attribute campaignDisplayName.
31000 31001 31002 |
# File 'lib/eBay.rb', line 31000 def campaignDisplayName @campaignDisplayName end |
#campaignID ⇒ Object
Returns the value of attribute campaignID.
30999 31000 31001 |
# File 'lib/eBay.rb', line 30999 def campaignID @campaignID end |
#itemDiscountAmount ⇒ Object
Returns the value of attribute itemDiscountAmount.
31001 31002 31003 |
# File 'lib/eBay.rb', line 31001 def itemDiscountAmount @itemDiscountAmount end |
#shippingDiscountAmount ⇒ Object
Returns the value of attribute shippingDiscountAmount.
31002 31003 31004 |
# File 'lib/eBay.rb', line 31002 def shippingDiscountAmount @shippingDiscountAmount end |
Instance Method Details
#set_any(elements) ⇒ Object
31005 31006 31007 |
# File 'lib/eBay.rb', line 31005 def set_any(elements) @__xmlele_any = elements end |