Class: SiteDefaultsType

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

Overview

urn:ebay:apis:eBLBaseComponentsSiteDefaultsType

Constant Summary collapse

@@schema_type =
"SiteDefaultsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
["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")]],
["homePageFeaturedEnabled", ["SOAP::SOAPBoolean", 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(listingDuration = [], shippingTermsRequired = nil, bestOfferEnabled = nil, homePageFeaturedEnabled = nil) ⇒ SiteDefaultsType

Returns a new instance of SiteDefaultsType.



17743
17744
17745
17746
17747
17748
17749
# File 'lib/eBay.rb', line 17743

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



17737
17738
17739
# File 'lib/eBay.rb', line 17737

def __xmlele_any
  @__xmlele_any
end

#bestOfferEnabledObject

Returns the value of attribute bestOfferEnabled.



17735
17736
17737
# File 'lib/eBay.rb', line 17735

def bestOfferEnabled
  @bestOfferEnabled
end

#homePageFeaturedEnabledObject

Returns the value of attribute homePageFeaturedEnabled.



17736
17737
17738
# File 'lib/eBay.rb', line 17736

def homePageFeaturedEnabled
  @homePageFeaturedEnabled
end

#listingDurationObject

Returns the value of attribute listingDuration.



17733
17734
17735
# File 'lib/eBay.rb', line 17733

def listingDuration
  @listingDuration
end

#shippingTermsRequiredObject

Returns the value of attribute shippingTermsRequired.



17734
17735
17736
# File 'lib/eBay.rb', line 17734

def shippingTermsRequired
  @shippingTermsRequired
end

Instance Method Details

#set_any(elements) ⇒ Object



17739
17740
17741
# File 'lib/eBay.rb', line 17739

def set_any(elements)
  @__xmlele_any = elements
end