Class: Fortnox::API::Mapper::Customer

Inherits:
Base
  • Object
show all
Defined in:
lib/fortnox/api/mappers/customer.rb

Constant Summary collapse

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'

Method Summary

Methods inherited from Base

#diff

Methods included from CanonicalNameSym

#canonical_name_sym

Methods included from ToJSON

#entity_to_hash, included, #wrap_entity_json_hash

Methods included from FromJSON

#wrapped_json_collection_to_entities_hash, #wrapped_json_hash_to_entity_hash