Class: ListingDurationDefinitionType
- Inherits:
-
Object
- Object
- ListingDurationDefinitionType
- Defined in:
- lib/eBay.rb
Overview
urn:ebay:apis:eBLBaseComponentsListingDurationDefinitionType
Constant Summary collapse
- @@schema_type =
"ListingDurationDefinitionType"
- @@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
- @@schema_attribute =
{ XSD::QName.new(nil, "durationSetID") => "SOAP::SOAPInt" }
- @@schema_element =
[ ["duration", ["Token[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Duration")]], ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]] ]
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
-
#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.
18878 18879 18880 18881 18882 |
# File 'lib/eBay.rb', line 18878 def initialize(duration = []) @duration = duration @__xmlele_any = nil @__xmlattr = {} end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
18864 18865 18866 |
# File 'lib/eBay.rb', line 18864 def __xmlele_any @__xmlele_any end |
#duration ⇒ Object
Returns the value of attribute duration.
18863 18864 18865 |
# File 'lib/eBay.rb', line 18863 def duration @duration end |
Instance Method Details
#set_any(elements) ⇒ Object
18866 18867 18868 |
# File 'lib/eBay.rb', line 18866 def set_any(elements) @__xmlele_any = elements end |
#xmlattr_durationSetID ⇒ Object
18870 18871 18872 |
# File 'lib/eBay.rb', line 18870 def xmlattr_durationSetID (@__xmlattr ||= {})[XSD::QName.new(nil, "durationSetID")] end |
#xmlattr_durationSetID=(value) ⇒ Object
18874 18875 18876 |
# File 'lib/eBay.rb', line 18874 def xmlattr_durationSetID=(value) (@__xmlattr ||= {})[XSD::QName.new(nil, "durationSetID")] = value end |