Class: Fortnox::API::Mapper::Invoice

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

Constant Summary collapse

KEY_MAP =
{
  administration_fee_vat: 'AdministrationFeeVAT',
  edi_information: 'EDIInformation',
  eu_quarterly_report: 'EUQuarterlyReport',
  freight_vat: 'FreightVAT',
  housework: 'HouseWork',
  ocr: 'OCR',
  total_vat: 'TotalVAT',
  vat_included: 'VATIncluded'
}.freeze
JSON_ENTITY_WRAPPER =
'Invoice'
JSON_COLLECTION_WRAPPER =
'Invoices'

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