Sha256: 6a7baceb1d756d1b282373e75819c80836279d1bc831b1b2586df1c5e2981e98
Contents?: true
Size: 813 Bytes
Versions: 12
Compression:
Stored size: 813 Bytes
Contents
# frozen_string_literal: true module CXML class InvoiceDetailOrderSummary < DocumentNode accessible_attributes %i[ invoice_line_number inspection_date ] accessible_nodes %i[ subtotal_amount period tax invoice_detail_line_special_handling invoice_detail_line_shipping gross_amount ] def initialize_invoice_detail_order_summary(value) value = [value] unless value.is_a?(Array) @invoice_detail_order_summaries = value.map do |item| InvoiceDetailOrderSummary.new(item) end end def initialize_invoice_detail_order_summaries(value) value = [value] unless value.is_a?(Array) @invoice_detail_order_summaries = value.map do |item| InvoiceDetailOrderSummary.new(item) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems