Class: ONIX::ONIX21::RelatedProduct
- Defined in:
- lib/onix/onix21.rb
Instance Attribute Summary
Attributes included from Attributes
Shortcuts collapse
-
#code ⇒ String
shortcut for #relation_code.
-
#identifiers ⇒ Array<ProductIdentifier>
shortcut for #product_identifiers.
Low level collapse
Instance Method Summary collapse
Methods included from IdentifiersMethods::ProprietaryId
Methods included from IdentifiersMethods::Ean
Methods inherited from SubsetDSL
#get_class, ref_to_short, short_to_ref
Methods inherited from SubsetDSL
element, elements, #get_class, get_class, inherited, #initialize, n, #parse, ref_to_short, register_elements, register_scopes, #register_subset_array, registered_elements, #registered_elements, registered_scopes, scope, short_to_ref
Methods inherited from Subset
parse, #parse, #tag_match, #unsupported
Methods included from Attributes
attribute_class, #parse_attributes, #serialized_attributes
Constructor Details
This class inherits a constructor from ONIX::SubsetDSL
Instance Method Details
#code ⇒ String
shortcut for #relation_code
240 |
# File 'lib/onix/onix21.rb', line 240 element "RelationCode", :text, :shortcut => :code |
#identifiers ⇒ Array<ProductIdentifier>
shortcut for #product_identifiers
241 |
# File 'lib/onix/onix21.rb', line 241 elements "ProductIdentifier", :subset, :shortcut => :identifiers |
#product=(v) ⇒ Object
243 244 |
# File 'lib/onix/onix21.rb', line 243 def product= v end |
#product_identifiers ⇒ Array<ProductIdentifier>
241 |
# File 'lib/onix/onix21.rb', line 241 elements "ProductIdentifier", :subset, :shortcut => :identifiers |
#relation_code ⇒ String
240 |
# File 'lib/onix/onix21.rb', line 240 element "RelationCode", :text, :shortcut => :code |