Sha256: 8eab1fb73d4cbd3bf643274f93a12090d5f7ac754c5a25759c3f27d2b7761ca3
Contents?: true
Size: 769 Bytes
Versions: 8
Compression:
Stored size: 769 Bytes
Contents
# frozen_string_literal: true require 'fortnox/api/mappers/base' module Fortnox module API module Mapper class Customer < Fortnox::API::Mapper::Base KEY_MAP = { vat_type: 'VATType', vat_number: 'VATNumber', email_invoice_bcc: 'EmailInvoiceBCC', email_invoice_cc: 'EmailInvoiceCC', email_offer_bcc: 'EmailOfferBCC', email_offer_cc: 'EmailOfferCC', email_order_bcc: 'EmailOrderBCC', email_order_cc: 'EmailOrderCC', show_price_vat_included: 'ShowPriceVATIncluded' }.freeze JSON_ENTITY_WRAPPER = 'Customer' JSON_COLLECTION_WRAPPER = 'Customers' end Registry.register(Customer.canonical_name_sym, Customer) end end end
Version data entries
8 entries across 8 versions & 1 rubygems