Class: ProductFamilyType

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

Overview

urn:ebay:apis:eBLBaseComponentsProductFamilyType

parentProduct - ProductType
familyMembers - ProductType
xmlattr_hasMoreChildren - SOAP::SOAPBoolean

Constant Summary collapse

AttrHasMoreChildren =
XSD::QName.new(nil, "hasMoreChildren")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ProductFamilyType.



22412
22413
22414
22415
22416
22417
# File 'lib/eBay.rb', line 22412

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.



22394
22395
22396
# File 'lib/eBay.rb', line 22394

def __xmlele_any
  @__xmlele_any
end

#familyMembersObject

Returns the value of attribute familyMembers.



22393
22394
22395
# File 'lib/eBay.rb', line 22393

def familyMembers
  @familyMembers
end

#parentProductObject

Returns the value of attribute parentProduct.



22392
22393
22394
# File 'lib/eBay.rb', line 22392

def parentProduct
  @parentProduct
end

Instance Method Details

#__xmlattrObject



22400
22401
22402
# File 'lib/eBay.rb', line 22400

def __xmlattr
  @__xmlattr ||= {}
end

#set_any(elements) ⇒ Object



22396
22397
22398
# File 'lib/eBay.rb', line 22396

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_hasMoreChildrenObject



22404
22405
22406
# File 'lib/eBay.rb', line 22404

def xmlattr_hasMoreChildren
  __xmlattr[AttrHasMoreChildren]
end

#xmlattr_hasMoreChildren=(value) ⇒ Object



22408
22409
22410
# File 'lib/eBay.rb', line 22408

def xmlattr_hasMoreChildren=(value)
  __xmlattr[AttrHasMoreChildren] = value
end