Class: ONIX::SalesRights

Inherits:
SubsetDSL show all
Defined in:
lib/onix/sales_rights.rb

Instance Attribute Summary

Attributes included from Attributes

#attributes

Low level collapse

Shortcuts collapse

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

#product_identifiersArray<ProductIdentifier>

Returns:



8
# File 'lib/onix/sales_rights.rb', line 8

elements "ProductIdentifier", :subset, :cardinality => 0..n

#publisher_nameString

Returns:

  • (String)


9
# File 'lib/onix/sales_rights.rb', line 9

element "PublisherName", :text, :cardinality => 0..1

#sales_restrictionsArray<SalesRestriction>

Returns:



7
# File 'lib/onix/sales_rights.rb', line 7

elements "SalesRestriction", :subset, :cardinality => 0..n

#sales_rights_typeSalesRightsType

Returns:



5
# File 'lib/onix/sales_rights.rb', line 5

element "SalesRightsType", :subset, :shortcut => :type, :cardinality => 1

#territoryTerritory

Returns:



6
# File 'lib/onix/sales_rights.rb', line 6

element "Territory", :subset, :cardinality => 1

#typeSalesRightsType

shortcut for #sales_rights_type

Returns:



5
# File 'lib/onix/sales_rights.rb', line 5

element "SalesRightsType", :subset, :shortcut => :type, :cardinality => 1