Sha256: d6adc819fa4f24cc5f55fe4b54f1a497d861c4ad629b8b3fd733bf5d97136147

Contents?: true

Size: 498 Bytes

Versions: 1

Compression:

Stored size: 498 Bytes

Contents

require 'mws/orders/entity'

module MWS
  module Orders
    class InvoiceData < Entity
      attribute(:invoice_requirement) do
        text_at_xpath('InvoiceRequirement')
      end

      attribute(:buyer_selected_invoice_category) do
        text_at_xpath('BuyerSelectedInvoiceCategory')
      end

      attribute(:invoice_title) do
        text_at_xpath('InvoiceTitle')
      end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mws-orders-0.2.2 lib/mws/orders/invoice_data.rb