Class: ProductFamilyType
- Inherits:
-
Object
- Object
- ProductFamilyType
- 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
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#familyMembers ⇒ Object
Returns the value of attribute familyMembers.
-
#parentProduct ⇒ Object
Returns the value of attribute parentProduct.
Instance Method Summary collapse
-
#initialize(parentProduct = nil, familyMembers = []) ⇒ ProductFamilyType
constructor
A new instance of ProductFamilyType.
- #set_any(elements) ⇒ Object
- #xmlattr_hasMoreChildren ⇒ Object
- #xmlattr_hasMoreChildren=(value) ⇒ Object
Constructor Details
#initialize(parentProduct = nil, familyMembers = []) ⇒ ProductFamilyType
Returns a new instance of ProductFamilyType.
20974 20975 20976 20977 20978 20979 |
# File 'lib/eBay.rb', line 20974 def initialize(parentProduct = nil, familyMembers = []) @parentProduct = parentProduct @familyMembers = familyMembers @__xmlele_any = nil @__xmlattr = {} end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
20960 20961 20962 |
# File 'lib/eBay.rb', line 20960 def __xmlele_any @__xmlele_any end |
#familyMembers ⇒ Object
Returns the value of attribute familyMembers.
20959 20960 20961 |
# File 'lib/eBay.rb', line 20959 def familyMembers @familyMembers end |
#parentProduct ⇒ Object
Returns the value of attribute parentProduct.
20958 20959 20960 |
# File 'lib/eBay.rb', line 20958 def parentProduct @parentProduct end |
Instance Method Details
#set_any(elements) ⇒ Object
20962 20963 20964 |
# File 'lib/eBay.rb', line 20962 def set_any(elements) @__xmlele_any = elements end |
#xmlattr_hasMoreChildren ⇒ Object
20966 20967 20968 |
# File 'lib/eBay.rb', line 20966 def xmlattr_hasMoreChildren (@__xmlattr ||= {})[XSD::QName.new(nil, "hasMoreChildren")] end |
#xmlattr_hasMoreChildren=(value) ⇒ Object
20970 20971 20972 |
# File 'lib/eBay.rb', line 20970 def xmlattr_hasMoreChildren=(value) (@__xmlattr ||= {})[XSD::QName.new(nil, "hasMoreChildren")] = value end |