Sha256: ecf6f2c9c82a4539dd83ab03c655461c8309ce531e35550a86a5a98018e56c5e

Contents?: true

Size: 335 Bytes

Versions: 6

Compression:

Stored size: 335 Bytes

Contents

require 'peddler/parsers/model'

module MWS
  module Orders
    module Parsers
      class PaymentExecutionDetailItem < ::Peddler::Parsers::Model
        value :payment do
          money_at_xpath('Payment')
        end

        value :payment_method do
          text_at_xpath('PaymentMethod')
        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/payment_execution_detail_item.rb
peddler-0.6.4 lib/mws/orders/parsers/payment_execution_detail_item.rb
peddler-0.6.3 lib/mws/orders/parsers/payment_execution_detail_item.rb
peddler-0.6.2 lib/mws/orders/parsers/payment_execution_detail_item.rb
peddler-0.6.1 lib/mws/orders/parsers/payment_execution_detail_item.rb
peddler-0.6.0 lib/mws/orders/parsers/payment_execution_detail_item.rb