require "json"
|
|
require "./invoice_line"
|
|
require "./address"
|
|
|
|
class Invoice
|
|
JSON.mapping(
|
|
items: Array(InvoiceLine),
|
|
invoicing_address: Address,
|
|
delivery_address: Address
|
|
)
|
|
end
|