Class: EBay::CalculatedShippingDiscountType
- Inherits:
-
Object
- Object
- EBay::CalculatedShippingDiscountType
- Defined in:
- lib/eBay.rb
Overview
urn:ebay:apis:eBLBaseComponentsCalculatedShippingDiscountType
discountName - EBay::DiscountNameCodeType
discountProfile - EBay::DiscountProfileType
Instance Attribute Summary collapse
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#discountName ⇒ Object
Returns the value of attribute discountName.
-
#discountProfile ⇒ Object
Returns the value of attribute discountProfile.
Instance Method Summary collapse
-
#initialize(discountName = nil, discountProfile = []) ⇒ CalculatedShippingDiscountType
constructor
A new instance of CalculatedShippingDiscountType.
- #set_any(elements) ⇒ Object
Constructor Details
#initialize(discountName = nil, discountProfile = []) ⇒ CalculatedShippingDiscountType
Returns a new instance of CalculatedShippingDiscountType.
21658 21659 21660 21661 21662 |
# File 'lib/eBay.rb', line 21658 def initialize(discountName = nil, discountProfile = []) @discountName = discountName @discountProfile = discountProfile @__xmlele_any = nil end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
21652 21653 21654 |
# File 'lib/eBay.rb', line 21652 def __xmlele_any @__xmlele_any end |
#discountName ⇒ Object
Returns the value of attribute discountName.
21650 21651 21652 |
# File 'lib/eBay.rb', line 21650 def discountName @discountName end |
#discountProfile ⇒ Object
Returns the value of attribute discountProfile.
21651 21652 21653 |
# File 'lib/eBay.rb', line 21651 def discountProfile @discountProfile end |
Instance Method Details
#set_any(elements) ⇒ Object
21654 21655 21656 |
# File 'lib/eBay.rb', line 21654 def set_any(elements) @__xmlele_any = elements end |