Sha256: 0db42c138cb385949c41f1955b8edea7d04aa392e52a07d26c42de7cb52badf6

Contents?: true

Size: 502 Bytes

Versions: 2

Compression:

Stored size: 502 Bytes

Contents

module MWS
  module Orders
    module Parser
      class InvoiceData < 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

2 entries across 2 versions & 1 rubygems

Version Path
mws-orders-0.0.2 lib/mws/orders/parsers/invoice_data.rb
mws-orders-0.0.1 lib/mws/orders/parsers/invoice_data.rb