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',
  housework: 'HouseWork',
  total_vat: 'TotalVAT',
  vat_included: 'VATIncluded'
}.freeze
JSON_ENTITY_WRAPPER =
'Order'
JSON_COLLECTION_WRAPPER =
'Orders'

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