Class: StoreColorType

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

Overview

urn:ebay:apis:eBLBaseComponentsStoreColorType

Constant Summary collapse

@@schema_type =
"StoreColorType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
["primary", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Primary")]],
["secondary", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Secondary")]],
["accent", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Accent")]],
["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(primary = nil, secondary = nil, accent = nil) ⇒ StoreColorType

Returns a new instance of StoreColorType.



17928
17929
17930
17931
17932
17933
# File 'lib/eBay.rb', line 17928

def initialize(primary = nil, secondary = nil, accent = nil)
  @primary = primary
  @secondary = secondary
  @accent = accent
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



17922
17923
17924
# File 'lib/eBay.rb', line 17922

def __xmlele_any
  @__xmlele_any
end

#accentObject

Returns the value of attribute accent.



17921
17922
17923
# File 'lib/eBay.rb', line 17921

def accent
  @accent
end

#primaryObject

Returns the value of attribute primary.



17919
17920
17921
# File 'lib/eBay.rb', line 17919

def primary
  @primary
end

#secondaryObject

Returns the value of attribute secondary.



17920
17921
17922
# File 'lib/eBay.rb', line 17920

def secondary
  @secondary
end

Instance Method Details

#set_any(elements) ⇒ Object



17924
17925
17926
# File 'lib/eBay.rb', line 17924

def set_any(elements)
  @__xmlele_any = elements
end