Sha256: a7357559a38a004fe0b5461435f142d719a29df3c5ec3ab50b6b1ec9a2c4d8bd

Contents?: true

Size: 479 Bytes

Versions: 4

Compression:

Stored size: 479 Bytes

Contents

# coding: utf-8

module ONIX
  class DiscountCoded
    include ROXML
    extend ONIX::ListWriter
    include ONIX::Inflector
    
    xml_name "DiscountCoded"
    
    xml_reader :discount_code_type, :from => "DiscountCodeType", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit
    xml_accessor :discount_code_type_name, :from => "DiscountCodeTypeName"
    xml_accessor :discount_code, :from => "DiscountCode"
    list_writer :discount_code_type, :list => 100
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
milkfarm-onix-0.8.13 lib/onix/discount_coded.rb
milkfarm-onix-0.8.12 lib/onix/discount_coded.rb
milkfarm-onix-0.8.11 lib/onix/discount_coded.rb
milkfarm-onix-0.8.10 lib/onix/discount_coded.rb