Sha256: 8003958282364218b8bf3dfc4eec6d6ca72dbdb0d6c00b4b556392f0be199eb4

Contents?: true

Size: 981 Bytes

Versions: 7

Compression:

Stored size: 981 Bytes

Contents

module ONIX
  class SupplyDetail
    include ROXML

    xml_accessor :supplier_ean_location_number, :from => "SupplierEANLocationNumber"
    xml_accessor :supplier_san, :from => "SupplierSAN"
    xml_accessor :supplier_name, :from => "SupplierName"
    xml_accessor :telephone_number, :from => "TelephoneNumber"
    xml_accessor :fax_number, :from => "FaxNumber"
    xml_accessor :email_address, :from => "EmailAddress"
    xml_accessor :websites, [ONIX::Website], :from => "Website"
    xml_accessor :supplier_role, :twodigit, :from => "SupplierRole"
    xml_accessor :supply_to_country, :from => "SupplyToCountry"
    xml_accessor :supply_to_territory, :from => "SupplyToTerritory"
    xml_accessor :availability_status_code, :twodigit, :from => "AvailabilityStatusCode"
    xml_accessor :product_availability, :twodigit, :from => "ProductAvailability"
    xml_accessor :stock, [ONIX::Stock], :from => "Stock"
    xml_accessor :prices, [ONIX::Price], :from => "Price"

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
onix-0.4.0 lib/onix/supply_detail.rb
onix-0.4.2 lib/onix/supply_detail.rb
onix-0.4.3 lib/onix/supply_detail.rb
onix-0.4.4 lib/onix/supply_detail.rb
onix-0.4.5 lib/onix/supply_detail.rb
onix-0.4.7 lib/onix/supply_detail.rb
onix-0.4.6 lib/onix/supply_detail.rb