Sha256: 031d329a2eb707660899449f031392dcab859e77e06970e53a643cd70a407c50

Contents?: true

Size: 310 Bytes

Versions: 3

Compression:

Stored size: 310 Bytes

Contents

# frozen_string_literal: true

require 'mws/orders/entity'

module MWS
  module Orders
    class PaymentExecutionDetailItem < Entity
      attribute(:payment) do
        money_at_xpath('Payment')
      end

      attribute(:payment_method) do
        text_at_xpath('PaymentMethod')
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mws-orders-0.4.0 lib/mws/orders/payment_execution_detail_item.rb
mws-orders-0.3.1 lib/mws/orders/payment_execution_detail_item.rb
mws-orders-0.3.0 lib/mws/orders/payment_execution_detail_item.rb