Class: EBay::ListingDurationDefinitionType
- Inherits:
-
Object
- Object
- EBay::ListingDurationDefinitionType
- Defined in:
- lib/eBay.rb
Overview
urn:ebay:apis:eBLBaseComponentsListingDurationDefinitionType
duration - SOAP::SOAPToken
xmlattr_durationSetID - SOAP::SOAPInt
Constant Summary collapse
- AttrDurationSetID =
XSD::QName.new(nil, "durationSetID")
Instance Attribute Summary collapse
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#duration ⇒ Object
Returns the value of attribute duration.
Instance Method Summary collapse
- #__xmlattr ⇒ Object
-
#initialize(duration = []) ⇒ ListingDurationDefinitionType
constructor
A new instance of ListingDurationDefinitionType.
- #set_any(elements) ⇒ Object
- #xmlattr_durationSetID ⇒ Object
- #xmlattr_durationSetID=(value) ⇒ Object
Constructor Details
#initialize(duration = []) ⇒ ListingDurationDefinitionType
Returns a new instance of ListingDurationDefinitionType.
26108 26109 26110 26111 26112 |
# File 'lib/eBay.rb', line 26108 def initialize(duration = []) @duration = duration @__xmlele_any = nil @__xmlattr = {} end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
26090 26091 26092 |
# File 'lib/eBay.rb', line 26090 def __xmlele_any @__xmlele_any end |
#duration ⇒ Object
Returns the value of attribute duration.
26089 26090 26091 |
# File 'lib/eBay.rb', line 26089 def duration @duration end |
Instance Method Details
#__xmlattr ⇒ Object
26096 26097 26098 |
# File 'lib/eBay.rb', line 26096 def __xmlattr @__xmlattr ||= {} end |
#set_any(elements) ⇒ Object
26092 26093 26094 |
# File 'lib/eBay.rb', line 26092 def set_any(elements) @__xmlele_any = elements end |
#xmlattr_durationSetID ⇒ Object
26100 26101 26102 |
# File 'lib/eBay.rb', line 26100 def xmlattr_durationSetID __xmlattr[AttrDurationSetID] end |
#xmlattr_durationSetID=(value) ⇒ Object
26104 26105 26106 |
# File 'lib/eBay.rb', line 26104 def xmlattr_durationSetID=(value) __xmlattr[AttrDurationSetID] = value end |