Download the PHP package quesoft/ntak-php without Composer

On this page you can find all versions of the php package quesoft/ntak-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ntak-php

NTAK RMS PHP API / SDK (FOR PHP 7.1)

This is a fork from https://github.com/Natsu007/ntak-php repostitory. We want to extend it some other functions. I hope it helps others. Readme.md is maintained. I left the other parts in their original form. We will merge the new developments of original repo.

Orginal repo https://github.com/kiralyta/ntak-php, thanks for sharing the solution


This helps you make NTAK RMS requests like a boss.

Table of Contents:

Installation

Usage

Instances

Create an API Client Instance

Your file is basically a concatenated file of your and files.

It is recommended to have a singleton instance during one request cycle. This means, you can create multiple requests with a single instance.

You can get the last request, response and respone time (in milliseconds) from the client.

Create an Order Item Instance

  • NTAKCategory
  • NTAKSubcategory
  • NTAKVat
  • NTAKAmount

Create a Payment Instance

  • NTAKPaymentType

Create an Order Instance

When you are updating / destroying an order, you need to provide (generate) a new orderId with each requests.

In these cases, the ntakOrderId is always the last provided orderId.

  • NTAKOrderType
  • NTAKOrderItem
  • NTAKPayment

Messages (Requests)

Store, Update, Destroy Order (Rendelésösszesítő)

Returns the NTAK process ID string.

  • NTAKOrder

Resend Message (Újraküldés - Rendelésösszesítők/Napzárás)

Resend previously sent message. Requires decoded array contents from previously sent request's lastRequest message. Useful when you need to resend order or close by verify request. IMPORTANT to set message object when parameter to exactly the same timestamp of previous message!

Returns the NTAK process ID string.

Close Day (Napzárás)

Returns the NTAK process ID string.

  • NTAKDayType

Verify (Ellenőrzés)

Returns an instance

If you encounter an unsuccessful message, you should further examine NTAKVerifyStatus. It's recommended to wait at least 60 seconds before the first verification attempt of a processs ID.

Enums

Namespace of the enums:

You can use the static method on any of the enums, in order to get the available values.

NTAKAmount

name value string
DARAB darab
LITER liter
KILOGRAMM kilogramm
EGYSEG egyseg

NTAKCategory

name value string
ETEL Étel
ALKMENTESITAL_HELYBEN Helyben készített alkoholmentes ital
ALKMENTESITAL_NEM_HELYBEN Nem helyben készített alkoholmentes ital
ALKOHOLOSITAL Alkoholos Ital
EGYEB Egyéb

NTAKSubcategory

name value string
REGGELI reggeli
SZENDVICS szendvics
ELOETEL előétel
LEVES leves
FOETEL főétel
KORET köret
SAVANYUSAG_SALATA savanyúság/saláta
KOSTOLO kóstolóétel, kóstolófalat
PEKSUTEMENY péksütemény, pékáru
DESSZERT desszert
SNACK snack
FOETEL_KORETTEL főétel körettel
ETELCSOMAG ételcsomag
EGYEB egyéb
VIZ víz
LIMONADE_SZORP_FACSART limonádé / szörp / frissen facsart ital
ALKOHOLMENTES_KOKTEL alkoholmentes koktél, alkoholmentes kevert ital
TEA_FORROCSOKOLADE tea, forrócsoki és egyéb tejalapú italok
ITALCSOMAG italcsomag
KAVE kávé
ROSTOS_UDITO rostos üdítő
SZENSAVAS_UDITO szénsavas üdítő
SZENSAVMENTES_UDITO szénsavmentes üdítő
KOKTEL koktél, kevert ital
LIKOR likőr
PARLAT párlat
SOR sör
BOR bor
PEZSGO pezsgő
SZERVIZDIJ szervizdíj
BORRAVALO borravaló
KISZALLITASI_DIJ kiszállítási díj
NEM_VENDEGLATAS nem vendéglátás
KORNYEZETBARAT_CSOMAGOLAS környezetbarát csomagolás
MUANYAG_CSOMAGOLAS műanyag csomagolás
KEDVEZMENY kedvezmény

NTAKDayType

name value string
ADOTT_NAPON_ZARVA Adott napon zárva
FORGALOM_NELKULI_NAP Forgalom nélküli nap
NORMAL_NAP Normál nap

NTAKOrderType

name value string
NORMAL Normál
SZTORNO Storno
HELYESBITO Helyesbítő

NTAKPaymentType

name value string
KESZPENZHUF Készpénz huf
KESZPENZEUR Készpénz eur
SZEPKARTYA Szépkártya
BANKKARTYA Bankkártya
ATUTALAS Átutalás
EGYEB Egyéb
VOUCHER Voucher
SZOBAHITEL Szobahitel
KEREKITES Kerekítés

NTAKVat

name value string
A_5 5%
B_18 18%
C_27 27%
D_AJT Ajt
E_0 0%

NTAKVerifyStatus

name value string
BEFOGADVA BEFOGADVA
TELJESEN_HIBAS TELJESEN_HIBAS
RESZBEN_SIKERES RESZBEN_SIKERES
TELJESEN_SIKERES TELJESEN_SIKERES
UJRA_KULDENDO UJRA_KULDENDO

NTAKAggregateCause

name value string
UZEMSZUNET_ARAMSZOLGALTATAS_TERVEZETT_KIMARADASA_MIATT UZEMSZUNET_ARAMSZOLGALTATAS_TERVEZETT_KIMARADASA_MIATT
UZEMSZUNET_INTERNETSZOLGALTATAS_TERVEZETT_KIMARADASA_MIATT UZEMSZUNET_INTERNETSZOLGALTATAS_TERVEZETT_KIMARADASA_MIATT
UZEMZAVAR_ARAMSZOLGALTATAS_ATMENETI_KIMARADASA_MIATT UZEMZAVAR_ARAMSZOLGALTATAS_ATMENETI_KIMARADASA_MIATT
UZEMZAVAR_INTERNETSZOLGALTATAS_ATMENETI_KIMARADASA_MIATT UZEMZAVAR_INTERNETSZOLGALTATAS_ATMENETI_KIMARADASA_MIATT
UZEMZAVAR_TERMESZETI_KATASZTROFA_MIATT UZEMZAVAR_TERMESZETI_KATASZTROFA_MIATT
UZEMZAVAR_LEJART_TANUSITVANY_MIATT UZEMZAVAR_LEJART_TANUSITVANY_MIATT
UZEMZAVAR_MUSZAKI_HIBA_MIATT UZEMZAVAR_MUSZAKI_HIBA_MIATT

Contribution

Run Tests

Put your and files in directory, then run:


All versions of ntak-php with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
guzzlehttp/guzzle Version *
nesbot/carbon Version ^2.66
gamegos/jws Version ^1.0
myclabs/php-enum Version ^1.7.7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package quesoft/ntak-php contains the following files

Loading the files please wait ....