Sha256: 3e9817b4e289c572e56e198cf1cbb793339b65ca558907b043eec793b880d49e
Contents?: true
Size: 698 Bytes
Versions: 8
Compression:
Stored size: 698 Bytes
Contents
# frozen_string_literal: true require 'fortnox/api/mappers/base' require 'fortnox/api/mappers/edi_information' require 'fortnox/api/mappers/email_information' require 'fortnox/api/mappers/order_row' module Fortnox module API module Mapper class Order < Fortnox::API::Mapper::Base KEY_MAP = { administration_fee_vat: 'AdministrationFeeVAT', freight_vat: 'FreightVAT', housework: 'HouseWork', total_vat: 'TotalVAT', vat_included: 'VATIncluded' }.freeze JSON_ENTITY_WRAPPER = 'Order' JSON_COLLECTION_WRAPPER = 'Orders' end Registry.register(Order.canonical_name_sym, Order) end end end
Version data entries
8 entries across 8 versions & 1 rubygems