Class: ProductFamilyType

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

Overview

urn:ebay:apis:eBLBaseComponentsProductFamilyType

Constant Summary collapse

@@schema_type =
"ProductFamilyType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_attribute =
{
  XSD::QName.new(nil, "hasMoreChildren") => "SOAP::SOAPBoolean"
}
@@schema_element =
[
  ["parentProduct", ["ProductType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ParentProduct")]],
  ["familyMembers", ["ProductType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "FamilyMembers")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parentProduct = nil, familyMembers = []) ⇒ ProductFamilyType

Returns a new instance of ProductFamilyType.



18510
18511
18512
18513
18514
18515
# File 'lib/eBay.rb', line 18510

def initialize(parentProduct = nil, familyMembers = [])
  @parentProduct = parentProduct
  @familyMembers = familyMembers
  @__xmlele_any = nil
  @__xmlattr = {}
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



18496
18497
18498
# File 'lib/eBay.rb', line 18496

def __xmlele_any
  @__xmlele_any
end

#familyMembersObject

Returns the value of attribute familyMembers.



18495
18496
18497
# File 'lib/eBay.rb', line 18495

def familyMembers
  @familyMembers
end

#parentProductObject

Returns the value of attribute parentProduct.



18494
18495
18496
# File 'lib/eBay.rb', line 18494

def parentProduct
  @parentProduct
end

Instance Method Details

#set_any(elements) ⇒ Object



18498
18499
18500
# File 'lib/eBay.rb', line 18498

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_hasMoreChildrenObject



18502
18503
18504
# File 'lib/eBay.rb', line 18502

def xmlattr_hasMoreChildren
  (@__xmlattr ||= {})[XSD::QName.new(nil, "hasMoreChildren")]
end

#xmlattr_hasMoreChildren=(value) ⇒ Object



18506
18507
18508
# File 'lib/eBay.rb', line 18506

def xmlattr_hasMoreChildren=(value)
  (@__xmlattr ||= {})[XSD::QName.new(nil, "hasMoreChildren")] = value
end