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.
16183 16184 16185 16186 16187 16188 |
# File 'lib/eBay.rb', line 16183 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.
16169 16170 16171 |
# File 'lib/eBay.rb', line 16169 def __xmlele_any @__xmlele_any end |
#familyMembers ⇒ Object
Returns the value of attribute familyMembers.
16168 16169 16170 |
# File 'lib/eBay.rb', line 16168 def familyMembers @familyMembers end |
#parentProduct ⇒ Object
Returns the value of attribute parentProduct.
16167 16168 16169 |
# File 'lib/eBay.rb', line 16167 def parentProduct @parentProduct end |
Instance Method Details
#set_any(elements) ⇒ Object
16171 16172 16173 |
# File 'lib/eBay.rb', line 16171 def set_any(elements) @__xmlele_any = elements end |
#xmlattr_hasMoreChildren ⇒ Object
16175 16176 16177 |
# File 'lib/eBay.rb', line 16175 def xmlattr_hasMoreChildren (@__xmlattr ||= {})[XSD::QName.new(nil, "hasMoreChildren")] end |
#xmlattr_hasMoreChildren=(value) ⇒ Object
16179 16180 16181 |
# File 'lib/eBay.rb', line 16179 def xmlattr_hasMoreChildren=(value) (@__xmlattr ||= {})[XSD::QName.new(nil, "hasMoreChildren")] = value end |