Class: Fortnox::JSONFieldsMapper

Inherits:
Object
  • Object
show all
Defined in:
lib/fortnox/json_fields_mapper.rb

Class Method Summary collapse

Class Method Details

.mappingObject



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/fortnox/json_fields_mapper.rb', line 3

def self.mapping
  {
    bg:                       "BG",
    pg:                       "PG",
    bic:                      "BIC",
    ean:                      "EAN",
    ocr:                      "OCR",
    sru:                      "SRU",
    vat:                      "VAT",
    www:                      "WWW",
    iban:                     "IBAN",
    vat_code:                 "VATCode",
    vat_type:                 "VATType",
    total_vat:                "TotalVAT",
    vat_number:               "VATNumber",
    eu_account:               "EUAccount",
    freight_vat:              "FreightVAT",
    invoice_ocr:              "InvoiceOCR",
    vat_included:             "VATIncluded",
    euvat_account:            "EUVATAccount",
    url_connection:           "URLConnection",
    email_order_cc:           "EmailOrderCC",
    email_offer_cc:           "EmailOfferCC",
    email_order_bcc:          "EmailOrderBCC",
    email_offer_bcc:          "EmailOfferBCC",
    email_invoice_cc:         "EmailInvoiceCC",
    email_invoice_bcc:        "EmailInvoiceBCC",
    administration_fee_vat:   "AdministrationFeeVAT",
    show_price_vat_included:  "ShowPriceVATIncluded",
    external_url_connection:  "ExternalURLConnection"
  }
end