mghddev/dayapi
Composer 安装命令:
composer require mghddev/dayapi
包简介
library for Day insurance
README 文档
README
Day Insurance PHP API Client
This library has an object that it uses for sending soap request to day apis. This is DaySoapClient class and it is needed to inject wsdl url and username and password for constructing of its object. You can find usage of this library down here,
ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); require __DIR__.'/vendor/autoload.php'; $wsdl = "Wsdl_url"; $UserName = 'UserName'; $password = '*****'; $day_client = new \DayApi\DaySoapClient($wsdl, $UserName, $password); ####1) Method getPrice: $get_price_object = new \DayApi\GetPriceDataObject(); $get_price_object->setAge(25); $get_price_object->setDuration(10); $get_price_object->setZoneId(107); $prices = $day_client->getPrice($get_price_object); ####2) Method Issue:
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-11-27