Sha256: b167cebc7ed1f11ad0e9035df01f39e61329e82bdd3d4512323d914f8e862f30

Contents?: true

Size: 529 Bytes

Versions: 3

Compression:

Stored size: 529 Bytes

Contents

# frozen_string_literal: true

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

3 entries across 3 versions & 1 rubygems

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