deutschepost/sdk-api-prodws
最新稳定版本:1.3.0
Composer 安装命令:
composer require deutschepost/sdk-api-prodws
包简介
Deutsche Post DHL Group Shipping Products API SDK
README 文档
README
The DPDHL Product Information API SDK package offers an interface to the following web services:
- ProdWS 1.1
Requirements
System Requirements
- PHP 8.1+ with SOAP extension
Package Requirements
psr/log: PSR-3 logger interfaces
Development Package Requirements
phpunit/phpunit: Testing framework
Installation
$ composer require deutschepost/sdk-api-prodws
Uninstallation
$ composer remove deutschepost/sdk-api-prodws
Testing
$ ./vendor/bin/phpunit -c test/phpunit.xml
Features
The DPDHL Product Information API SDK supports the following features:
- Get Product Versions List
Get Product Versions List
Obtain the versioned lists of sales products and their components (basic products and additions).
Public API
The library's components suitable for consumption comprise
- services:
- service factory
- product information service
- data transfer objects:
- product list
Usage
$logger = new \Psr\Log\NullLogger(); $serviceFactory = new \DeutschePost\Sdk\ProdWS\Service\ServiceFactory(); $service = $serviceFactory->createProductInformationService('user', 'password', $logger); $productLists = $service->getProductLists('MANDANT_ID');
统计信息
- 总下载量: 189.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-01-26