maescool/awwsavoclient
Composer 安装命令:
composer require maescool/awwsavoclient
包简介
AWWSAVO Soap client for getting stock info at Accell
README 文档
README
About
AWWSAVOClient is a PHP library to get the current stock status of suppliers using Accel-it-services.
The methods and variables are in dutch, since the soap wsdl is also defined in this language. I have documented this however in english.
Installation
composer require maescool/awwsavoclient
Usage
getVoorraad
the getVoorraad method returns an object with the data or throws an exception at failure.
/* Call the Composer autoloader */ require '../vendor/autoload.php'; use AWWSAVO\Client\AWWSAVOClient; ## these values are max 10 digits in length. $leveranciercode = "yoursuppliercode"; $usercode = "yourusercode"; $wachtwoord = "yourpassword"; try { $client = new AWWSAVOClient($leveranciercode, $usercode, $wachtwoord); # Get the supply status from a certain article, based on article code # the article code must be a string, no longer than 15 digits. $data = $client->getVoorraad("8715019301322"); var_dump($data); } catch (Exception $e) { echo $e->getMessage(); }
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2020-05-09