Class: FeatureDefinitionsType

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

Overview

urn:ebay:apis:eBLBaseComponentsFeatureDefinitionsType

Constant Summary collapse

@@schema_type =
"FeatureDefinitionsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
["listingDurations", ["ListingDurationDefinitionsType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ListingDurations")]],
["shippingTermsRequired", ["ShippingTermRequiredDefinitionType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingTermsRequired")]],
["bestOfferEnabled", ["BestOfferEnabledDefinitionType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "BestOfferEnabled")]],
["homePageFeaturedEnabled", ["HomePageFeaturedEnabledDefinitionType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "HomePageFeaturedEnabled")]],
["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(listingDurations = nil, shippingTermsRequired = nil, bestOfferEnabled = nil, homePageFeaturedEnabled = nil) ⇒ FeatureDefinitionsType

Returns a new instance of FeatureDefinitionsType.



13741
13742
13743
13744
13745
13746
13747
# File 'lib/eBay.rb', line 13741

def initialize(listingDurations = nil, shippingTermsRequired = nil, bestOfferEnabled = nil, homePageFeaturedEnabled = nil)
  @listingDurations = listingDurations
  @shippingTermsRequired = shippingTermsRequired
  @bestOfferEnabled = bestOfferEnabled
  @homePageFeaturedEnabled = homePageFeaturedEnabled
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



13735
13736
13737
# File 'lib/eBay.rb', line 13735

def __xmlele_any
  @__xmlele_any
end

#bestOfferEnabledObject

Returns the value of attribute bestOfferEnabled.



13733
13734
13735
# File 'lib/eBay.rb', line 13733

def bestOfferEnabled
  @bestOfferEnabled
end

#homePageFeaturedEnabledObject

Returns the value of attribute homePageFeaturedEnabled.



13734
13735
13736
# File 'lib/eBay.rb', line 13734

def homePageFeaturedEnabled
  @homePageFeaturedEnabled
end

#listingDurationsObject

Returns the value of attribute listingDurations.



13731
13732
13733
# File 'lib/eBay.rb', line 13731

def listingDurations
  @listingDurations
end

#shippingTermsRequiredObject

Returns the value of attribute shippingTermsRequired.



13732
13733
13734
# File 'lib/eBay.rb', line 13732

def shippingTermsRequired
  @shippingTermsRequired
end

Instance Method Details

#set_any(elements) ⇒ Object



13737
13738
13739
# File 'lib/eBay.rb', line 13737

def set_any(elements)
  @__xmlele_any = elements
end