Sha256: 1e2747e1454983cb64c397abf9a18675506499c467195a1655824549d1cd833f

Contents?: true

Size: 498 Bytes

Versions: 4

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

4 entries across 4 versions & 1 rubygems

Version Path
mws-orders-0.2.1 lib/mws/orders/invoice_data.rb
mws-orders-0.2.0 lib/mws/orders/invoice_data.rb
mws-orders-0.1.1 lib/mws/orders/invoice_data.rb
mws-orders-0.1.0 lib/mws/orders/invoice_data.rb