Class: Fortnox::API::Mapper::InvoiceRow

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

Constant Summary collapse

KEY_MAP =
{
  housework: 'HouseWork',
  housework_hours_to_report: 'HouseWorkHoursToReport',
  housework_type: 'HouseWorkType',
  price_excluding_vat: 'PriceExcludingVAT',
  total_excluding_vat: 'TotalExcludingVAT',
  vat: 'VAT'
}.freeze
JSON_ENTITY_WRAPPER =
'InvoiceRow'
JSON_COLLECTION_WRAPPER =
'InvoiceRows'

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