Class: CategoryFeatureType

Inherits:
Object
  • Object
show all
Defined in:
lib/eBay.rb

Overview

urn:ebay:apis:eBLBaseComponentsCategoryFeatureType

Constant Summary collapse

@@schema_type =
"CategoryFeatureType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
["categoryID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CategoryID")]],
["listingDuration", ["ListingDurationReferenceType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ListingDuration")]],
["shippingTermsRequired", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingTermsRequired")]],
["bestOfferEnabled", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "BestOfferEnabled")]],
["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(categoryID = nil, listingDuration = [], shippingTermsRequired = nil, bestOfferEnabled = nil) ⇒ CategoryFeatureType

Returns a new instance of CategoryFeatureType.



12734
12735
12736
12737
12738
12739
12740
# File 'lib/eBay.rb', line 12734

def initialize(categoryID = nil, listingDuration = [], shippingTermsRequired = nil, bestOfferEnabled = nil)
  @categoryID = categoryID
  @listingDuration = listingDuration
  @shippingTermsRequired = shippingTermsRequired
  @bestOfferEnabled = bestOfferEnabled
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



12728
12729
12730
# File 'lib/eBay.rb', line 12728

def __xmlele_any
  @__xmlele_any
end

#bestOfferEnabledObject

Returns the value of attribute bestOfferEnabled.



12727
12728
12729
# File 'lib/eBay.rb', line 12727

def bestOfferEnabled
  @bestOfferEnabled
end

#categoryIDObject

Returns the value of attribute categoryID.



12724
12725
12726
# File 'lib/eBay.rb', line 12724

def categoryID
  @categoryID
end

#listingDurationObject

Returns the value of attribute listingDuration.



12725
12726
12727
# File 'lib/eBay.rb', line 12725

def listingDuration
  @listingDuration
end

#shippingTermsRequiredObject

Returns the value of attribute shippingTermsRequired.



12726
12727
12728
# File 'lib/eBay.rb', line 12726

def shippingTermsRequired
  @shippingTermsRequired
end

Instance Method Details

#set_any(elements) ⇒ Object



12730
12731
12732
# File 'lib/eBay.rb', line 12730

def set_any(elements)
  @__xmlele_any = elements
end