Class: Fortnox::API::Mapper::EDIInformation

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

Constant Summary collapse

KEY_MAP =
{
  edi_global_location_number: 'EDIGlobalLocationNumber',
  edi_global_location_number_delivery: 'EDIGlobalLocationNumberDelivery',
  edi_invoice_extra1: 'EDIInvoiceExtra1',
  edi_invoice_extra2: 'EDIInvoiceExtra2',
  edi_our_electronic_reference: 'EDIOurElectronicReference',
  edi_your_electronic_reference: 'EDIYourElectronicReference'
}.freeze
JSON_ENTITY_WRAPPER =
JSON_COLLECTION_WRAPPER = 'EDIInformation'

Constants inherited from Base

Base::Hash

Method Summary

Methods inherited from Base

canonical_name_sym, #diff

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