Sha256: 5f49f951e42d929ead05ee1389272aacdb2caf0f44e1602ed5fed441459ee0f3

Contents?: true

Size: 716 Bytes

Versions: 10

Compression:

Stored size: 716 Bytes

Contents

# coding: utf-8

module ONIX
  class MarketRepresentation
    include ROXML
    include ONIX::Common

    xml_name "MarketRepresentation"

    xml_accessor :agent_name, :from => "AgentName"
    xml_accessor :agent_role, :from => "AgentRole", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit
    xml_accessor :market_country, :from => "MarketCountry"
    xml_accessor :market_territory, :from => "MarketTerritory"
    xml_accessor :market_country_excluded, :from => "MarketCountryExcluded"
    xml_accessor :market_restriction_detail, :from => "MarketRestrictionDetail"
    xml_accessor :market_publishing_status, :from => "MarketPublishingStatus", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
milkfarm-onix-0.7.7 lib/onix/market_representation.rb
onix-0.7.8 lib/onix/market_representation.rb
onix-0.7.7 lib/onix/market_representation.rb
onix-0.7.6 lib/onix/market_representation.rb
onix-0.7.5 lib/onix/market_representation.rb
onix-0.7.4 lib/onix/market_representation.rb
onix-0.7.2 lib/onix/market_representation.rb
onix-0.7.3 lib/onix/market_representation.rb
onix-0.7.0 lib/onix/market_representation.rb
onix-0.7.1 lib/onix/market_representation.rb