Class: EBay::ListingDurationDefinitionType

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_anyObject (readonly)

Returns the value of attribute __xmlele_any.



26090
26091
26092
# File 'lib/eBay.rb', line 26090

def __xmlele_any
  @__xmlele_any
end

#durationObject

Returns the value of attribute duration.



26089
26090
26091
# File 'lib/eBay.rb', line 26089

def duration
  @duration
end

Instance Method Details

#__xmlattrObject



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_durationSetIDObject



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