Sha256: 36eaa023eed113dfde453b498248a8a40211f13204a4e356732316d9455fc622

Contents?: true

Size: 555 Bytes

Versions: 6

Compression:

Stored size: 555 Bytes

Contents

require 'peddler/parsers/model'

module MWS
  module Orders
    module Parser
      class InvoiceData < ::Peddler::Parsers::Model
        value :invoice_requirement do
          text_at_xpath('InvoiceRequirement')
        end

        value :buyer_selected_invoice_category do
          text_at_xpath('BuyerSelectedInvoiceCategory')
        end

        value :invoice_title do
          text_at_xpath('InvoiceTitle')
        end

        value :invoice_information do
          text_at_xpath('InvoiceInformation')
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
peddler-0.6.5 lib/mws/orders/parsers/invoice_data.rb
peddler-0.6.4 lib/mws/orders/parsers/invoice_data.rb
peddler-0.6.3 lib/mws/orders/parsers/invoice_data.rb
peddler-0.6.2 lib/mws/orders/parsers/invoice_data.rb
peddler-0.6.1 lib/mws/orders/parsers/invoice_data.rb
peddler-0.6.0 lib/mws/orders/parsers/invoice_data.rb