Sha256: 1ebd158b3d91d36a734e26c270cad586ca7bbbf4526d057e2b95f1e872b8f630
Contents?: true
Size: 693 Bytes
Versions: 4
Compression:
Stored size: 693 Bytes
Contents
# frozen_string_literal: true require_relative 'base' module Fortnox module API module Mapper class InvoiceRow < Fortnox::API::Mapper::Base KEY_MAP = { housework: 'HouseWork', housework_hours_to_report: 'HouseWorkHoursToReport', housework_type: 'HouseWorkType', price_excluding_vat: 'PriceExcludingVAT', total_excluding_vat: 'TotalExcludingVAT', vat: 'VAT' }.freeze JSON_ENTITY_WRAPPER = 'InvoiceRow' JSON_COLLECTION_WRAPPER = 'InvoiceRows' end Registry.register(InvoiceRow.canonical_name_sym, InvoiceRow) Registry.register(:invoicerows, InvoiceRow) end end end
Version data entries
4 entries across 4 versions & 1 rubygems