Class: Fortnox::API::Mapper::Order

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

Constant Summary collapse

KEY_MAP =
{
  administration_fee_vat: 'AdministrationFeeVAT',
  freight_vat: 'FreightVAT',
  total_vat: 'TotalVAT',
  vat_included: 'VATIncluded'
}.freeze
JSON_ENTITY_WRAPPER =
'Order'.freeze
JSON_COLLECTION_WRAPPER =
'Orders'.freeze

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