An open API service indexing awesome lists of open source software.

https://github.com/capcom6/php-evotor-mobile-cashier


https://github.com/capcom6/php-evotor-mobile-cashier

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# evotor-mobile-cashier

Evotor's MobileCashier REST API Client.

#### Installation

Recommended method: [Composer](http://getcomposer.org):

```
$ composer require softc/evotor-mobile-cashier
```

#### Usage

Initialize and create receipt:

```php
);

$positions = []; // instances of SoftC\Evotor\MobileCashier\Data\Position
$receipt = new Receipt('4e34ac31-ae28-4f52-be00-e6af9383343a', positions);

$response = $client->create($receipt);
var_dump($response);

```

#### License

See LICENSE file.