revotale/checkbox-ua
最新稳定版本:0.0.13
Composer 安装命令:
composer require revotale/checkbox-ua
包简介
A library to interact with https://checkbox.ua API.
README 文档
README
Checkbox.ua have OpenAPI specification (https://api.checkbox.in.ua/api/openapi.json) that is incorrectly described in many places. For example, lack of nullable union types and different datetime format for the semantically same type of field. That causes generated client libraries to throw unexpected error.
Initial library code was generated by JanePHP (Thanks, for a great project!)
That code was modified manually, nullables was added and a specific date format used for different fields.
General logic is still handled by JanePHP runtime
Installation
composer install revotale/checkbox-ua
Usage
Example with signing in cashier with pin code and licence key.
<?php declare(strict_types=1) use RevoTale\CheckboxUA\ClientFactory; use RevoTale\CheckboxUA\Model\CashierSignInPinCode; $client = ClientFactory::createClient();//You can provide a token in case of secure API endpoint $payload = new CashierSignInPinCode(); $payload->setPinCode($pinCode); $client->signInCashierApiV1CashierSigninPost()
统计信息
- 总下载量: 2.65k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-10-29