Class: FlatShippingDiscountType
- Inherits:
-
Object
- Object
- FlatShippingDiscountType
- Defined in:
- lib/eBay.rb
Overview
urn:ebay:apis:eBLBaseComponentsFlatShippingDiscountType
discountName - DiscountNameCodeType
discountProfile - 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 = []) ⇒ FlatShippingDiscountType
constructor
A new instance of FlatShippingDiscountType.
- #set_any(elements) ⇒ Object
Constructor Details
#initialize(discountName = nil, discountProfile = []) ⇒ FlatShippingDiscountType
Returns a new instance of FlatShippingDiscountType.
19715 19716 19717 19718 19719 |
# File 'lib/eBay.rb', line 19715 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.
19709 19710 19711 |
# File 'lib/eBay.rb', line 19709 def __xmlele_any @__xmlele_any end |
#discountName ⇒ Object
Returns the value of attribute discountName.
19707 19708 19709 |
# File 'lib/eBay.rb', line 19707 def discountName @discountName end |
#discountProfile ⇒ Object
Returns the value of attribute discountProfile.
19708 19709 19710 |
# File 'lib/eBay.rb', line 19708 def discountProfile @discountProfile end |
Instance Method Details
#set_any(elements) ⇒ Object
19711 19712 19713 |
# File 'lib/eBay.rb', line 19711 def set_any(elements) @__xmlele_any = elements end |