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.



20341
20342
20343
20344
20345
20346
# File 'lib/eBay.rb', line 20341

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.



20335
20336
20337
# File 'lib/eBay.rb', line 20335

def __xmlele_any
  @__xmlele_any
end

#accentObject

Returns the value of attribute accent.



20334
20335
20336
# File 'lib/eBay.rb', line 20334

def accent
  @accent
end

#primaryObject

Returns the value of attribute primary.



20332
20333
20334
# File 'lib/eBay.rb', line 20332

def primary
  @primary
end

#secondaryObject

Returns the value of attribute secondary.



20333
20334
20335
# File 'lib/eBay.rb', line 20333

def secondary
  @secondary
end

Instance Method Details

#set_any(elements) ⇒ Object



20337
20338
20339
# File 'lib/eBay.rb', line 20337

def set_any(elements)
  @__xmlele_any = elements
end