Class: EBay::ProductFamilyType

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

Overview

urn:ebay:apis:eBLBaseComponentsProductFamilyType

parentProduct - EBay::ProductType
familyMembers - EBay::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.



29230
29231
29232
29233
29234
29235
# File 'lib/eBay.rb', line 29230

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.



29212
29213
29214
# File 'lib/eBay.rb', line 29212

def __xmlele_any
  @__xmlele_any
end

#familyMembersObject

Returns the value of attribute familyMembers.



29211
29212
29213
# File 'lib/eBay.rb', line 29211

def familyMembers
  @familyMembers
end

#parentProductObject

Returns the value of attribute parentProduct.



29210
29211
29212
# File 'lib/eBay.rb', line 29210

def parentProduct
  @parentProduct
end

Instance Method Details

#__xmlattrObject



29218
29219
29220
# File 'lib/eBay.rb', line 29218

def __xmlattr
  @__xmlattr ||= {}
end

#set_any(elements) ⇒ Object



29214
29215
29216
# File 'lib/eBay.rb', line 29214

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_hasMoreChildrenObject



29222
29223
29224
# File 'lib/eBay.rb', line 29222

def xmlattr_hasMoreChildren
  __xmlattr[AttrHasMoreChildren]
end

#xmlattr_hasMoreChildren=(value) ⇒ Object



29226
29227
29228
# File 'lib/eBay.rb', line 29226

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