You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
4
extend/.htaccess
Executable file
4
extend/.htaccess
Executable file
@ -0,0 +1,4 @@
|
||||
<FilesMatch (.*)\.(html|php)$>
|
||||
order allow,deny
|
||||
deny from all
|
||||
</FilesMatch>
|
153
extend/alipay/AlipayNotify.php
Executable file
153
extend/alipay/AlipayNotify.php
Executable file
@ -0,0 +1,153 @@
|
||||
<?php
|
||||
/*
|
||||
* 类名:AlipayNotify
|
||||
* 功能:支付宝通知处理类
|
||||
* 详细:处理支付宝各接口通知返回
|
||||
*/
|
||||
|
||||
class AlipayNotify {
|
||||
// HTTPS形式消息验证地址
|
||||
var $https_verify_url = 'https://mapi.alipay.com/gateway.do?service=notify_verify&';
|
||||
// HTTP形式消息验证地址
|
||||
var $http_verify_url = 'http://notify.alipay.com/trade/notify_query.do?';
|
||||
var $alipay_config;
|
||||
function __construct($alipay_config) {
|
||||
$this->alipay_config = $alipay_config;
|
||||
}
|
||||
function AlipayNotify($alipay_config) {
|
||||
$this->__construct ( $alipay_config );
|
||||
}
|
||||
/**
|
||||
* 针对notify_url验证消息是否是支付宝发出的合法消息
|
||||
* @return 验证结果
|
||||
*/
|
||||
function verifyNotify() {
|
||||
if (empty ( $_POST )) { // 判断POST来的数组是否为空
|
||||
return false;
|
||||
} else {
|
||||
// 对notify_data解密
|
||||
$decrypt_post_para = $_POST;
|
||||
if ($this->alipay_config ['sign_type'] == '0001') {
|
||||
$decrypt_post_para ['notify_data'] = rsaDecrypt ( $decrypt_post_para ['notify_data'], $this->alipay_config ['private_key_path'] );
|
||||
}
|
||||
// notify_id从decrypt_post_para中解析出来(也就是说decrypt_post_para中已经包含notify_id的内容)
|
||||
$doc = new \DOMDocument ();
|
||||
$doc->loadXML ( $decrypt_post_para ['notify_data'] );
|
||||
$notify_id = $doc->getElementsByTagName ( "notify_id" )->item ( 0 )->nodeValue;
|
||||
|
||||
// 获取支付宝远程服务器ATN结果(验证是否是支付宝发来的消息)
|
||||
$responseTxt = 'true';
|
||||
if (! empty ( $notify_id )) {
|
||||
$responseTxt = $this->getResponse ( $notify_id );
|
||||
}
|
||||
// 生成签名结果
|
||||
$isSign = $this->getSignVeryfy ( $decrypt_post_para, $_POST ["sign"], false );
|
||||
|
||||
if (preg_match ( "/true$/i", $responseTxt ) && $isSign) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 针对return_url验证消息是否是支付宝发出的合法消息
|
||||
* @return 验证结果
|
||||
*/
|
||||
function verifyReturn() {
|
||||
if (empty ( $_GET )) { // 判断GET来的数组是否为空
|
||||
return false;
|
||||
} else {
|
||||
// 生成签名结果
|
||||
$isSign = $this->getSignVeryfy ( $_GET, $_GET ["sign"], true );
|
||||
if ($isSign) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 解密
|
||||
* @param $input_para 要解密数据
|
||||
* @return 解密后结果
|
||||
*/
|
||||
function decrypt($prestr) {
|
||||
return rsaDecrypt ( $prestr, trim ( $this->alipay_config ['private_key_path'] ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* 异步通知时,对参数做固定排序
|
||||
* @param $para 排序前的参数组
|
||||
* @return 排序后的参数组
|
||||
*/
|
||||
function sortNotifyPara($para) {
|
||||
$para_sort ['service'] = $para ['service'];
|
||||
$para_sort ['v'] = $para ['v'];
|
||||
$para_sort ['sec_id'] = $para ['sec_id'];
|
||||
$para_sort ['notify_data'] = $para ['notify_data'];
|
||||
return $para_sort;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取返回时的签名验证结果
|
||||
* @param $para_temp 通知返回来的参数数组
|
||||
* @param $sign 返回的签名结果
|
||||
* @param $isSort 是否对待签名数组排序
|
||||
* @return 签名验证结果
|
||||
*/
|
||||
function getSignVeryfy($para_temp, $sign, $isSort) {
|
||||
// 除去待签名参数数组中的空值和签名参数
|
||||
$para = paraFilter ( $para_temp );
|
||||
// 对待签名参数数组排序
|
||||
if ($isSort) {
|
||||
$para = argSort ( $para );
|
||||
} else {
|
||||
$para = $this->sortNotifyPara ( $para );
|
||||
}
|
||||
// 把数组所有元素,按照“参数=参数值”的模式用“&”字符拼接成字符串
|
||||
$prestr = createLinkstring ( $para );
|
||||
|
||||
$isSgin = false;
|
||||
switch (strtoupper ( trim ( $this->alipay_config ['sign_type'] ) )) {
|
||||
case "MD5" :
|
||||
$isSgin = md5Verify ( $prestr, $sign, $this->alipay_config ['key'] );
|
||||
break;
|
||||
case "RSA" :
|
||||
$isSgin = rsaVerify ( $prestr, trim ( $this->alipay_config ['ali_public_key_path'] ), $sign );
|
||||
break;
|
||||
case "0001" :
|
||||
$isSgin = rsaVerify ( $prestr, trim ( $this->alipay_config ['ali_public_key_path'] ), $sign );
|
||||
break;
|
||||
default :
|
||||
$isSgin = false;
|
||||
}
|
||||
|
||||
return $isSgin;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取远程服务器ATN结果,验证返回URL
|
||||
* @param $notify_id 通知校验ID
|
||||
* @return 服务器ATN结果 验证结果集:
|
||||
* invalid命令参数不对 出现这个错误,请检测返回处理中partner和key是否为空
|
||||
* true 返回正确信息
|
||||
* false 请检查防火墙或者是服务器阻止端口问题以及验证时间是否超过一分钟
|
||||
*/
|
||||
function getResponse($notify_id) {
|
||||
$transport = strtolower ( trim ( $this->alipay_config ['transport'] ) );
|
||||
$partner = trim ( $this->alipay_config ['partner'] );
|
||||
$veryfy_url = '';
|
||||
if ($transport == 'https') {
|
||||
$veryfy_url = $this->https_verify_url;
|
||||
} else {
|
||||
$veryfy_url = $this->http_verify_url;
|
||||
}
|
||||
$veryfy_url = $veryfy_url . "partner=" . $partner . "¬ify_id=" . $notify_id;
|
||||
$responseTxt = getHttpResponseGET ( $veryfy_url, $this->alipay_config ['cacert'] );
|
||||
return $responseTxt;
|
||||
}
|
||||
}
|
||||
?>
|
181
extend/alipay/AlipaySubmit.php
Executable file
181
extend/alipay/AlipaySubmit.php
Executable file
@ -0,0 +1,181 @@
|
||||
<?php
|
||||
|
||||
class AlipaySubmit {
|
||||
|
||||
var $alipay_config;
|
||||
/**
|
||||
*支付宝网关地址
|
||||
*/
|
||||
var $alipay_gateway_new = 'http://wappaygw.alipay.com/service/rest.htm?';
|
||||
|
||||
function __construct($alipay_config){
|
||||
$this->alipay_config = $alipay_config;
|
||||
}
|
||||
function AlipaySubmit($alipay_config) {
|
||||
$this->__construct($alipay_config);
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成签名结果
|
||||
* @param $para_sort 已排序要签名的数组
|
||||
* return 签名结果字符串
|
||||
*/
|
||||
function buildRequestMysign($para_sort) {
|
||||
//把数组所有元素,按照“参数=参数值”的模式用“&”字符拼接成字符串
|
||||
$prestr = createLinkstring($para_sort);
|
||||
$mysign = "";
|
||||
switch (strtoupper(trim($this->alipay_config['sign_type']))) {
|
||||
case "MD5" :
|
||||
$mysign = md5Sign($prestr, $this->alipay_config['key']);
|
||||
break;
|
||||
case "RSA" :
|
||||
$mysign = rsaSign($prestr, $this->alipay_config['private_key_path']);
|
||||
break;
|
||||
case "0001" :
|
||||
$mysign = rsaSign($prestr, $this->alipay_config['private_key_path']);
|
||||
break;
|
||||
default :
|
||||
$mysign = "";
|
||||
}
|
||||
return $mysign;
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成要请求给支付宝的参数数组
|
||||
* @param $para_temp 请求前的参数数组
|
||||
* @return 要请求的参数数组
|
||||
*/
|
||||
function buildRequestPara($para_temp) {
|
||||
//除去待签名参数数组中的空值和签名参数
|
||||
$para_filter = paraFilter($para_temp);
|
||||
//对待签名参数数组排序
|
||||
$para_sort = argSort($para_filter);
|
||||
//生成签名结果
|
||||
$mysign = $this->buildRequestMysign($para_sort);
|
||||
//签名结果与签名方式加入请求提交参数组中
|
||||
$para_sort['sign'] = $mysign;
|
||||
if($para_sort['service'] != 'alipay.wap.trade.create.direct' && $para_sort['service'] != 'alipay.wap.auth.authAndExecute') {
|
||||
$para_sort['sign_type'] = strtoupper(trim($this->alipay_config['sign_type']));
|
||||
}
|
||||
return $para_sort;
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成要请求给支付宝的参数数组
|
||||
* @param $para_temp 请求前的参数数组
|
||||
* @return 要请求的参数数组字符串
|
||||
*/
|
||||
function buildRequestParaToString($para_temp) {
|
||||
//待请求参数数组
|
||||
$para = $this->buildRequestPara($para_temp);
|
||||
//把参数组中所有元素,按照“参数=参数值”的模式用“&”字符拼接成字符串,并对字符串做urlencode编码
|
||||
$request_data = createLinkstringUrlencode($para);
|
||||
|
||||
return $request_data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 建立请求,以表单HTML形式构造(默认)
|
||||
* @param $para_temp 请求参数数组
|
||||
* @param $method 提交方式。两个值可选:post、get
|
||||
* @param $button_name 确认按钮显示文字
|
||||
* @return 提交表单HTML文本
|
||||
*/
|
||||
function buildRequestForm($para_temp, $method, $button_name) {
|
||||
//待请求参数数组
|
||||
$para = $this->buildRequestPara($para_temp);
|
||||
|
||||
$sHtml = "<form id='alipaysubmit' name='alipaysubmit' action='".$this->alipay_gateway_new."_input_charset=".trim(strtolower($this->alipay_config['input_charset']))."' method='".$method."'>";
|
||||
while (list ($key, $val) = each ($para)) {
|
||||
$sHtml.= "<input type='hidden' name='".$key."' value='".$val."'/>";
|
||||
}
|
||||
//submit按钮控件请不要含有name属性
|
||||
$sHtml = $sHtml."<input style='display:none;' type='submit' value='".$button_name."'></form>";
|
||||
$sHtml = $sHtml."<script>document.forms['alipaysubmit'].submit();</script>";
|
||||
|
||||
return $sHtml;
|
||||
}
|
||||
|
||||
/**
|
||||
* 建立请求,以模拟远程HTTP的POST请求方式构造并获取支付宝的处理结果
|
||||
* @param $para_temp 请求参数数组
|
||||
* @return 支付宝处理结果
|
||||
*/
|
||||
function buildRequestHttp($para_temp) {
|
||||
$sResult = '';
|
||||
|
||||
//待请求参数数组字符串
|
||||
$request_data = $this->buildRequestPara($para_temp);
|
||||
//远程获取数据
|
||||
$sResult = getHttpResponsePOST($this->alipay_gateway_new, $this->alipay_config['cacert'],$request_data,trim(strtolower($this->alipay_config['input_charset'])));
|
||||
return $sResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* 建立请求,以模拟远程HTTP的POST请求方式构造并获取支付宝的处理结果,带文件上传功能
|
||||
* @param $para_temp 请求参数数组
|
||||
* @param $file_para_name 文件类型的参数名
|
||||
* @param $file_name 文件完整绝对路径
|
||||
* @return 支付宝返回处理结果
|
||||
*/
|
||||
function buildRequestHttpInFile($para_temp, $file_para_name, $file_name) {
|
||||
//待请求参数数组
|
||||
$para = $this->buildRequestPara($para_temp);
|
||||
$para[$file_para_name] = "@".$file_name;
|
||||
//远程获取数据
|
||||
$sResult = getHttpResponsePOST($this->alipay_gateway_new, $this->alipay_config['cacert'],$para,trim(strtolower($this->alipay_config['input_charset'])));
|
||||
return $sResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* 解析远程模拟提交后返回的信息
|
||||
* @param $str_text 要解析的字符串
|
||||
* @return 解析结果
|
||||
*/
|
||||
function parseResponse($str_text) {
|
||||
//以“&”字符切割字符串
|
||||
$para_split = explode('&',$str_text);
|
||||
//把切割后的字符串数组变成变量与数值组合的数组
|
||||
foreach ($para_split as $item) {
|
||||
//获得第一个=字符的位置
|
||||
$nPos = strpos($item,'=');
|
||||
//获得字符串长度
|
||||
$nLen = strlen($item);
|
||||
//获得变量名
|
||||
$key = substr($item,0,$nPos);
|
||||
//获得数值
|
||||
$value = substr($item,$nPos+1,$nLen-$nPos-1);
|
||||
//放入数组中
|
||||
$para_text[$key] = $value;
|
||||
}
|
||||
|
||||
if( ! empty ($para_text['res_data'])) {
|
||||
//解析加密部分字符串
|
||||
if($this->alipay_config['sign_type'] == '0001') {
|
||||
$para_text['res_data'] = rsaDecrypt($para_text['res_data'], $this->alipay_config['private_key_path']);
|
||||
}
|
||||
|
||||
//token从res_data中解析出来(也就是说res_data中已经包含token的内容)
|
||||
$doc = new \DOMDocument();
|
||||
$doc->loadXML($para_text['res_data']);
|
||||
$para_text['request_token'] = $doc->getElementsByTagName( "request_token" )->item(0)->nodeValue;
|
||||
}
|
||||
return $para_text;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用于防钓鱼,调用接口query_timestamp来获取时间戳的处理函数
|
||||
* 注意:该功能PHP5环境及以上支持,因此必须服务器、本地电脑中装有支持DOMDocument、SSL的PHP配置环境。建议本地调试时使用PHP开发软件
|
||||
* return 时间戳字符串
|
||||
*/
|
||||
function query_timestamp() {
|
||||
$url = $this->alipay_gateway_new."service=query_timestamp&partner=".trim(strtolower($this->alipay_config['partner']))."&_input_charset=".trim(strtolower($this->alipay_config['input_charset']));
|
||||
$encrypt_key = "";
|
||||
$doc = new \DOMDocument();
|
||||
$doc->load($url);
|
||||
$itemEncrypt_key = $doc->getElementsByTagName( "encrypt_key" );
|
||||
$encrypt_key = $itemEncrypt_key->item(0)->nodeValue;
|
||||
return $encrypt_key;
|
||||
}
|
||||
}
|
||||
?>
|
176
extend/alipay/Corefunction.php
Executable file
176
extend/alipay/Corefunction.php
Executable file
@ -0,0 +1,176 @@
|
||||
<?php
|
||||
/* *
|
||||
* 支付宝接口公用函数
|
||||
* 详细:该类是请求、通知返回两个文件所调用的公用函数核心处理文件
|
||||
* 版本:3.3
|
||||
* 日期:2012-07-19
|
||||
* 说明:
|
||||
* 以下代码只是为了方便商户测试而提供的样例代码,商户可以根据自己网站的需要,按照技术文档编写,并非一定要使用该代码。
|
||||
* 该代码仅供学习和研究支付宝接口使用,只是提供一个参考。
|
||||
*/
|
||||
|
||||
/**
|
||||
* 把数组所有元素,按照“参数=参数值”的模式用“&”字符拼接成字符串
|
||||
* @param $para 需要拼接的数组
|
||||
* return 拼接完成以后的字符串
|
||||
*/
|
||||
function createLinkstring($para) {
|
||||
$arg = "";
|
||||
while (list ($key, $val) = each ($para)) {
|
||||
$arg.=$key."=".$val."&";
|
||||
}
|
||||
//去掉最后一个&字符
|
||||
$arg = substr($arg,0,count($arg)-2);
|
||||
|
||||
//如果存在转义字符,那么去掉转义
|
||||
if(get_magic_quotes_gpc()){$arg = stripslashes($arg);}
|
||||
|
||||
return $arg;
|
||||
}
|
||||
/**
|
||||
* 把数组所有元素,按照“参数=参数值”的模式用“&”字符拼接成字符串,并对字符串做urlencode编码
|
||||
* @param $para 需要拼接的数组
|
||||
* return 拼接完成以后的字符串
|
||||
*/
|
||||
function createLinkstringUrlencode($para) {
|
||||
$arg = "";
|
||||
while (list ($key, $val) = each ($para)) {
|
||||
$arg.=$key."=".urlencode($val)."&";
|
||||
}
|
||||
//去掉最后一个&字符
|
||||
$arg = substr($arg,0,count($arg)-2);
|
||||
|
||||
//如果存在转义字符,那么去掉转义
|
||||
if(get_magic_quotes_gpc()){$arg = stripslashes($arg);}
|
||||
|
||||
return $arg;
|
||||
}
|
||||
/**
|
||||
* 除去数组中的空值和签名参数
|
||||
* @param $para 签名参数组
|
||||
* return 去掉空值与签名参数后的新签名参数组
|
||||
*/
|
||||
function paraFilter($para) {
|
||||
$para_filter = array();
|
||||
while (list ($key, $val) = each ($para)) {
|
||||
if($key == "sign" || $key == "sign_type" || $val == "")continue;
|
||||
else $para_filter[$key] = $para[$key];
|
||||
}
|
||||
return $para_filter;
|
||||
}
|
||||
/**
|
||||
* 对数组排序
|
||||
* @param $para 排序前的数组
|
||||
* return 排序后的数组
|
||||
*/
|
||||
function argSort($para) {
|
||||
ksort($para);
|
||||
reset($para);
|
||||
return $para;
|
||||
}
|
||||
/**
|
||||
* 写日志,方便测试(看网站需求,也可以改成把记录存入数据库)
|
||||
* 注意:服务器需要开通fopen配置
|
||||
* @param $word 要写入日志里的文本内容 默认值:空值
|
||||
*/
|
||||
function logResult($word='') {
|
||||
$fp = fopen("log.txt","a");
|
||||
flock($fp, LOCK_EX) ;
|
||||
fwrite($fp,"执行日期:".strftime("%Y%m%d%H%M%S",time())."\n".$word."\n");
|
||||
flock($fp, LOCK_UN);
|
||||
fclose($fp);
|
||||
}
|
||||
|
||||
/**
|
||||
* 远程获取数据,POST模式
|
||||
* 注意:
|
||||
* 1.使用Crul需要修改服务器中php.ini文件的设置,找到php_curl.dll去掉前面的";"就行了
|
||||
* 2.文件夹中cacert.pem是SSL证书请保证其路径有效,目前默认路径是:getcwd().'\\cacert.pem'
|
||||
* @param $url 指定URL完整路径地址
|
||||
* @param $cacert_url 指定当前工作目录绝对路径
|
||||
* @param $para 请求的数据
|
||||
* @param $input_charset 编码格式。默认值:空值
|
||||
* return 远程输出的数据
|
||||
*/
|
||||
function getHttpResponsePOST($url, $cacert_url, $para, $input_charset = '') {
|
||||
|
||||
if (trim($input_charset) != '') {
|
||||
$url = $url."_input_charset=".$input_charset;
|
||||
}
|
||||
$curl = curl_init($url);
|
||||
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true);//SSL证书认证
|
||||
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);//严格认证
|
||||
curl_setopt($curl, CURLOPT_CAINFO,$cacert_url);//证书地址
|
||||
curl_setopt($curl, CURLOPT_HEADER, 0 ); // 过滤HTTP头
|
||||
curl_setopt($curl,CURLOPT_RETURNTRANSFER, 1);// 显示输出结果
|
||||
curl_setopt($curl,CURLOPT_POST,true); // post传输数据
|
||||
curl_setopt($curl,CURLOPT_POSTFIELDS,$para);// post传输数据
|
||||
$responseText = curl_exec($curl);
|
||||
//var_dump( curl_error($curl) );//如果执行curl过程中出现异常,可打开此开关,以便查看异常内容
|
||||
curl_close($curl);
|
||||
|
||||
return $responseText;
|
||||
}
|
||||
|
||||
/**
|
||||
* 远程获取数据,GET模式
|
||||
* 注意:
|
||||
* 1.使用Crul需要修改服务器中php.ini文件的设置,找到php_curl.dll去掉前面的";"就行了
|
||||
* 2.文件夹中cacert.pem是SSL证书请保证其路径有效,目前默认路径是:getcwd().'\\cacert.pem'
|
||||
* @param $url 指定URL完整路径地址
|
||||
* @param $cacert_url 指定当前工作目录绝对路径
|
||||
* return 远程输出的数据
|
||||
*/
|
||||
function getHttpResponseGET($url,$cacert_url) {
|
||||
$curl = curl_init($url);
|
||||
curl_setopt($curl, CURLOPT_HEADER, 0 ); // 过滤HTTP头
|
||||
curl_setopt($curl,CURLOPT_RETURNTRANSFER, 1);// 显示输出结果
|
||||
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true);//SSL证书认证
|
||||
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);//严格认证
|
||||
curl_setopt($curl, CURLOPT_CAINFO,$cacert_url);//证书地址
|
||||
$responseText = curl_exec($curl);
|
||||
//var_dump( curl_error($curl) );//如果执行curl过程中出现异常,可打开此开关,以便查看异常内容
|
||||
curl_close($curl);
|
||||
|
||||
return $responseText;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实现多种字符编码方式
|
||||
* @param $input 需要编码的字符串
|
||||
* @param $_output_charset 输出的编码格式
|
||||
* @param $_input_charset 输入的编码格式
|
||||
* return 编码后的字符串
|
||||
*/
|
||||
function charsetEncode($input,$_output_charset ,$_input_charset) {
|
||||
$output = "";
|
||||
if(!isset($_output_charset) )$_output_charset = $_input_charset;
|
||||
if($_input_charset == $_output_charset || $input ==null ) {
|
||||
$output = $input;
|
||||
} elseif (function_exists("mb_convert_encoding")) {
|
||||
$output = mb_convert_encoding($input,$_output_charset,$_input_charset);
|
||||
} elseif(function_exists("iconv")) {
|
||||
$output = iconv($_input_charset,$_output_charset,$input);
|
||||
} else die("sorry, you have no libs support for charset change.");
|
||||
return $output;
|
||||
}
|
||||
/**
|
||||
* 实现多种字符解码方式
|
||||
* @param $input 需要解码的字符串
|
||||
* @param $_output_charset 输出的解码格式
|
||||
* @param $_input_charset 输入的解码格式
|
||||
* return 解码后的字符串
|
||||
*/
|
||||
function charsetDecode($input,$_input_charset ,$_output_charset) {
|
||||
$output = "";
|
||||
if(!isset($_input_charset) )$_input_charset = $_input_charset ;
|
||||
if($_input_charset == $_output_charset || $input ==null ) {
|
||||
$output = $input;
|
||||
} elseif (function_exists("mb_convert_encoding")) {
|
||||
$output = mb_convert_encoding($input,$_output_charset,$_input_charset);
|
||||
} elseif(function_exists("iconv")) {
|
||||
$output = iconv($_input_charset,$_output_charset,$input);
|
||||
} else die("sorry, you have no libs support for charset changes.");
|
||||
return $output;
|
||||
}
|
||||
?>
|
32
extend/alipay/Md5function.php
Executable file
32
extend/alipay/Md5function.php
Executable file
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* 签名字符串
|
||||
* @param $prestr 需要签名的字符串
|
||||
* @param $key 私钥
|
||||
* return 签名结果
|
||||
*/
|
||||
function md5Sign($prestr, $key) {
|
||||
$prestr = $prestr . $key;
|
||||
return md5($prestr);
|
||||
}
|
||||
|
||||
/**
|
||||
* 验证签名
|
||||
* @param $prestr 需要签名的字符串
|
||||
* @param $sign 签名结果
|
||||
* @param $key 私钥
|
||||
* return 签名结果
|
||||
*/
|
||||
function md5Verify($prestr, $sign, $key) {
|
||||
$prestr = $prestr . $key;
|
||||
$mysgin = md5($prestr);
|
||||
|
||||
if($mysgin == $sign) {
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
?>
|
231
extend/alipay/aop/AlipayMobilePublicMultiMediaClient.php
Executable file
231
extend/alipay/aop/AlipayMobilePublicMultiMediaClient.php
Executable file
@ -0,0 +1,231 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* 多媒体文件客户端
|
||||
* @author yikai.hu
|
||||
* @version $Id: AlipayMobilePublicMultiMediaClient.php, v 0.1 Aug 15, 2014 10:19:01 AM yikai.hu Exp $
|
||||
*/
|
||||
|
||||
//namespace alipay\api ;
|
||||
|
||||
include("AlipayMobilePublicMultiMediaExecute.php");
|
||||
|
||||
|
||||
class AlipayMobilePublicMultiMediaClient{
|
||||
|
||||
private $DEFAULT_CHARSET = 'UTF-8';
|
||||
private $METHOD_POST = "POST";
|
||||
private $METHOD_GET = "GET";
|
||||
private $SIGN = 'sign'; //get name
|
||||
|
||||
private $timeout = 10 ;// 超时时间
|
||||
private $serverUrl;
|
||||
private $appId;
|
||||
private $privateKey;
|
||||
private $prodCode;
|
||||
private $format = 'json'; //todo
|
||||
private $sign_type = 'RSA'; //todo
|
||||
|
||||
private $charset;
|
||||
private $apiVersion = "1.0";
|
||||
private $apiMethodName = "alipay.mobile.public.multimedia.download";
|
||||
private $media_id = "L21pZnMvVDFQV3hYWGJKWFhYYUNucHJYP3Q9YW13ZiZ4c2lnPTU0MzRhYjg1ZTZjNWJmZTMxZGJiNjIzNDdjMzFkNzkw575";
|
||||
//此处写死的,实际开发中,请传入
|
||||
|
||||
private $connectTimeout = 3000;
|
||||
private $readTimeout = 15000;
|
||||
|
||||
|
||||
|
||||
function __construct($serverUrl = '', $appId = '', $partner_private_key = '', $format = '', $charset = 'GBK'){
|
||||
$this -> serverUrl = $serverUrl;
|
||||
$this -> appId = $appId;
|
||||
$this -> privateKey = $partner_private_key;
|
||||
$this -> format = $format;
|
||||
$this -> charset = $charset;
|
||||
}
|
||||
|
||||
/**
|
||||
* getContents 获取网址内容
|
||||
* @param $request
|
||||
* @return text | bin
|
||||
*/
|
||||
public function getContents(){
|
||||
//自己的服务器如果没有 curl,可用:fsockopen() 等
|
||||
|
||||
|
||||
//1:
|
||||
//2: 私钥格式
|
||||
$datas = array(
|
||||
"app_id" => $this -> appId,
|
||||
"method" => $this -> METHOD_POST,
|
||||
"sign_type" => $this -> sign_type,
|
||||
"version" => $this -> apiVersion,
|
||||
"timestamp" => date('Y-m-d H:i:s') ,//yyyy-MM-dd HH:mm:ss
|
||||
"biz_content" => '{"mediaId":"'. $this -> media_id .'"}',
|
||||
"charset" => $this -> charset
|
||||
);
|
||||
|
||||
|
||||
|
||||
//要提交的数据
|
||||
$data_sign = $this -> buildGetUrl( $datas );
|
||||
|
||||
$post_data = $data_sign;
|
||||
//初始化 curl
|
||||
$ch = curl_init();
|
||||
//设置目标服务器
|
||||
curl_setopt($ch, CURLOPT_URL, $this -> serverUrl );
|
||||
curl_setopt($ch, CURLOPT_HEADER, TRUE);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||
//超时时间
|
||||
curl_setopt($ch, CURLOPT_TIMEOUT, $this-> timeout);
|
||||
|
||||
if( $this-> METHOD_POST == 'POST'){
|
||||
// post数据
|
||||
curl_setopt($ch, CURLOPT_POST, 1);
|
||||
// post的变量
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
$output = curl_exec($ch);
|
||||
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
|
||||
curl_close($ch);
|
||||
|
||||
echo $output;
|
||||
|
||||
//分离头部
|
||||
//list($header, $body) = explode("\r\n\r\n", $output, 2);
|
||||
$datas = explode("\r\n\r\n", $output, 2);
|
||||
$header = $datas[0];
|
||||
|
||||
if( $httpCode == '200'){
|
||||
$body = $datas[1];
|
||||
}else{
|
||||
$body = '';
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
return $this -> execute( $header, $body, $httpCode );
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param $request
|
||||
* @return text | bin
|
||||
*/
|
||||
public function execute( $header = '', $body = '', $httpCode = '' ){
|
||||
$exe = new AlipayMobilePublicMultiMediaExecute( $header, $body, $httpCode );
|
||||
return $exe;
|
||||
}
|
||||
|
||||
public function buildGetUrl( $query = array() ){
|
||||
|
||||
if( ! is_array( $query ) ){
|
||||
//exit;
|
||||
}
|
||||
|
||||
//排序参数,
|
||||
$data = $this -> buildQuery( $query );
|
||||
|
||||
|
||||
|
||||
// 私钥密码
|
||||
$passphrase = '';
|
||||
$key_width = 64;
|
||||
|
||||
//私钥
|
||||
$privateKey = $this -> privateKey;
|
||||
$p_key = array();
|
||||
//如果私钥是 1行
|
||||
if( ! stripos( $privateKey, "\n" ) ){
|
||||
$i = 0;
|
||||
while( $key_str = substr( $privateKey , $i * $key_width , $key_width) ){
|
||||
$p_key[] = $key_str;
|
||||
$i ++ ;
|
||||
}
|
||||
}else{
|
||||
//echo '一行?';
|
||||
}
|
||||
$privateKey = "-----BEGIN RSA PRIVATE KEY-----\n" . implode("\n", $p_key) ;
|
||||
$privateKey = $privateKey ."\n-----END RSA PRIVATE KEY-----";
|
||||
|
||||
// echo "\n\n私钥:\n";
|
||||
// echo( $privateKey );
|
||||
// echo "\n\n\n";
|
||||
|
||||
//私钥
|
||||
$private_id = openssl_pkey_get_private( $privateKey , $passphrase);
|
||||
|
||||
|
||||
// 签名
|
||||
$signature = '';
|
||||
|
||||
if("RSA2"==$this->sign_type){
|
||||
|
||||
openssl_sign($data, $signature, $private_id, OPENSSL_ALGO_SHA256 );
|
||||
}else{
|
||||
|
||||
openssl_sign($data, $signature, $private_id, OPENSSL_ALGO_SHA1 );
|
||||
}
|
||||
|
||||
openssl_free_key( $private_id );
|
||||
|
||||
//加密后的内容通常含有特殊字符,需要编码转换下
|
||||
$signature = base64_encode($signature);
|
||||
|
||||
$signature = urlencode( $signature );
|
||||
|
||||
//$signature = 'XjUN6YM1Mc9HXebKMv7GTLy7gmyhktyOgKk2/Jf+cz4DtP6udkzTdpkjW2j/Z4ZSD7xD6CNYI1Spz4yS93HPT0a5X9LgFWYY8SaADqe+ArXg+FBSiTwUz49SE//Xd9+LEiIRsSFkbpkuiGoO6mqJmB7vXjlD5lx6qCM3nb41wb8=';
|
||||
|
||||
$out = $data .'&'. $this -> SIGN .'='. $signature;
|
||||
|
||||
// echo "\n\n 加密后:\n";
|
||||
// echo( $out );
|
||||
// echo "\n\n\n";
|
||||
|
||||
return $out ;
|
||||
}
|
||||
|
||||
/*
|
||||
* 查询参数排序 a-z
|
||||
* */
|
||||
public function buildQuery( $query ){
|
||||
if ( !$query ) {
|
||||
return null;
|
||||
}
|
||||
|
||||
//将要 参数 排序
|
||||
ksort( $query );
|
||||
|
||||
//重新组装参数
|
||||
$params = array();
|
||||
foreach($query as $key => $value){
|
||||
$params[] = $key .'='. $value ;
|
||||
}
|
||||
$data = implode('&', $params);
|
||||
|
||||
return $data;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
108
extend/alipay/aop/AlipayMobilePublicMultiMediaExecute.php
Executable file
108
extend/alipay/aop/AlipayMobilePublicMultiMediaExecute.php
Executable file
@ -0,0 +1,108 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* 多媒体文件客户端
|
||||
* @author yuanwai.wang
|
||||
* @version $Id: AlipayMobilePublicMultiMediaExecute.php, v 0.1 Aug 15, 2014 10:19:01 AM yuanwai.wang Exp $
|
||||
*/
|
||||
|
||||
//namespace alipay\api ;
|
||||
|
||||
|
||||
|
||||
class AlipayMobilePublicMultiMediaExecute{
|
||||
|
||||
private $code = 200 ;
|
||||
private $msg = '';
|
||||
private $body = '';
|
||||
private $params = '';
|
||||
|
||||
private $fileSuffix = array(
|
||||
"image/jpeg" => 'jpg', //+
|
||||
"text/plain" => 'text'
|
||||
);
|
||||
|
||||
/*
|
||||
* @$header : 头部
|
||||
* */
|
||||
function __construct( $header, $body, $httpCode ){
|
||||
$this -> code = $httpCode;
|
||||
$this -> msg = '';
|
||||
$this -> params = $header ;
|
||||
$this -> body = $body;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return text | bin
|
||||
*/
|
||||
public function getCode(){
|
||||
return $this -> code ;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return text | bin
|
||||
*/
|
||||
public function getMsg(){
|
||||
return $this -> msg ;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return text | bin
|
||||
*/
|
||||
public function getType(){
|
||||
$subject = $this -> params ;
|
||||
$pattern = '/Content\-Type:([^;]+)/';
|
||||
preg_match($pattern, $subject, $matches);
|
||||
if( $matches ){
|
||||
$type = $matches[1];
|
||||
}else{
|
||||
$type = 'application/download';
|
||||
}
|
||||
|
||||
return str_replace( ' ', '', $type );
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return text | bin
|
||||
*/
|
||||
public function getContentLength(){
|
||||
$subject = $this -> params ;
|
||||
$pattern = '/Content-Length:\s*([^\n]+)/';
|
||||
preg_match($pattern, $subject, $matches);
|
||||
return (int)( isset($matches[1] ) ? $matches[1] : '' );
|
||||
}
|
||||
|
||||
|
||||
public function getFileSuffix( $fileType ){
|
||||
$type = isset( $this -> fileSuffix[ $fileType ] ) ? $this -> fileSuffix[ $fileType ] : 'text/plain' ;
|
||||
if( !$type ){
|
||||
$type = 'json';
|
||||
}
|
||||
return $type;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @return text | bin
|
||||
*/
|
||||
public function getBody(){
|
||||
//header('Content-type: image/jpeg');
|
||||
return $this -> body ;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取参数
|
||||
* @return text | bin
|
||||
*/
|
||||
public function getParams(){
|
||||
return $this -> params ;
|
||||
}
|
||||
|
||||
|
||||
}
|
1216
extend/alipay/aop/AopClient.php
Executable file
1216
extend/alipay/aop/AopClient.php
Executable file
File diff suppressed because it is too large
Load Diff
71
extend/alipay/aop/AopEncrypt.php
Executable file
71
extend/alipay/aop/AopEncrypt.php
Executable file
@ -0,0 +1,71 @@
|
||||
<?php
|
||||
/**
|
||||
* 加密工具类
|
||||
*
|
||||
* User: jiehua
|
||||
* Date: 16/3/30
|
||||
* Time: 下午3:25
|
||||
*/
|
||||
|
||||
/**
|
||||
* 加密方法
|
||||
* @param string $str
|
||||
* @return string
|
||||
*/
|
||||
function encrypt($str,$screct_key){
|
||||
//AES, 128 模式加密数据 CBC
|
||||
$screct_key = base64_decode($screct_key);
|
||||
$str = trim($str);
|
||||
$str = addPKCS7Padding($str);
|
||||
$iv = mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128,MCRYPT_MODE_CBC),1);
|
||||
$encrypt_str = mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $screct_key, $str, MCRYPT_MODE_CBC);
|
||||
return base64_encode($encrypt_str);
|
||||
}
|
||||
|
||||
/**
|
||||
* 解密方法
|
||||
* @param string $str
|
||||
* @return string
|
||||
*/
|
||||
function decrypt($str,$screct_key){
|
||||
//AES, 128 模式加密数据 CBC
|
||||
$str = base64_decode($str);
|
||||
$screct_key = base64_decode($screct_key);
|
||||
$iv = mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128,MCRYPT_MODE_CBC),1);
|
||||
$encrypt_str = mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $screct_key, $str, MCRYPT_MODE_CBC);
|
||||
$encrypt_str = trim($encrypt_str);
|
||||
|
||||
$encrypt_str = stripPKSC7Padding($encrypt_str);
|
||||
return $encrypt_str;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 填充算法
|
||||
* @param string $source
|
||||
* @return string
|
||||
*/
|
||||
function addPKCS7Padding($source){
|
||||
$source = trim($source);
|
||||
$block = mcrypt_get_block_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_CBC);
|
||||
|
||||
$pad = $block - (strlen($source) % $block);
|
||||
if ($pad <= $block) {
|
||||
$char = chr($pad);
|
||||
$source .= str_repeat($char, $pad);
|
||||
}
|
||||
return $source;
|
||||
}
|
||||
/**
|
||||
* 移去填充算法
|
||||
* @param string $source
|
||||
* @return string
|
||||
*/
|
||||
function stripPKSC7Padding($source){
|
||||
$source = trim($source);
|
||||
$char = substr($source, -1);
|
||||
$num = ord($char);
|
||||
if($num==62)return $source;
|
||||
$source = substr($source,0,-$num);
|
||||
return $source;
|
||||
}
|
19
extend/alipay/aop/EncryptParseItem.php
Executable file
19
extend/alipay/aop/EncryptParseItem.php
Executable file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
/**
|
||||
* TODO 补充说明
|
||||
*
|
||||
* User: jiehua
|
||||
* Date: 16/3/30
|
||||
* Time: 下午8:55
|
||||
*/
|
||||
|
||||
class EncryptParseItem {
|
||||
|
||||
|
||||
public $startIndex;
|
||||
|
||||
public $endIndex;
|
||||
|
||||
public $encryptContent;
|
||||
|
||||
}
|
18
extend/alipay/aop/EncryptResponseData.php
Executable file
18
extend/alipay/aop/EncryptResponseData.php
Executable file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/**
|
||||
* TODO 补充说明
|
||||
*
|
||||
* User: jiehua
|
||||
* Date: 16/3/30
|
||||
* Time: 下午8:51
|
||||
*/
|
||||
|
||||
class EncryptResponseData {
|
||||
|
||||
|
||||
public $realContent;
|
||||
|
||||
public $returnContent;
|
||||
|
||||
|
||||
}
|
16
extend/alipay/aop/SignData.php
Executable file
16
extend/alipay/aop/SignData.php
Executable file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: jiehua
|
||||
* Date: 15/5/2
|
||||
* Time: 下午6:21
|
||||
*/
|
||||
|
||||
class SignData {
|
||||
|
||||
public $signSourceData=null;
|
||||
|
||||
|
||||
public $sign=null;
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayAccountExrateAdviceAcceptRequest.php
Executable file
118
extend/alipay/aop/request/AlipayAccountExrateAdviceAcceptRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.account.exrate.advice.accept request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-05-23 14:55:42
|
||||
*/
|
||||
class AlipayAccountExrateAdviceAcceptRequest
|
||||
{
|
||||
/**
|
||||
* 标准的兑换交易受理接口
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.account.exrate.advice.accept";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayAccountExrateAllclientrateQueryRequest.php
Executable file
118
extend/alipay/aop/request/AlipayAccountExrateAllclientrateQueryRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.account.exrate.allclientrate.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-05-23 14:55:48
|
||||
*/
|
||||
class AlipayAccountExrateAllclientrateQueryRequest
|
||||
{
|
||||
/**
|
||||
* 查询客户的所有币种对最新有效汇率
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.account.exrate.allclientrate.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayAccountExrateRatequeryRequest.php
Executable file
118
extend/alipay/aop/request/AlipayAccountExrateRatequeryRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.account.exrate.ratequery request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-03-27 18:11:27
|
||||
*/
|
||||
class AlipayAccountExrateRatequeryRequest
|
||||
{
|
||||
/**
|
||||
* 对于部分签约境内当面付的商家,为了能够在境外进行推广,因此需要汇率进行币种之间的转换,本接口提供此业务场景下的汇率查询服务
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.account.exrate.ratequery";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayAccountExrateTraderequestCreateRequest.php
Executable file
118
extend/alipay/aop/request/AlipayAccountExrateTraderequestCreateRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.account.exrate.traderequest.create request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-07-20 10:41:44
|
||||
*/
|
||||
class AlipayAccountExrateTraderequestCreateRequest
|
||||
{
|
||||
/**
|
||||
* 受理外汇交易请求
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.account.exrate.traderequest.create";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
171
extend/alipay/aop/request/AlipayAcquireCancelRequest.php
Executable file
171
extend/alipay/aop/request/AlipayAcquireCancelRequest.php
Executable file
@ -0,0 +1,171 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.acquire.cancel request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2014-06-12 17:17:06
|
||||
*/
|
||||
class AlipayAcquireCancelRequest
|
||||
{
|
||||
/**
|
||||
* 操作员ID。
|
||||
**/
|
||||
private $operatorId;
|
||||
|
||||
/**
|
||||
* 操作员的类型:
|
||||
0:支付宝操作员
|
||||
1:商户的操作员
|
||||
如果传入其它值或者为空,则默认设置为1
|
||||
**/
|
||||
private $operatorType;
|
||||
|
||||
/**
|
||||
* 支付宝合作商户网站唯一订单号。
|
||||
**/
|
||||
private $outTradeNo;
|
||||
|
||||
/**
|
||||
* 该交易在支付宝系统中的交易流水号。
|
||||
最短16位,最长64位。
|
||||
如果同时传了out_trade_no和trade_no,则以trade_no为准。
|
||||
**/
|
||||
private $tradeNo;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setOperatorId($operatorId)
|
||||
{
|
||||
$this->operatorId = $operatorId;
|
||||
$this->apiParas["operator_id"] = $operatorId;
|
||||
}
|
||||
|
||||
public function getOperatorId()
|
||||
{
|
||||
return $this->operatorId;
|
||||
}
|
||||
|
||||
public function setOperatorType($operatorType)
|
||||
{
|
||||
$this->operatorType = $operatorType;
|
||||
$this->apiParas["operator_type"] = $operatorType;
|
||||
}
|
||||
|
||||
public function getOperatorType()
|
||||
{
|
||||
return $this->operatorType;
|
||||
}
|
||||
|
||||
public function setOutTradeNo($outTradeNo)
|
||||
{
|
||||
$this->outTradeNo = $outTradeNo;
|
||||
$this->apiParas["out_trade_no"] = $outTradeNo;
|
||||
}
|
||||
|
||||
public function getOutTradeNo()
|
||||
{
|
||||
return $this->outTradeNo;
|
||||
}
|
||||
|
||||
public function setTradeNo($tradeNo)
|
||||
{
|
||||
$this->tradeNo = $tradeNo;
|
||||
$this->apiParas["trade_no"] = $tradeNo;
|
||||
}
|
||||
|
||||
public function getTradeNo()
|
||||
{
|
||||
return $this->tradeNo;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.acquire.cancel";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
152
extend/alipay/aop/request/AlipayAcquireCloseRequest.php
Executable file
152
extend/alipay/aop/request/AlipayAcquireCloseRequest.php
Executable file
@ -0,0 +1,152 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.acquire.close request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2014-06-12 17:17:06
|
||||
*/
|
||||
class AlipayAcquireCloseRequest
|
||||
{
|
||||
/**
|
||||
* 卖家的操作员ID
|
||||
**/
|
||||
private $operatorId;
|
||||
|
||||
/**
|
||||
* 支付宝合作商户网站唯一订单号
|
||||
**/
|
||||
private $outTradeNo;
|
||||
|
||||
/**
|
||||
* 该交易在支付宝系统中的交易流水号。
|
||||
最短16位,最长64位。
|
||||
如果同时传了out_trade_no和trade_no,则以trade_no为准
|
||||
**/
|
||||
private $tradeNo;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setOperatorId($operatorId)
|
||||
{
|
||||
$this->operatorId = $operatorId;
|
||||
$this->apiParas["operator_id"] = $operatorId;
|
||||
}
|
||||
|
||||
public function getOperatorId()
|
||||
{
|
||||
return $this->operatorId;
|
||||
}
|
||||
|
||||
public function setOutTradeNo($outTradeNo)
|
||||
{
|
||||
$this->outTradeNo = $outTradeNo;
|
||||
$this->apiParas["out_trade_no"] = $outTradeNo;
|
||||
}
|
||||
|
||||
public function getOutTradeNo()
|
||||
{
|
||||
return $this->outTradeNo;
|
||||
}
|
||||
|
||||
public function setTradeNo($tradeNo)
|
||||
{
|
||||
$this->tradeNo = $tradeNo;
|
||||
$this->apiParas["trade_no"] = $tradeNo;
|
||||
}
|
||||
|
||||
public function getTradeNo()
|
||||
{
|
||||
return $this->tradeNo;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.acquire.close";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
550
extend/alipay/aop/request/AlipayAcquireCreateandpayRequest.php
Executable file
550
extend/alipay/aop/request/AlipayAcquireCreateandpayRequest.php
Executable file
@ -0,0 +1,550 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.acquire.createandpay request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-11-22 19:31:24
|
||||
*/
|
||||
class AlipayAcquireCreateandpayRequest
|
||||
{
|
||||
/**
|
||||
* 证书签名
|
||||
**/
|
||||
private $alipayCaRequest;
|
||||
|
||||
/**
|
||||
* 对一笔交易的具体描述信息。如果是多种商品,请将商品描述字符串累加传给body。
|
||||
**/
|
||||
private $body;
|
||||
|
||||
/**
|
||||
* 买家支付宝账号,可以为email或者手机号。
|
||||
**/
|
||||
private $buyerEmail;
|
||||
|
||||
/**
|
||||
* 买家支付宝账号对应的支付宝唯一用户号。
|
||||
以2088开头的纯16位数字。
|
||||
**/
|
||||
private $buyerId;
|
||||
|
||||
/**
|
||||
* 描述多渠道收单的渠道明细信息,json格式,具体请参见“4.5 渠道明细说明”。
|
||||
**/
|
||||
private $channelParameters;
|
||||
|
||||
/**
|
||||
* 订单金额币种。
|
||||
目前只支持传入156(人民币)。
|
||||
如果为空,则默认设置为156。
|
||||
**/
|
||||
private $currency;
|
||||
|
||||
/**
|
||||
* 动态ID。
|
||||
**/
|
||||
private $dynamicId;
|
||||
|
||||
/**
|
||||
* 动态ID类型:
|
||||
􀁺
|
||||
soundwave:声波
|
||||
􀁺
|
||||
qrcode:二维码
|
||||
􀁺
|
||||
barcode:条码
|
||||
􀁺
|
||||
wave_code:声波,等同soundwave
|
||||
􀁺
|
||||
qr_code:二维码,等同qrcode
|
||||
􀁺
|
||||
bar_code:条码,等同barcode
|
||||
建议取值wave_code、qr_code、bar_code。
|
||||
**/
|
||||
private $dynamicIdType;
|
||||
|
||||
/**
|
||||
* 用于商户的特定业务信息的传递,只有商户与支付宝约定了传递此参数且约定了参数含义,此参数才有效。
|
||||
比如可传递声波支付场景下的门店ID等信息,以json格式传输,具体请参见“4.7 业务扩展参数说明”。
|
||||
**/
|
||||
private $extendParams;
|
||||
|
||||
/**
|
||||
* xml或json
|
||||
**/
|
||||
private $formatType;
|
||||
|
||||
/**
|
||||
* 描述商品明细信息,json格式,具体请参见“4.3 商品明细说明”。
|
||||
**/
|
||||
private $goodsDetail;
|
||||
|
||||
/**
|
||||
* 设置未付款交易的超时时间,一旦超时,该笔交易就会自动被关闭。
|
||||
取值范围:1m~15d。
|
||||
m-分钟,h-小时,d-天,1c-当天(无论交易何时创建,都在0点关闭)。
|
||||
该参数数值不接受小数点,如1.5h,可转换为90m。
|
||||
该功能需要联系支付宝配置关闭时间。
|
||||
**/
|
||||
private $itBPay;
|
||||
|
||||
/**
|
||||
* 描述预付卡相关的明细信息,json格式,具体请参见“4.8 预付卡明细参数说明”。
|
||||
**/
|
||||
private $mcardParameters;
|
||||
|
||||
/**
|
||||
* 卖家的操作员ID。
|
||||
**/
|
||||
private $operatorId;
|
||||
|
||||
/**
|
||||
* 操作员的类型:
|
||||
􀁺
|
||||
0:支付宝操作员
|
||||
􀁺
|
||||
1:商户的操作员
|
||||
如果传入其它值或者为空,则默认设置为1。
|
||||
**/
|
||||
private $operatorType;
|
||||
|
||||
/**
|
||||
* 支付宝合作商户网站唯一订单号。
|
||||
**/
|
||||
private $outTradeNo;
|
||||
|
||||
/**
|
||||
* 订单中商品的单价。
|
||||
如果请求时传入本参数,则必须满足total_fee=price×quantity的条件。
|
||||
**/
|
||||
private $price;
|
||||
|
||||
/**
|
||||
* 订单中商品的数量。
|
||||
如果请求时传入本参数,则必须满足total_fee=price×quantity的条件。
|
||||
**/
|
||||
private $quantity;
|
||||
|
||||
/**
|
||||
* 业务关联ID集合,用于放置商户的订单号、支付流水号等信息,json格式,具体请参见“4.6 业务关联ID集合说明”。
|
||||
**/
|
||||
private $refIds;
|
||||
|
||||
/**
|
||||
* 描述分账明细信息,json格式,具体请参见“4.4 分账明细说明”。
|
||||
**/
|
||||
private $royaltyParameters;
|
||||
|
||||
/**
|
||||
* 卖家的分账类型,目前只支持传入ROYALTY(普通分账类型)。
|
||||
**/
|
||||
private $royaltyType;
|
||||
|
||||
/**
|
||||
* 卖家支付宝账号,可以为email或者手机号。
|
||||
如果seller_id不为空,则以seller_id的值作为卖家账号,忽略本参数。
|
||||
**/
|
||||
private $sellerEmail;
|
||||
|
||||
/**
|
||||
* 卖家支付宝账号对应的支付宝唯一用户号。
|
||||
以2088开头的纯16位数字。
|
||||
如果和seller_email同时为空,则本参数默认填充partner的值。
|
||||
**/
|
||||
private $sellerId;
|
||||
|
||||
/**
|
||||
* 收银台页面上,商品展示的超链接。
|
||||
**/
|
||||
private $showUrl;
|
||||
|
||||
/**
|
||||
* 商品的标题/交易标题/订单标题/订单关键字等。
|
||||
该参数最长为128个汉字。
|
||||
**/
|
||||
private $subject;
|
||||
|
||||
/**
|
||||
* 该笔订单的资金总额,取值范围[0.01,100000000],精确到小数点后2位。
|
||||
**/
|
||||
private $totalFee;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setAlipayCaRequest($alipayCaRequest)
|
||||
{
|
||||
$this->alipayCaRequest = $alipayCaRequest;
|
||||
$this->apiParas["alipay_ca_request"] = $alipayCaRequest;
|
||||
}
|
||||
|
||||
public function getAlipayCaRequest()
|
||||
{
|
||||
return $this->alipayCaRequest;
|
||||
}
|
||||
|
||||
public function setBody($body)
|
||||
{
|
||||
$this->body = $body;
|
||||
$this->apiParas["body"] = $body;
|
||||
}
|
||||
|
||||
public function getBody()
|
||||
{
|
||||
return $this->body;
|
||||
}
|
||||
|
||||
public function setBuyerEmail($buyerEmail)
|
||||
{
|
||||
$this->buyerEmail = $buyerEmail;
|
||||
$this->apiParas["buyer_email"] = $buyerEmail;
|
||||
}
|
||||
|
||||
public function getBuyerEmail()
|
||||
{
|
||||
return $this->buyerEmail;
|
||||
}
|
||||
|
||||
public function setBuyerId($buyerId)
|
||||
{
|
||||
$this->buyerId = $buyerId;
|
||||
$this->apiParas["buyer_id"] = $buyerId;
|
||||
}
|
||||
|
||||
public function getBuyerId()
|
||||
{
|
||||
return $this->buyerId;
|
||||
}
|
||||
|
||||
public function setChannelParameters($channelParameters)
|
||||
{
|
||||
$this->channelParameters = $channelParameters;
|
||||
$this->apiParas["channel_parameters"] = $channelParameters;
|
||||
}
|
||||
|
||||
public function getChannelParameters()
|
||||
{
|
||||
return $this->channelParameters;
|
||||
}
|
||||
|
||||
public function setCurrency($currency)
|
||||
{
|
||||
$this->currency = $currency;
|
||||
$this->apiParas["currency"] = $currency;
|
||||
}
|
||||
|
||||
public function getCurrency()
|
||||
{
|
||||
return $this->currency;
|
||||
}
|
||||
|
||||
public function setDynamicId($dynamicId)
|
||||
{
|
||||
$this->dynamicId = $dynamicId;
|
||||
$this->apiParas["dynamic_id"] = $dynamicId;
|
||||
}
|
||||
|
||||
public function getDynamicId()
|
||||
{
|
||||
return $this->dynamicId;
|
||||
}
|
||||
|
||||
public function setDynamicIdType($dynamicIdType)
|
||||
{
|
||||
$this->dynamicIdType = $dynamicIdType;
|
||||
$this->apiParas["dynamic_id_type"] = $dynamicIdType;
|
||||
}
|
||||
|
||||
public function getDynamicIdType()
|
||||
{
|
||||
return $this->dynamicIdType;
|
||||
}
|
||||
|
||||
public function setExtendParams($extendParams)
|
||||
{
|
||||
$this->extendParams = $extendParams;
|
||||
$this->apiParas["extend_params"] = $extendParams;
|
||||
}
|
||||
|
||||
public function getExtendParams()
|
||||
{
|
||||
return $this->extendParams;
|
||||
}
|
||||
|
||||
public function setFormatType($formatType)
|
||||
{
|
||||
$this->formatType = $formatType;
|
||||
$this->apiParas["format_type"] = $formatType;
|
||||
}
|
||||
|
||||
public function getFormatType()
|
||||
{
|
||||
return $this->formatType;
|
||||
}
|
||||
|
||||
public function setGoodsDetail($goodsDetail)
|
||||
{
|
||||
$this->goodsDetail = $goodsDetail;
|
||||
$this->apiParas["goods_detail"] = $goodsDetail;
|
||||
}
|
||||
|
||||
public function getGoodsDetail()
|
||||
{
|
||||
return $this->goodsDetail;
|
||||
}
|
||||
|
||||
public function setItBPay($itBPay)
|
||||
{
|
||||
$this->itBPay = $itBPay;
|
||||
$this->apiParas["it_b_pay"] = $itBPay;
|
||||
}
|
||||
|
||||
public function getItBPay()
|
||||
{
|
||||
return $this->itBPay;
|
||||
}
|
||||
|
||||
public function setMcardParameters($mcardParameters)
|
||||
{
|
||||
$this->mcardParameters = $mcardParameters;
|
||||
$this->apiParas["mcard_parameters"] = $mcardParameters;
|
||||
}
|
||||
|
||||
public function getMcardParameters()
|
||||
{
|
||||
return $this->mcardParameters;
|
||||
}
|
||||
|
||||
public function setOperatorId($operatorId)
|
||||
{
|
||||
$this->operatorId = $operatorId;
|
||||
$this->apiParas["operator_id"] = $operatorId;
|
||||
}
|
||||
|
||||
public function getOperatorId()
|
||||
{
|
||||
return $this->operatorId;
|
||||
}
|
||||
|
||||
public function setOperatorType($operatorType)
|
||||
{
|
||||
$this->operatorType = $operatorType;
|
||||
$this->apiParas["operator_type"] = $operatorType;
|
||||
}
|
||||
|
||||
public function getOperatorType()
|
||||
{
|
||||
return $this->operatorType;
|
||||
}
|
||||
|
||||
public function setOutTradeNo($outTradeNo)
|
||||
{
|
||||
$this->outTradeNo = $outTradeNo;
|
||||
$this->apiParas["out_trade_no"] = $outTradeNo;
|
||||
}
|
||||
|
||||
public function getOutTradeNo()
|
||||
{
|
||||
return $this->outTradeNo;
|
||||
}
|
||||
|
||||
public function setPrice($price)
|
||||
{
|
||||
$this->price = $price;
|
||||
$this->apiParas["price"] = $price;
|
||||
}
|
||||
|
||||
public function getPrice()
|
||||
{
|
||||
return $this->price;
|
||||
}
|
||||
|
||||
public function setQuantity($quantity)
|
||||
{
|
||||
$this->quantity = $quantity;
|
||||
$this->apiParas["quantity"] = $quantity;
|
||||
}
|
||||
|
||||
public function getQuantity()
|
||||
{
|
||||
return $this->quantity;
|
||||
}
|
||||
|
||||
public function setRefIds($refIds)
|
||||
{
|
||||
$this->refIds = $refIds;
|
||||
$this->apiParas["ref_ids"] = $refIds;
|
||||
}
|
||||
|
||||
public function getRefIds()
|
||||
{
|
||||
return $this->refIds;
|
||||
}
|
||||
|
||||
public function setRoyaltyParameters($royaltyParameters)
|
||||
{
|
||||
$this->royaltyParameters = $royaltyParameters;
|
||||
$this->apiParas["royalty_parameters"] = $royaltyParameters;
|
||||
}
|
||||
|
||||
public function getRoyaltyParameters()
|
||||
{
|
||||
return $this->royaltyParameters;
|
||||
}
|
||||
|
||||
public function setRoyaltyType($royaltyType)
|
||||
{
|
||||
$this->royaltyType = $royaltyType;
|
||||
$this->apiParas["royalty_type"] = $royaltyType;
|
||||
}
|
||||
|
||||
public function getRoyaltyType()
|
||||
{
|
||||
return $this->royaltyType;
|
||||
}
|
||||
|
||||
public function setSellerEmail($sellerEmail)
|
||||
{
|
||||
$this->sellerEmail = $sellerEmail;
|
||||
$this->apiParas["seller_email"] = $sellerEmail;
|
||||
}
|
||||
|
||||
public function getSellerEmail()
|
||||
{
|
||||
return $this->sellerEmail;
|
||||
}
|
||||
|
||||
public function setSellerId($sellerId)
|
||||
{
|
||||
$this->sellerId = $sellerId;
|
||||
$this->apiParas["seller_id"] = $sellerId;
|
||||
}
|
||||
|
||||
public function getSellerId()
|
||||
{
|
||||
return $this->sellerId;
|
||||
}
|
||||
|
||||
public function setShowUrl($showUrl)
|
||||
{
|
||||
$this->showUrl = $showUrl;
|
||||
$this->apiParas["show_url"] = $showUrl;
|
||||
}
|
||||
|
||||
public function getShowUrl()
|
||||
{
|
||||
return $this->showUrl;
|
||||
}
|
||||
|
||||
public function setSubject($subject)
|
||||
{
|
||||
$this->subject = $subject;
|
||||
$this->apiParas["subject"] = $subject;
|
||||
}
|
||||
|
||||
public function getSubject()
|
||||
{
|
||||
return $this->subject;
|
||||
}
|
||||
|
||||
public function setTotalFee($totalFee)
|
||||
{
|
||||
$this->totalFee = $totalFee;
|
||||
$this->apiParas["total_fee"] = $totalFee;
|
||||
}
|
||||
|
||||
public function getTotalFee()
|
||||
{
|
||||
return $this->totalFee;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.acquire.createandpay";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
402
extend/alipay/aop/request/AlipayAcquirePrecreateRequest.php
Executable file
402
extend/alipay/aop/request/AlipayAcquirePrecreateRequest.php
Executable file
@ -0,0 +1,402 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.acquire.precreate request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2014-05-28 11:57:10
|
||||
*/
|
||||
class AlipayAcquirePrecreateRequest
|
||||
{
|
||||
/**
|
||||
* 对一笔交易的具体描述信息。如果是多种商品,请将商品描述字符串累加传给body
|
||||
**/
|
||||
private $body;
|
||||
|
||||
/**
|
||||
* 描述多渠道收单的渠道明细信息,json格式
|
||||
**/
|
||||
private $channelParameters;
|
||||
|
||||
/**
|
||||
* 订单金额币种。目前只支持传入156(人民币)。
|
||||
如果为空,则默认设置为156
|
||||
**/
|
||||
private $currency;
|
||||
|
||||
/**
|
||||
* 公用业务扩展信息。用于商户的特定业务信息的传递,只有商户与支付宝约定了传递此参数且约定了参数含义,此参数才有效。
|
||||
比如可传递二维码支付场景下的门店ID等信息,以json格式传输。
|
||||
**/
|
||||
private $extendParams;
|
||||
|
||||
/**
|
||||
* 描述商品明细信息,json格式。
|
||||
**/
|
||||
private $goodsDetail;
|
||||
|
||||
/**
|
||||
* 订单支付超时时间。设置未付款交易的超时时间,一旦超时,该笔交易就会自动被关闭。
|
||||
取值范围:1m~15d。
|
||||
m-分钟,h-小时,d-天,1c-当天(无论交易何时创建,都在0点关闭)。
|
||||
该参数数值不接受小数点,如1.5h,可转换为90m。
|
||||
该功能需要联系支付宝配置关闭时间。
|
||||
**/
|
||||
private $itBPay;
|
||||
|
||||
/**
|
||||
* 操作员的类型:
|
||||
0:支付宝操作员
|
||||
1:商户的操作员
|
||||
如果传入其它值或者为空,则默认设置为1
|
||||
**/
|
||||
private $operatorCode;
|
||||
|
||||
/**
|
||||
* 卖家的操作员ID
|
||||
**/
|
||||
private $operatorId;
|
||||
|
||||
/**
|
||||
* 支付宝合作商户网站唯一订单号
|
||||
**/
|
||||
private $outTradeNo;
|
||||
|
||||
/**
|
||||
* 订单中商品的单价。
|
||||
如果请求时传入本参数,则必须满足total_fee=price×quantity的条件
|
||||
**/
|
||||
private $price;
|
||||
|
||||
/**
|
||||
* 订单中商品的数量。
|
||||
如果请求时传入本参数,则必须满足total_fee=price×quantity的条件
|
||||
**/
|
||||
private $quantity;
|
||||
|
||||
/**
|
||||
* 分账信息。
|
||||
描述分账明细信息,json格式
|
||||
**/
|
||||
private $royaltyParameters;
|
||||
|
||||
/**
|
||||
* 分账类型。卖家的分账类型,目前只支持传入ROYALTY(普通分账类型)
|
||||
**/
|
||||
private $royaltyType;
|
||||
|
||||
/**
|
||||
* 卖家支付宝账号,可以为email或者手机号。如果seller_id不为空,则以seller_id的值作为卖家账号,忽略本参数
|
||||
**/
|
||||
private $sellerEmail;
|
||||
|
||||
/**
|
||||
* 卖家支付宝账号对应的支付宝唯一用户号,以2088开头的纯16位数字。如果和seller_email同时为空,则本参数默认填充partner的值
|
||||
**/
|
||||
private $sellerId;
|
||||
|
||||
/**
|
||||
* 收银台页面上,商品展示的超链接
|
||||
**/
|
||||
private $showUrl;
|
||||
|
||||
/**
|
||||
* 商品购买
|
||||
**/
|
||||
private $subject;
|
||||
|
||||
/**
|
||||
* 订单金额。该笔订单的资金总额,取值范围[0.01,100000000],精确到小数点后2位。
|
||||
**/
|
||||
private $totalFee;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBody($body)
|
||||
{
|
||||
$this->body = $body;
|
||||
$this->apiParas["body"] = $body;
|
||||
}
|
||||
|
||||
public function getBody()
|
||||
{
|
||||
return $this->body;
|
||||
}
|
||||
|
||||
public function setChannelParameters($channelParameters)
|
||||
{
|
||||
$this->channelParameters = $channelParameters;
|
||||
$this->apiParas["channel_parameters"] = $channelParameters;
|
||||
}
|
||||
|
||||
public function getChannelParameters()
|
||||
{
|
||||
return $this->channelParameters;
|
||||
}
|
||||
|
||||
public function setCurrency($currency)
|
||||
{
|
||||
$this->currency = $currency;
|
||||
$this->apiParas["currency"] = $currency;
|
||||
}
|
||||
|
||||
public function getCurrency()
|
||||
{
|
||||
return $this->currency;
|
||||
}
|
||||
|
||||
public function setExtendParams($extendParams)
|
||||
{
|
||||
$this->extendParams = $extendParams;
|
||||
$this->apiParas["extend_params"] = $extendParams;
|
||||
}
|
||||
|
||||
public function getExtendParams()
|
||||
{
|
||||
return $this->extendParams;
|
||||
}
|
||||
|
||||
public function setGoodsDetail($goodsDetail)
|
||||
{
|
||||
$this->goodsDetail = $goodsDetail;
|
||||
$this->apiParas["goods_detail"] = $goodsDetail;
|
||||
}
|
||||
|
||||
public function getGoodsDetail()
|
||||
{
|
||||
return $this->goodsDetail;
|
||||
}
|
||||
|
||||
public function setItBPay($itBPay)
|
||||
{
|
||||
$this->itBPay = $itBPay;
|
||||
$this->apiParas["it_b_pay"] = $itBPay;
|
||||
}
|
||||
|
||||
public function getItBPay()
|
||||
{
|
||||
return $this->itBPay;
|
||||
}
|
||||
|
||||
public function setOperatorCode($operatorCode)
|
||||
{
|
||||
$this->operatorCode = $operatorCode;
|
||||
$this->apiParas["operator_code"] = $operatorCode;
|
||||
}
|
||||
|
||||
public function getOperatorCode()
|
||||
{
|
||||
return $this->operatorCode;
|
||||
}
|
||||
|
||||
public function setOperatorId($operatorId)
|
||||
{
|
||||
$this->operatorId = $operatorId;
|
||||
$this->apiParas["operator_id"] = $operatorId;
|
||||
}
|
||||
|
||||
public function getOperatorId()
|
||||
{
|
||||
return $this->operatorId;
|
||||
}
|
||||
|
||||
public function setOutTradeNo($outTradeNo)
|
||||
{
|
||||
$this->outTradeNo = $outTradeNo;
|
||||
$this->apiParas["out_trade_no"] = $outTradeNo;
|
||||
}
|
||||
|
||||
public function getOutTradeNo()
|
||||
{
|
||||
return $this->outTradeNo;
|
||||
}
|
||||
|
||||
public function setPrice($price)
|
||||
{
|
||||
$this->price = $price;
|
||||
$this->apiParas["price"] = $price;
|
||||
}
|
||||
|
||||
public function getPrice()
|
||||
{
|
||||
return $this->price;
|
||||
}
|
||||
|
||||
public function setQuantity($quantity)
|
||||
{
|
||||
$this->quantity = $quantity;
|
||||
$this->apiParas["quantity"] = $quantity;
|
||||
}
|
||||
|
||||
public function getQuantity()
|
||||
{
|
||||
return $this->quantity;
|
||||
}
|
||||
|
||||
public function setRoyaltyParameters($royaltyParameters)
|
||||
{
|
||||
$this->royaltyParameters = $royaltyParameters;
|
||||
$this->apiParas["royalty_parameters"] = $royaltyParameters;
|
||||
}
|
||||
|
||||
public function getRoyaltyParameters()
|
||||
{
|
||||
return $this->royaltyParameters;
|
||||
}
|
||||
|
||||
public function setRoyaltyType($royaltyType)
|
||||
{
|
||||
$this->royaltyType = $royaltyType;
|
||||
$this->apiParas["royalty_type"] = $royaltyType;
|
||||
}
|
||||
|
||||
public function getRoyaltyType()
|
||||
{
|
||||
return $this->royaltyType;
|
||||
}
|
||||
|
||||
public function setSellerEmail($sellerEmail)
|
||||
{
|
||||
$this->sellerEmail = $sellerEmail;
|
||||
$this->apiParas["seller_email"] = $sellerEmail;
|
||||
}
|
||||
|
||||
public function getSellerEmail()
|
||||
{
|
||||
return $this->sellerEmail;
|
||||
}
|
||||
|
||||
public function setSellerId($sellerId)
|
||||
{
|
||||
$this->sellerId = $sellerId;
|
||||
$this->apiParas["seller_id"] = $sellerId;
|
||||
}
|
||||
|
||||
public function getSellerId()
|
||||
{
|
||||
return $this->sellerId;
|
||||
}
|
||||
|
||||
public function setShowUrl($showUrl)
|
||||
{
|
||||
$this->showUrl = $showUrl;
|
||||
$this->apiParas["show_url"] = $showUrl;
|
||||
}
|
||||
|
||||
public function getShowUrl()
|
||||
{
|
||||
return $this->showUrl;
|
||||
}
|
||||
|
||||
public function setSubject($subject)
|
||||
{
|
||||
$this->subject = $subject;
|
||||
$this->apiParas["subject"] = $subject;
|
||||
}
|
||||
|
||||
public function getSubject()
|
||||
{
|
||||
return $this->subject;
|
||||
}
|
||||
|
||||
public function setTotalFee($totalFee)
|
||||
{
|
||||
$this->totalFee = $totalFee;
|
||||
$this->apiParas["total_fee"] = $totalFee;
|
||||
}
|
||||
|
||||
public function getTotalFee()
|
||||
{
|
||||
return $this->totalFee;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.acquire.precreate";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
136
extend/alipay/aop/request/AlipayAcquireQueryRequest.php
Executable file
136
extend/alipay/aop/request/AlipayAcquireQueryRequest.php
Executable file
@ -0,0 +1,136 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.acquire.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2014-05-28 11:58:01
|
||||
*/
|
||||
class AlipayAcquireQueryRequest
|
||||
{
|
||||
/**
|
||||
* 支付宝合作商户网站唯一订单号
|
||||
**/
|
||||
private $outTradeNo;
|
||||
|
||||
/**
|
||||
* 该交易在支付宝系统中的交易流水号。
|
||||
最短16位,最长64位。
|
||||
如果同时传了out_trade_no和trade_no,则以trade_no为准。
|
||||
**/
|
||||
private $tradeNo;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setOutTradeNo($outTradeNo)
|
||||
{
|
||||
$this->outTradeNo = $outTradeNo;
|
||||
$this->apiParas["out_trade_no"] = $outTradeNo;
|
||||
}
|
||||
|
||||
public function getOutTradeNo()
|
||||
{
|
||||
return $this->outTradeNo;
|
||||
}
|
||||
|
||||
public function setTradeNo($tradeNo)
|
||||
{
|
||||
$this->tradeNo = $tradeNo;
|
||||
$this->apiParas["trade_no"] = $tradeNo;
|
||||
}
|
||||
|
||||
public function getTradeNo()
|
||||
{
|
||||
return $this->tradeNo;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.acquire.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
236
extend/alipay/aop/request/AlipayAcquireRefundRequest.php
Executable file
236
extend/alipay/aop/request/AlipayAcquireRefundRequest.php
Executable file
@ -0,0 +1,236 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.acquire.refund request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2014-06-12 17:17:03
|
||||
*/
|
||||
class AlipayAcquireRefundRequest
|
||||
{
|
||||
/**
|
||||
* 卖家的操作员ID。
|
||||
**/
|
||||
private $operatorId;
|
||||
|
||||
/**
|
||||
* 操作员的类型:
|
||||
0:支付宝操作员
|
||||
1:商户的操作员
|
||||
如果传入其它值或者为空,则默认设置为1。
|
||||
**/
|
||||
private $operatorType;
|
||||
|
||||
/**
|
||||
* 商户退款请求单号,用以标识本次交易的退款请求。
|
||||
如果不传入本参数,则以out_trade_no填充本参数的值。同时,认为本次请求为全额退款,要求退款金额和交易支付金额一致。
|
||||
**/
|
||||
private $outRequestNo;
|
||||
|
||||
/**
|
||||
* 商户网站唯一订单号
|
||||
**/
|
||||
private $outTradeNo;
|
||||
|
||||
/**
|
||||
* 业务关联ID集合,用于放置商户的退款单号、退款流水号等信息,json格式
|
||||
**/
|
||||
private $refIds;
|
||||
|
||||
/**
|
||||
* 退款金额;退款金额不能大于订单金额,全额退款必须与订单金额一致。
|
||||
**/
|
||||
private $refundAmount;
|
||||
|
||||
/**
|
||||
* 退款原因说明。
|
||||
**/
|
||||
private $refundReason;
|
||||
|
||||
/**
|
||||
* 该交易在支付宝系统中的交易流水号。
|
||||
最短16位,最长64位。
|
||||
如果同时传了out_trade_no和trade_no,则以trade_no为准
|
||||
**/
|
||||
private $tradeNo;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setOperatorId($operatorId)
|
||||
{
|
||||
$this->operatorId = $operatorId;
|
||||
$this->apiParas["operator_id"] = $operatorId;
|
||||
}
|
||||
|
||||
public function getOperatorId()
|
||||
{
|
||||
return $this->operatorId;
|
||||
}
|
||||
|
||||
public function setOperatorType($operatorType)
|
||||
{
|
||||
$this->operatorType = $operatorType;
|
||||
$this->apiParas["operator_type"] = $operatorType;
|
||||
}
|
||||
|
||||
public function getOperatorType()
|
||||
{
|
||||
return $this->operatorType;
|
||||
}
|
||||
|
||||
public function setOutRequestNo($outRequestNo)
|
||||
{
|
||||
$this->outRequestNo = $outRequestNo;
|
||||
$this->apiParas["out_request_no"] = $outRequestNo;
|
||||
}
|
||||
|
||||
public function getOutRequestNo()
|
||||
{
|
||||
return $this->outRequestNo;
|
||||
}
|
||||
|
||||
public function setOutTradeNo($outTradeNo)
|
||||
{
|
||||
$this->outTradeNo = $outTradeNo;
|
||||
$this->apiParas["out_trade_no"] = $outTradeNo;
|
||||
}
|
||||
|
||||
public function getOutTradeNo()
|
||||
{
|
||||
return $this->outTradeNo;
|
||||
}
|
||||
|
||||
public function setRefIds($refIds)
|
||||
{
|
||||
$this->refIds = $refIds;
|
||||
$this->apiParas["ref_ids"] = $refIds;
|
||||
}
|
||||
|
||||
public function getRefIds()
|
||||
{
|
||||
return $this->refIds;
|
||||
}
|
||||
|
||||
public function setRefundAmount($refundAmount)
|
||||
{
|
||||
$this->refundAmount = $refundAmount;
|
||||
$this->apiParas["refund_amount"] = $refundAmount;
|
||||
}
|
||||
|
||||
public function getRefundAmount()
|
||||
{
|
||||
return $this->refundAmount;
|
||||
}
|
||||
|
||||
public function setRefundReason($refundReason)
|
||||
{
|
||||
$this->refundReason = $refundReason;
|
||||
$this->apiParas["refund_reason"] = $refundReason;
|
||||
}
|
||||
|
||||
public function getRefundReason()
|
||||
{
|
||||
return $this->refundReason;
|
||||
}
|
||||
|
||||
public function setTradeNo($tradeNo)
|
||||
{
|
||||
$this->tradeNo = $tradeNo;
|
||||
$this->apiParas["trade_no"] = $tradeNo;
|
||||
}
|
||||
|
||||
public function getTradeNo()
|
||||
{
|
||||
return $this->tradeNo;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.acquire.refund";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayAppTokenGetRequest.php
Executable file
118
extend/alipay/aop/request/AlipayAppTokenGetRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.app.token.get request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-04-13 19:13:06
|
||||
*/
|
||||
class AlipayAppTokenGetRequest
|
||||
{
|
||||
/**
|
||||
* 应用安全码
|
||||
**/
|
||||
private $secret;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setSecret($secret)
|
||||
{
|
||||
$this->secret = $secret;
|
||||
$this->apiParas["secret"] = $secret;
|
||||
}
|
||||
|
||||
public function getSecret()
|
||||
{
|
||||
return $this->secret;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.app.token.get";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
170
extend/alipay/aop/request/AlipayAssetAccountBindRequest.php
Executable file
170
extend/alipay/aop/request/AlipayAssetAccountBindRequest.php
Executable file
@ -0,0 +1,170 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.asset.account.bind request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-10-11 19:38:33
|
||||
*/
|
||||
class AlipayAssetAccountBindRequest
|
||||
{
|
||||
/**
|
||||
* 绑定场景,目前仅支持如下:
|
||||
wechat:微信公众平台;
|
||||
transport:物流转运平台;
|
||||
appOneBind:一对一app绑定;
|
||||
注意:必须是这些值,区分大小写。
|
||||
**/
|
||||
private $bindScene;
|
||||
|
||||
/**
|
||||
* 使用该app提供用户信息的商户,可以和app相同。
|
||||
**/
|
||||
private $providerId;
|
||||
|
||||
/**
|
||||
* 用户在商户网站的会员标识。商户需确保其唯一性,不可变更。
|
||||
**/
|
||||
private $providerUserId;
|
||||
|
||||
/**
|
||||
* 用户在商户网站的会员名(登录号或昵称)。
|
||||
**/
|
||||
private $providerUserName;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBindScene($bindScene)
|
||||
{
|
||||
$this->bindScene = $bindScene;
|
||||
$this->apiParas["bind_scene"] = $bindScene;
|
||||
}
|
||||
|
||||
public function getBindScene()
|
||||
{
|
||||
return $this->bindScene;
|
||||
}
|
||||
|
||||
public function setProviderId($providerId)
|
||||
{
|
||||
$this->providerId = $providerId;
|
||||
$this->apiParas["provider_id"] = $providerId;
|
||||
}
|
||||
|
||||
public function getProviderId()
|
||||
{
|
||||
return $this->providerId;
|
||||
}
|
||||
|
||||
public function setProviderUserId($providerUserId)
|
||||
{
|
||||
$this->providerUserId = $providerUserId;
|
||||
$this->apiParas["provider_user_id"] = $providerUserId;
|
||||
}
|
||||
|
||||
public function getProviderUserId()
|
||||
{
|
||||
return $this->providerUserId;
|
||||
}
|
||||
|
||||
public function setProviderUserName($providerUserName)
|
||||
{
|
||||
$this->providerUserName = $providerUserName;
|
||||
$this->apiParas["provider_user_name"] = $providerUserName;
|
||||
}
|
||||
|
||||
public function getProviderUserName()
|
||||
{
|
||||
return $this->providerUserName;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.asset.account.bind";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
135
extend/alipay/aop/request/AlipayAssetAccountGetRequest.php
Executable file
135
extend/alipay/aop/request/AlipayAssetAccountGetRequest.php
Executable file
@ -0,0 +1,135 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.asset.account.get request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-10-11 19:39:10
|
||||
*/
|
||||
class AlipayAssetAccountGetRequest
|
||||
{
|
||||
/**
|
||||
* 使用该app提供用户信息的商户,可以和app相同。
|
||||
**/
|
||||
private $providerId;
|
||||
|
||||
/**
|
||||
* 用户在商户网站的会员标识。商户需确保其唯一性,不可变更。
|
||||
注意:根据provider_user_id查询时该值不可空。
|
||||
**/
|
||||
private $providerUserId;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setProviderId($providerId)
|
||||
{
|
||||
$this->providerId = $providerId;
|
||||
$this->apiParas["provider_id"] = $providerId;
|
||||
}
|
||||
|
||||
public function getProviderId()
|
||||
{
|
||||
return $this->providerId;
|
||||
}
|
||||
|
||||
public function setProviderUserId($providerUserId)
|
||||
{
|
||||
$this->providerUserId = $providerUserId;
|
||||
$this->apiParas["provider_user_id"] = $providerUserId;
|
||||
}
|
||||
|
||||
public function getProviderUserId()
|
||||
{
|
||||
return $this->providerUserId;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.asset.account.get";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
134
extend/alipay/aop/request/AlipayAssetAccountUnbindRequest.php
Executable file
134
extend/alipay/aop/request/AlipayAssetAccountUnbindRequest.php
Executable file
@ -0,0 +1,134 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.asset.account.unbind request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-10-11 19:38:49
|
||||
*/
|
||||
class AlipayAssetAccountUnbindRequest
|
||||
{
|
||||
/**
|
||||
* 业务参数 使用该app提供用户信息的商户在支付宝签约时的支付宝账户userID,可以和app相同。
|
||||
**/
|
||||
private $providerId;
|
||||
|
||||
/**
|
||||
* 用户在商户网站的会员标识。商户需确保其唯一性,不可变更。
|
||||
**/
|
||||
private $providerUserId;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setProviderId($providerId)
|
||||
{
|
||||
$this->providerId = $providerId;
|
||||
$this->apiParas["provider_id"] = $providerId;
|
||||
}
|
||||
|
||||
public function getProviderId()
|
||||
{
|
||||
return $this->providerId;
|
||||
}
|
||||
|
||||
public function setProviderUserId($providerUserId)
|
||||
{
|
||||
$this->providerUserId = $providerUserId;
|
||||
$this->apiParas["provider_user_id"] = $providerUserId;
|
||||
}
|
||||
|
||||
public function getProviderUserId()
|
||||
{
|
||||
return $this->providerUserId;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.asset.account.unbind";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
103
extend/alipay/aop/request/AlipayAssetPointBalanceQueryRequest.php
Executable file
103
extend/alipay/aop/request/AlipayAssetPointBalanceQueryRequest.php
Executable file
@ -0,0 +1,103 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.asset.point.balance.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-04-14 19:00:47
|
||||
*/
|
||||
class AlipayAssetPointBalanceQueryRequest
|
||||
{
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.asset.point.balance.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
103
extend/alipay/aop/request/AlipayAssetPointBudgetQueryRequest.php
Executable file
103
extend/alipay/aop/request/AlipayAssetPointBudgetQueryRequest.php
Executable file
@ -0,0 +1,103 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.asset.point.budget.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-04-14 18:58:03
|
||||
*/
|
||||
class AlipayAssetPointBudgetQueryRequest
|
||||
{
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.asset.point.budget.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayAssetPointOrderCreateRequest.php
Executable file
118
extend/alipay/aop/request/AlipayAssetPointOrderCreateRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.asset.point.order.create request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-04-14 18:53:05
|
||||
*/
|
||||
class AlipayAssetPointOrderCreateRequest
|
||||
{
|
||||
/**
|
||||
* 商户在采购完集分宝后可以通过此接口发放集分宝
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.asset.point.order.create";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayAssetPointOrderQueryRequest.php
Executable file
118
extend/alipay/aop/request/AlipayAssetPointOrderQueryRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.asset.point.order.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-04-14 19:02:42
|
||||
*/
|
||||
class AlipayAssetPointOrderQueryRequest
|
||||
{
|
||||
/**
|
||||
* 商户在调用集分宝发放接口后可以通过此接口查询发放情况
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.asset.point.order.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayBossCsChannelQueryRequest.php
Executable file
118
extend/alipay/aop/request/AlipayBossCsChannelQueryRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.boss.cs.channel.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-02-23 20:04:44
|
||||
*/
|
||||
class AlipayBossCsChannelQueryRequest
|
||||
{
|
||||
/**
|
||||
* 云客服热线数据查询,云客服会有很多外部客服,他们需要查询落地在站内的自己公司的服务数据。
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.boss.cs.channel.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayBossProdArrangementOfflineQueryRequest.php
Executable file
118
extend/alipay/aop/request/AlipayBossProdArrangementOfflineQueryRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.boss.prod.arrangement.offline.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-04-14 21:06:47
|
||||
*/
|
||||
class AlipayBossProdArrangementOfflineQueryRequest
|
||||
{
|
||||
/**
|
||||
* 签约销售方案的主站产品码,目前只支持ONLINE_TRADE_PAY(在线购买签约)和FACE_TO_FACE_PAYMENT(当面付)两个常量值,不允许传入其他值,否则报SYSTEM_ERROR异常。不传值时,默认查询FACE_TO_FACE_PAYM(当面付产品)。
|
||||
**/
|
||||
private $productCode;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setProductCode($productCode)
|
||||
{
|
||||
$this->productCode = $productCode;
|
||||
$this->apiParas["product_code"] = $productCode;
|
||||
}
|
||||
|
||||
public function getProductCode()
|
||||
{
|
||||
return $this->productCode;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.boss.prod.arrangement.offline.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
103
extend/alipay/aop/request/AlipayCommerceCityfacilitatorCityQueryRequest.php
Executable file
103
extend/alipay/aop/request/AlipayCommerceCityfacilitatorCityQueryRequest.php
Executable file
@ -0,0 +1,103 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.cityfacilitator.city.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2015-12-15 11:19:13
|
||||
*/
|
||||
class AlipayCommerceCityfacilitatorCityQueryRequest
|
||||
{
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.cityfacilitator.city.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorDepositCancelRequest.php
Executable file
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorDepositCancelRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.cityfacilitator.deposit.cancel request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2015-12-18 21:35:58
|
||||
*/
|
||||
class AlipayCommerceCityfacilitatorDepositCancelRequest
|
||||
{
|
||||
/**
|
||||
* 合作渠道可通过该接口补登扣款取消请求,以帮助支付宝将用户的资金退给用户
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.cityfacilitator.deposit.cancel";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorDepositConfirmRequest.php
Executable file
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorDepositConfirmRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.cityfacilitator.deposit.confirm request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2015-12-18 21:36:24
|
||||
*/
|
||||
class AlipayCommerceCityfacilitatorDepositConfirmRequest
|
||||
{
|
||||
/**
|
||||
* 合作渠道可通过该接口补登单笔圈存确认扣款请求,以帮助支付宝将用户的资金结算给指定的渠道,不支持单笔拆分
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.cityfacilitator.deposit.confirm";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorDepositQueryRequest.php
Executable file
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorDepositQueryRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.cityfacilitator.deposit.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2015-12-15 11:37:56
|
||||
*/
|
||||
class AlipayCommerceCityfacilitatorDepositQueryRequest
|
||||
{
|
||||
/**
|
||||
* 商户查询用户的充值转账记录
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.cityfacilitator.deposit.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorFunctionQueryRequest.php
Executable file
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorFunctionQueryRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.cityfacilitator.function.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2015-12-15 11:19:03
|
||||
*/
|
||||
class AlipayCommerceCityfacilitatorFunctionQueryRequest
|
||||
{
|
||||
/**
|
||||
* 基于设备和城市查询当前支持的功能
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.cityfacilitator.function.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorScriptQueryRequest.php
Executable file
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorScriptQueryRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.cityfacilitator.script.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2015-12-09 16:24:55
|
||||
*/
|
||||
class AlipayCommerceCityfacilitatorScriptQueryRequest
|
||||
{
|
||||
/**
|
||||
* 查询城市一卡通的判卡、读卡脚本
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.cityfacilitator.script.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorStationQueryRequest.php
Executable file
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorStationQueryRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.cityfacilitator.station.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-08-03 16:10:49
|
||||
*/
|
||||
class AlipayCommerceCityfacilitatorStationQueryRequest
|
||||
{
|
||||
/**
|
||||
* 地铁购票站点查询
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.cityfacilitator.station.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.cityfacilitator.voucher.batchquery request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-08-03 16:11:01
|
||||
*/
|
||||
class AlipayCommerceCityfacilitatorVoucherBatchqueryRequest
|
||||
{
|
||||
/**
|
||||
* 地铁购票订单批量查询
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.cityfacilitator.voucher.batchquery";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherCancelRequest.php
Executable file
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherCancelRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.cityfacilitator.voucher.cancel request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-06-21 15:07:46
|
||||
*/
|
||||
class AlipayCommerceCityfacilitatorVoucherCancelRequest
|
||||
{
|
||||
/**
|
||||
* 钱包中地铁票购票,获得核销码,线下渠道商凭核销码撤销该笔交易
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.cityfacilitator.voucher.cancel";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherConfirmRequest.php
Executable file
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherConfirmRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.cityfacilitator.voucher.confirm request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-06-21 15:08:33
|
||||
*/
|
||||
class AlipayCommerceCityfacilitatorVoucherConfirmRequest
|
||||
{
|
||||
/**
|
||||
* 钱包中地铁票购票,获得核销码,线下地铁自助购票机上凭核销码取票,购票确认
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.cityfacilitator.voucher.confirm";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.cityfacilitator.voucher.generate request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-08-03 16:10:34
|
||||
*/
|
||||
class AlipayCommerceCityfacilitatorVoucherGenerateRequest
|
||||
{
|
||||
/**
|
||||
* 地铁购票核销码发码
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.cityfacilitator.voucher.generate";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherQueryRequest.php
Executable file
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherQueryRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.cityfacilitator.voucher.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-06-21 15:04:33
|
||||
*/
|
||||
class AlipayCommerceCityfacilitatorVoucherQueryRequest
|
||||
{
|
||||
/**
|
||||
* 钱包中地铁票购票,获得核销码,线下地铁自助购票机上凭核销码取票,渠道商凭用户输入的核销码调接口查询核销码的有效性。
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.cityfacilitator.voucher.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherRefundRequest.php
Executable file
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherRefundRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.cityfacilitator.voucher.refund request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-08-03 16:10:56
|
||||
*/
|
||||
class AlipayCommerceCityfacilitatorVoucherRefundRequest
|
||||
{
|
||||
/**
|
||||
* 地铁购票发码退款
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.cityfacilitator.voucher.refund";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherUploadRequest.php
Executable file
118
extend/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherUploadRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.cityfacilitator.voucher.upload request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-06-21 15:05:13
|
||||
*/
|
||||
class AlipayCommerceCityfacilitatorVoucherUploadRequest
|
||||
{
|
||||
/**
|
||||
* 钱包中地铁票购票,获得核销码,线下地铁自助购票机上凭核销码取票,票号上传接口
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.cityfacilitator.voucher.upload";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayCommerceDataMonitordataSyncRequest.php
Executable file
118
extend/alipay/aop/request/AlipayCommerceDataMonitordataSyncRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.data.monitordata.sync request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-08-23 17:12:46
|
||||
*/
|
||||
class AlipayCommerceDataMonitordataSyncRequest
|
||||
{
|
||||
/**
|
||||
* 自助监控服务接口
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.data.monitordata.sync";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
103
extend/alipay/aop/request/AlipayCommerceEducateStudentinfoShareRequest.php
Executable file
103
extend/alipay/aop/request/AlipayCommerceEducateStudentinfoShareRequest.php
Executable file
@ -0,0 +1,103 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.educate.studentinfo.share request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-07-19 14:49:22
|
||||
*/
|
||||
class AlipayCommerceEducateStudentinfoShareRequest
|
||||
{
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.educate.studentinfo.share";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayCommerceLotteryPresentSendRequest.php
Executable file
118
extend/alipay/aop/request/AlipayCommerceLotteryPresentSendRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.lottery.present.send request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-07-24 14:37:10
|
||||
*/
|
||||
class AlipayCommerceLotteryPresentSendRequest
|
||||
{
|
||||
/**
|
||||
* 商家给用户赠送彩票,由亚博科技提供服务
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.lottery.present.send";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayCommerceLotteryPresentlistQueryRequest.php
Executable file
118
extend/alipay/aop/request/AlipayCommerceLotteryPresentlistQueryRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.lottery.presentlist.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-07-24 14:37:51
|
||||
*/
|
||||
class AlipayCommerceLotteryPresentlistQueryRequest
|
||||
{
|
||||
/**
|
||||
* 查询调用者指定时间范围内的彩票赠送列表,由亚博科技提供服务
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.lottery.presentlist.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
103
extend/alipay/aop/request/AlipayCommerceLotteryTypelistQueryRequest.php
Executable file
103
extend/alipay/aop/request/AlipayCommerceLotteryTypelistQueryRequest.php
Executable file
@ -0,0 +1,103 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.lottery.typelist.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-07-24 14:38:00
|
||||
*/
|
||||
class AlipayCommerceLotteryTypelistQueryRequest
|
||||
{
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.lottery.typelist.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayCommerceMedicalInstcardBindRequest.php
Executable file
118
extend/alipay/aop/request/AlipayCommerceMedicalInstcardBindRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.medical.instcard.bind request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-03-01 18:24:48
|
||||
*/
|
||||
class AlipayCommerceMedicalInstcardBindRequest
|
||||
{
|
||||
/**
|
||||
* 用于支付宝用户通过医院服务窗绑定当地社保卡
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.medical.instcard.bind";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
103
extend/alipay/aop/request/AlipayCommerceTransportOfflinepayKeyQueryRequest.php
Executable file
103
extend/alipay/aop/request/AlipayCommerceTransportOfflinepayKeyQueryRequest.php
Executable file
@ -0,0 +1,103 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.transport.offlinepay.key.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-05-20 21:41:51
|
||||
*/
|
||||
class AlipayCommerceTransportOfflinepayKeyQueryRequest
|
||||
{
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.transport.offlinepay.key.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.transport.offlinepay.record.verify request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-05-20 21:41:36
|
||||
*/
|
||||
class AlipayCommerceTransportOfflinepayRecordVerifyRequest
|
||||
{
|
||||
/**
|
||||
* 支付宝脱机操作信息验证
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.transport.offlinepay.record.verify";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.commerce.transport.offlinepay.userblacklist.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-05-20 21:41:42
|
||||
*/
|
||||
class AlipayCommerceTransportOfflinepayUserblacklistQueryRequest
|
||||
{
|
||||
/**
|
||||
* 脱机交易黑名单列表
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.commerce.transport.offlinepay.userblacklist.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDaoweiOrderCancelRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDaoweiOrderCancelRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.daowei.order.cancel request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-03-30 11:55:47
|
||||
*/
|
||||
class AlipayDaoweiOrderCancelRequest
|
||||
{
|
||||
/**
|
||||
* 到位订单取消
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.daowei.order.cancel";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDaoweiOrderConfirmRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDaoweiOrderConfirmRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.daowei.order.confirm request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-03-20 14:01:05
|
||||
*/
|
||||
class AlipayDaoweiOrderConfirmRequest
|
||||
{
|
||||
/**
|
||||
* 订单确认接口
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.daowei.order.confirm";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDaoweiOrderModifyRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDaoweiOrderModifyRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.daowei.order.modify request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-03-20 14:01:59
|
||||
*/
|
||||
class AlipayDaoweiOrderModifyRequest
|
||||
{
|
||||
/**
|
||||
* 服务订单修改接口
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.daowei.order.modify";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDaoweiOrderQueryRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDaoweiOrderQueryRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.daowei.order.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-03-20 14:00:38
|
||||
*/
|
||||
class AlipayDaoweiOrderQueryRequest
|
||||
{
|
||||
/**
|
||||
* 到位订单查询接口
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.daowei.order.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDaoweiOrderRefundRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDaoweiOrderRefundRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.daowei.order.refund request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-03-20 14:02:08
|
||||
*/
|
||||
class AlipayDaoweiOrderRefundRequest
|
||||
{
|
||||
/**
|
||||
* 订单退款接口
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.daowei.order.refund";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDaoweiOrderRefuseRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDaoweiOrderRefuseRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.daowei.order.refuse request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-01-16 11:30:46
|
||||
*/
|
||||
class AlipayDaoweiOrderRefuseRequest
|
||||
{
|
||||
/**
|
||||
* 到位的单笔订单拒绝接口
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.daowei.order.refuse";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDaoweiOrderSpModifyRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDaoweiOrderSpModifyRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.daowei.order.sp.modify request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-03-20 14:01:51
|
||||
*/
|
||||
class AlipayDaoweiOrderSpModifyRequest
|
||||
{
|
||||
/**
|
||||
* 订单服务者变更接口
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.daowei.order.sp.modify";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDaoweiOrderTransferRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDaoweiOrderTransferRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.daowei.order.transfer request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-03-20 14:01:26
|
||||
*/
|
||||
class AlipayDaoweiOrderTransferRequest
|
||||
{
|
||||
/**
|
||||
* 订单状态推进接口
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.daowei.order.transfer";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDaoweiServiceModifyRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDaoweiServiceModifyRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.daowei.service.modify request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-03-17 17:48:10
|
||||
*/
|
||||
class AlipayDaoweiServiceModifyRequest
|
||||
{
|
||||
/**
|
||||
* 创建或更新服务信息接口
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.daowei.service.modify";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDaoweiServicePriceModifyRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDaoweiServicePriceModifyRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.daowei.service.price.modify request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-06-12 10:29:34
|
||||
*/
|
||||
class AlipayDaoweiServicePriceModifyRequest
|
||||
{
|
||||
/**
|
||||
* 更新服务价格接口
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.daowei.service.price.modify";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDaoweiSpModifyRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDaoweiSpModifyRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.daowei.sp.modify request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-03-10 16:06:09
|
||||
*/
|
||||
class AlipayDaoweiSpModifyRequest
|
||||
{
|
||||
/**
|
||||
* 创建或更新服务者信息接口
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.daowei.sp.modify";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDaoweiSpScheduleModifyRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDaoweiSpScheduleModifyRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.daowei.sp.schedule.modify request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-03-10 16:05:46
|
||||
*/
|
||||
class AlipayDaoweiSpScheduleModifyRequest
|
||||
{
|
||||
/**
|
||||
* 更新服务者可用时间接口
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.daowei.sp.schedule.modify";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
134
extend/alipay/aop/request/AlipayDataBillDownloadurlGetRequest.php
Executable file
134
extend/alipay/aop/request/AlipayDataBillDownloadurlGetRequest.php
Executable file
@ -0,0 +1,134 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.data.bill.downloadurl.get request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-04-14 11:43:02
|
||||
*/
|
||||
class AlipayDataBillDownloadurlGetRequest
|
||||
{
|
||||
/**
|
||||
* 账单时间:日账单格式为yyyy-MM-dd,月账单格式为yyyy-MM
|
||||
**/
|
||||
private $billDate;
|
||||
|
||||
/**
|
||||
* 账单类型,目前支持的类型由:trade、air、air_b2b;trade指商户通过接口所获取的账单,或商户经开放平台授权后其所属服务商通过接口所获取的账单;air、air_b2b是航旅行业定制的账单,一般商户没有此账单;
|
||||
**/
|
||||
private $billType;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBillDate($billDate)
|
||||
{
|
||||
$this->billDate = $billDate;
|
||||
$this->apiParas["bill_date"] = $billDate;
|
||||
}
|
||||
|
||||
public function getBillDate()
|
||||
{
|
||||
return $this->billDate;
|
||||
}
|
||||
|
||||
public function setBillType($billType)
|
||||
{
|
||||
$this->billType = $billType;
|
||||
$this->apiParas["bill_type"] = $billType;
|
||||
}
|
||||
|
||||
public function getBillType()
|
||||
{
|
||||
return $this->billType;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.data.bill.downloadurl.get";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDataDataexchangeSfasdfRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDataDataexchangeSfasdfRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.data.dataexchange.sfasdf request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-03-18 20:58:13
|
||||
*/
|
||||
class AlipayDataDataexchangeSfasdfRequest
|
||||
{
|
||||
/**
|
||||
* 1232456374
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.data.dataexchange.sfasdf";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDataDataserviceBillDownloadurlQueryRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDataDataserviceBillDownloadurlQueryRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.data.dataservice.bill.downloadurl.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-09-20 16:35:20
|
||||
*/
|
||||
class AlipayDataDataserviceBillDownloadurlQueryRequest
|
||||
{
|
||||
/**
|
||||
* 无授权模式的查询对账单下载地址
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.data.dataservice.bill.downloadurl.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDataDataserviceChinaremodelQueryRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDataDataserviceChinaremodelQueryRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.data.dataservice.chinaremodel.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-06-02 14:27:15
|
||||
*/
|
||||
class AlipayDataDataserviceChinaremodelQueryRequest
|
||||
{
|
||||
/**
|
||||
* 中再核保结果查询
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.data.dataservice.chinaremodel.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDataDataserviceCodeRecoRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDataDataserviceCodeRecoRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.data.dataservice.code.reco request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-06-02 14:27:04
|
||||
*/
|
||||
class AlipayDataDataserviceCodeRecoRequest
|
||||
{
|
||||
/**
|
||||
* 改api为数立提供验证码识别服务。isv可以通过该接口,使用我们的图片识别能力。
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.data.dataservice.code.reco";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
103
extend/alipay/aop/request/AlipayDataDataserviceSdfsdfRequest.php
Executable file
103
extend/alipay/aop/request/AlipayDataDataserviceSdfsdfRequest.php
Executable file
@ -0,0 +1,103 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.data.dataservice.sdfsdf request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-03-30 20:51:14
|
||||
*/
|
||||
class AlipayDataDataserviceSdfsdfRequest
|
||||
{
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.data.dataservice.sdfsdf";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.data.dataservice.shoppingmallrec.shop.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-08-15 19:53:06
|
||||
*/
|
||||
class AlipayDataDataserviceShoppingmallrecShopQueryRequest
|
||||
{
|
||||
/**
|
||||
* 商场店铺推荐
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.data.dataservice.shoppingmallrec.shop.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.data.dataservice.shoppingmallrec.voucher.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-08-15 19:53:24
|
||||
*/
|
||||
class AlipayDataDataserviceShoppingmallrecVoucherQueryRequest
|
||||
{
|
||||
/**
|
||||
* 商场券推荐
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.data.dataservice.shoppingmallrec.voucher.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayDataDataserviceUserlevelZrankGetRequest.php
Executable file
118
extend/alipay/aop/request/AlipayDataDataserviceUserlevelZrankGetRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.data.dataservice.userlevel.zrank.get request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-06-02 14:27:08
|
||||
*/
|
||||
class AlipayDataDataserviceUserlevelZrankGetRequest
|
||||
{
|
||||
/**
|
||||
* 通用的活跃高价值用户等级,支持EMAIL,PHONE,BANKCARD,CERTNO,IMEI,MAC,TBID维度查询用户活跃高价值等级。等级从Z0-Z7,等级越高价值越高,Z0表示未实名认证或者用户信息不全。
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.data.dataservice.userlevel.zrank.get";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
326
extend/alipay/aop/request/AlipayEbppBillAddRequest.php
Executable file
326
extend/alipay/aop/request/AlipayEbppBillAddRequest.php
Executable file
@ -0,0 +1,326 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ebpp.bill.add request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-06-30 10:52:35
|
||||
*/
|
||||
class AlipayEbppBillAddRequest
|
||||
{
|
||||
/**
|
||||
* 外部订单号
|
||||
**/
|
||||
private $bankBillNo;
|
||||
|
||||
/**
|
||||
* 账单的账期,例如201203表示2012年3月的账单。
|
||||
**/
|
||||
private $billDate;
|
||||
|
||||
/**
|
||||
* 账单单据号,例如水费单号,手机号,电费号,信用卡卡号。没有唯一性要求。
|
||||
**/
|
||||
private $billKey;
|
||||
|
||||
/**
|
||||
* 支付宝给每个出账机构指定了一个对应的英文短名称来唯一表示该收费单位。
|
||||
**/
|
||||
private $chargeInst;
|
||||
|
||||
/**
|
||||
* 扩展属性
|
||||
**/
|
||||
private $extendField;
|
||||
|
||||
/**
|
||||
* 输出机构的业务流水号,需要保证唯一性
|
||||
**/
|
||||
private $merchantOrderNo;
|
||||
|
||||
/**
|
||||
* 用户的手机号
|
||||
**/
|
||||
private $mobile;
|
||||
|
||||
/**
|
||||
* 支付宝订单类型。公共事业缴纳JF,信用卡还款HK
|
||||
**/
|
||||
private $orderType;
|
||||
|
||||
/**
|
||||
* 拥有该账单的用户姓名
|
||||
**/
|
||||
private $ownerName;
|
||||
|
||||
/**
|
||||
* 缴费金额。用户支付的总金额。单位为:RMB Yuan。取值范围为[0.01,100000000.00],精确到小数点后两位。
|
||||
**/
|
||||
private $payAmount;
|
||||
|
||||
/**
|
||||
* 账单的服务费。
|
||||
**/
|
||||
private $serviceAmount;
|
||||
|
||||
/**
|
||||
* 子业务类型是业务类型的下一级概念,例如:WATER表示JF下面的水费,ELECTRIC表示JF下面的电费,GAS表示JF下面的燃气费。
|
||||
**/
|
||||
private $subOrderType;
|
||||
|
||||
/**
|
||||
* 交通违章地点,sub_order_type=TRAFFIC时填写。
|
||||
**/
|
||||
private $trafficLocation;
|
||||
|
||||
/**
|
||||
* 违章行为,sub_order_type=TRAFFIC时填写。
|
||||
**/
|
||||
private $trafficRegulations;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBankBillNo($bankBillNo)
|
||||
{
|
||||
$this->bankBillNo = $bankBillNo;
|
||||
$this->apiParas["bank_bill_no"] = $bankBillNo;
|
||||
}
|
||||
|
||||
public function getBankBillNo()
|
||||
{
|
||||
return $this->bankBillNo;
|
||||
}
|
||||
|
||||
public function setBillDate($billDate)
|
||||
{
|
||||
$this->billDate = $billDate;
|
||||
$this->apiParas["bill_date"] = $billDate;
|
||||
}
|
||||
|
||||
public function getBillDate()
|
||||
{
|
||||
return $this->billDate;
|
||||
}
|
||||
|
||||
public function setBillKey($billKey)
|
||||
{
|
||||
$this->billKey = $billKey;
|
||||
$this->apiParas["bill_key"] = $billKey;
|
||||
}
|
||||
|
||||
public function getBillKey()
|
||||
{
|
||||
return $this->billKey;
|
||||
}
|
||||
|
||||
public function setChargeInst($chargeInst)
|
||||
{
|
||||
$this->chargeInst = $chargeInst;
|
||||
$this->apiParas["charge_inst"] = $chargeInst;
|
||||
}
|
||||
|
||||
public function getChargeInst()
|
||||
{
|
||||
return $this->chargeInst;
|
||||
}
|
||||
|
||||
public function setExtendField($extendField)
|
||||
{
|
||||
$this->extendField = $extendField;
|
||||
$this->apiParas["extend_field"] = $extendField;
|
||||
}
|
||||
|
||||
public function getExtendField()
|
||||
{
|
||||
return $this->extendField;
|
||||
}
|
||||
|
||||
public function setMerchantOrderNo($merchantOrderNo)
|
||||
{
|
||||
$this->merchantOrderNo = $merchantOrderNo;
|
||||
$this->apiParas["merchant_order_no"] = $merchantOrderNo;
|
||||
}
|
||||
|
||||
public function getMerchantOrderNo()
|
||||
{
|
||||
return $this->merchantOrderNo;
|
||||
}
|
||||
|
||||
public function setMobile($mobile)
|
||||
{
|
||||
$this->mobile = $mobile;
|
||||
$this->apiParas["mobile"] = $mobile;
|
||||
}
|
||||
|
||||
public function getMobile()
|
||||
{
|
||||
return $this->mobile;
|
||||
}
|
||||
|
||||
public function setOrderType($orderType)
|
||||
{
|
||||
$this->orderType = $orderType;
|
||||
$this->apiParas["order_type"] = $orderType;
|
||||
}
|
||||
|
||||
public function getOrderType()
|
||||
{
|
||||
return $this->orderType;
|
||||
}
|
||||
|
||||
public function setOwnerName($ownerName)
|
||||
{
|
||||
$this->ownerName = $ownerName;
|
||||
$this->apiParas["owner_name"] = $ownerName;
|
||||
}
|
||||
|
||||
public function getOwnerName()
|
||||
{
|
||||
return $this->ownerName;
|
||||
}
|
||||
|
||||
public function setPayAmount($payAmount)
|
||||
{
|
||||
$this->payAmount = $payAmount;
|
||||
$this->apiParas["pay_amount"] = $payAmount;
|
||||
}
|
||||
|
||||
public function getPayAmount()
|
||||
{
|
||||
return $this->payAmount;
|
||||
}
|
||||
|
||||
public function setServiceAmount($serviceAmount)
|
||||
{
|
||||
$this->serviceAmount = $serviceAmount;
|
||||
$this->apiParas["service_amount"] = $serviceAmount;
|
||||
}
|
||||
|
||||
public function getServiceAmount()
|
||||
{
|
||||
return $this->serviceAmount;
|
||||
}
|
||||
|
||||
public function setSubOrderType($subOrderType)
|
||||
{
|
||||
$this->subOrderType = $subOrderType;
|
||||
$this->apiParas["sub_order_type"] = $subOrderType;
|
||||
}
|
||||
|
||||
public function getSubOrderType()
|
||||
{
|
||||
return $this->subOrderType;
|
||||
}
|
||||
|
||||
public function setTrafficLocation($trafficLocation)
|
||||
{
|
||||
$this->trafficLocation = $trafficLocation;
|
||||
$this->apiParas["traffic_location"] = $trafficLocation;
|
||||
}
|
||||
|
||||
public function getTrafficLocation()
|
||||
{
|
||||
return $this->trafficLocation;
|
||||
}
|
||||
|
||||
public function setTrafficRegulations($trafficRegulations)
|
||||
{
|
||||
$this->trafficRegulations = $trafficRegulations;
|
||||
$this->apiParas["traffic_regulations"] = $trafficRegulations;
|
||||
}
|
||||
|
||||
public function getTrafficRegulations()
|
||||
{
|
||||
return $this->trafficRegulations;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ebpp.bill.add";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
150
extend/alipay/aop/request/AlipayEbppBillBatchPayurlGetRequest.php
Executable file
150
extend/alipay/aop/request/AlipayEbppBillBatchPayurlGetRequest.php
Executable file
@ -0,0 +1,150 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ebpp.bill.batch.payurl.get request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-10-31 19:40:07
|
||||
*/
|
||||
class AlipayEbppBillBatchPayurlGetRequest
|
||||
{
|
||||
/**
|
||||
* 回调系统url
|
||||
**/
|
||||
private $callbackUrl;
|
||||
|
||||
/**
|
||||
* 订单类型
|
||||
**/
|
||||
private $orderType;
|
||||
|
||||
/**
|
||||
* alipayOrderNo-merchantOrderNo即业务流水号和业务订单号
|
||||
**/
|
||||
private $payBillList;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setCallbackUrl($callbackUrl)
|
||||
{
|
||||
$this->callbackUrl = $callbackUrl;
|
||||
$this->apiParas["callback_url"] = $callbackUrl;
|
||||
}
|
||||
|
||||
public function getCallbackUrl()
|
||||
{
|
||||
return $this->callbackUrl;
|
||||
}
|
||||
|
||||
public function setOrderType($orderType)
|
||||
{
|
||||
$this->orderType = $orderType;
|
||||
$this->apiParas["order_type"] = $orderType;
|
||||
}
|
||||
|
||||
public function getOrderType()
|
||||
{
|
||||
return $this->orderType;
|
||||
}
|
||||
|
||||
public function setPayBillList($payBillList)
|
||||
{
|
||||
$this->payBillList = $payBillList;
|
||||
$this->apiParas["pay_bill_list"] = $payBillList;
|
||||
}
|
||||
|
||||
public function getPayBillList()
|
||||
{
|
||||
return $this->payBillList;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ebpp.bill.batch.payurl.get";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
134
extend/alipay/aop/request/AlipayEbppBillGetRequest.php
Executable file
134
extend/alipay/aop/request/AlipayEbppBillGetRequest.php
Executable file
@ -0,0 +1,134 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ebpp.bill.get request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-06-30 10:54:34
|
||||
*/
|
||||
class AlipayEbppBillGetRequest
|
||||
{
|
||||
/**
|
||||
* 输出机构的业务流水号,需要保证唯一性。
|
||||
**/
|
||||
private $merchantOrderNo;
|
||||
|
||||
/**
|
||||
* 支付宝订单类型。公共事业缴纳JF,信用卡还款HK
|
||||
**/
|
||||
private $orderType;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setMerchantOrderNo($merchantOrderNo)
|
||||
{
|
||||
$this->merchantOrderNo = $merchantOrderNo;
|
||||
$this->apiParas["merchant_order_no"] = $merchantOrderNo;
|
||||
}
|
||||
|
||||
public function getMerchantOrderNo()
|
||||
{
|
||||
return $this->merchantOrderNo;
|
||||
}
|
||||
|
||||
public function setOrderType($orderType)
|
||||
{
|
||||
$this->orderType = $orderType;
|
||||
$this->apiParas["order_type"] = $orderType;
|
||||
}
|
||||
|
||||
public function getOrderType()
|
||||
{
|
||||
return $this->orderType;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ebpp.bill.get";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
182
extend/alipay/aop/request/AlipayEbppBillPayRequest.php
Executable file
182
extend/alipay/aop/request/AlipayEbppBillPayRequest.php
Executable file
@ -0,0 +1,182 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ebpp.bill.pay request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-10-31 11:11:02
|
||||
*/
|
||||
class AlipayEbppBillPayRequest
|
||||
{
|
||||
/**
|
||||
* 支付宝的业务订单号,具有唯一性。
|
||||
**/
|
||||
private $alipayOrderNo;
|
||||
|
||||
/**
|
||||
* openapi的spanner上增加规则转发到pcimapi集群上
|
||||
**/
|
||||
private $dispatchClusterTarget;
|
||||
|
||||
/**
|
||||
* 扩展字段
|
||||
**/
|
||||
private $extend;
|
||||
|
||||
/**
|
||||
* 输出机构的业务流水号,需要保证唯一性。
|
||||
**/
|
||||
private $merchantOrderNo;
|
||||
|
||||
/**
|
||||
* 支付宝订单类型。公共事业缴纳JF,信用卡还款HK
|
||||
**/
|
||||
private $orderType;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setAlipayOrderNo($alipayOrderNo)
|
||||
{
|
||||
$this->alipayOrderNo = $alipayOrderNo;
|
||||
$this->apiParas["alipay_order_no"] = $alipayOrderNo;
|
||||
}
|
||||
|
||||
public function getAlipayOrderNo()
|
||||
{
|
||||
return $this->alipayOrderNo;
|
||||
}
|
||||
|
||||
public function setDispatchClusterTarget($dispatchClusterTarget)
|
||||
{
|
||||
$this->dispatchClusterTarget = $dispatchClusterTarget;
|
||||
$this->apiParas["dispatch_cluster_target"] = $dispatchClusterTarget;
|
||||
}
|
||||
|
||||
public function getDispatchClusterTarget()
|
||||
{
|
||||
return $this->dispatchClusterTarget;
|
||||
}
|
||||
|
||||
public function setExtend($extend)
|
||||
{
|
||||
$this->extend = $extend;
|
||||
$this->apiParas["extend"] = $extend;
|
||||
}
|
||||
|
||||
public function getExtend()
|
||||
{
|
||||
return $this->extend;
|
||||
}
|
||||
|
||||
public function setMerchantOrderNo($merchantOrderNo)
|
||||
{
|
||||
$this->merchantOrderNo = $merchantOrderNo;
|
||||
$this->apiParas["merchant_order_no"] = $merchantOrderNo;
|
||||
}
|
||||
|
||||
public function getMerchantOrderNo()
|
||||
{
|
||||
return $this->merchantOrderNo;
|
||||
}
|
||||
|
||||
public function setOrderType($orderType)
|
||||
{
|
||||
$this->orderType = $orderType;
|
||||
$this->apiParas["order_type"] = $orderType;
|
||||
}
|
||||
|
||||
public function getOrderType()
|
||||
{
|
||||
return $this->orderType;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ebpp.bill.pay";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
166
extend/alipay/aop/request/AlipayEbppBillPayurlGetRequest.php
Executable file
166
extend/alipay/aop/request/AlipayEbppBillPayurlGetRequest.php
Executable file
@ -0,0 +1,166 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ebpp.bill.payurl.get request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-10-31 11:11:08
|
||||
*/
|
||||
class AlipayEbppBillPayurlGetRequest
|
||||
{
|
||||
/**
|
||||
* 支付宝的业务订单号,具有唯一性。
|
||||
**/
|
||||
private $alipayOrderNo;
|
||||
|
||||
/**
|
||||
* 回调系统url
|
||||
**/
|
||||
private $callbackUrl;
|
||||
|
||||
/**
|
||||
* 输出机构的业务流水号,需要保证唯一性。
|
||||
**/
|
||||
private $merchantOrderNo;
|
||||
|
||||
/**
|
||||
* 支付宝订单类型。公共事业缴纳JF,信用卡还款HK。
|
||||
**/
|
||||
private $orderType;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setAlipayOrderNo($alipayOrderNo)
|
||||
{
|
||||
$this->alipayOrderNo = $alipayOrderNo;
|
||||
$this->apiParas["alipay_order_no"] = $alipayOrderNo;
|
||||
}
|
||||
|
||||
public function getAlipayOrderNo()
|
||||
{
|
||||
return $this->alipayOrderNo;
|
||||
}
|
||||
|
||||
public function setCallbackUrl($callbackUrl)
|
||||
{
|
||||
$this->callbackUrl = $callbackUrl;
|
||||
$this->apiParas["callback_url"] = $callbackUrl;
|
||||
}
|
||||
|
||||
public function getCallbackUrl()
|
||||
{
|
||||
return $this->callbackUrl;
|
||||
}
|
||||
|
||||
public function setMerchantOrderNo($merchantOrderNo)
|
||||
{
|
||||
$this->merchantOrderNo = $merchantOrderNo;
|
||||
$this->apiParas["merchant_order_no"] = $merchantOrderNo;
|
||||
}
|
||||
|
||||
public function getMerchantOrderNo()
|
||||
{
|
||||
return $this->merchantOrderNo;
|
||||
}
|
||||
|
||||
public function setOrderType($orderType)
|
||||
{
|
||||
$this->orderType = $orderType;
|
||||
$this->apiParas["order_type"] = $orderType;
|
||||
}
|
||||
|
||||
public function getOrderType()
|
||||
{
|
||||
return $this->orderType;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ebpp.bill.payurl.get";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
215
extend/alipay/aop/request/AlipayEbppBillSearchRequest.php
Executable file
215
extend/alipay/aop/request/AlipayEbppBillSearchRequest.php
Executable file
@ -0,0 +1,215 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ebpp.bill.search request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-04-07 17:13:40
|
||||
*/
|
||||
class AlipayEbppBillSearchRequest
|
||||
{
|
||||
/**
|
||||
* 账单流水
|
||||
**/
|
||||
private $billKey;
|
||||
|
||||
/**
|
||||
* 出账机构
|
||||
**/
|
||||
private $chargeInst;
|
||||
|
||||
/**
|
||||
* 销账机构
|
||||
**/
|
||||
private $chargeoffInst;
|
||||
|
||||
/**
|
||||
* 销账机构给出账机构分配的id
|
||||
**/
|
||||
private $companyId;
|
||||
|
||||
/**
|
||||
* 必须以key value形式定义,转为json为格式:{"key1":"value1","key2":"value2","key3":"value3","key4":"value4"}
|
||||
后端会直接转换为MAP对象,转换异常会报参数格式错误
|
||||
**/
|
||||
private $extend;
|
||||
|
||||
/**
|
||||
* 业务类型
|
||||
**/
|
||||
private $orderType;
|
||||
|
||||
/**
|
||||
* 子业务类型
|
||||
**/
|
||||
private $subOrderType;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBillKey($billKey)
|
||||
{
|
||||
$this->billKey = $billKey;
|
||||
$this->apiParas["bill_key"] = $billKey;
|
||||
}
|
||||
|
||||
public function getBillKey()
|
||||
{
|
||||
return $this->billKey;
|
||||
}
|
||||
|
||||
public function setChargeInst($chargeInst)
|
||||
{
|
||||
$this->chargeInst = $chargeInst;
|
||||
$this->apiParas["charge_inst"] = $chargeInst;
|
||||
}
|
||||
|
||||
public function getChargeInst()
|
||||
{
|
||||
return $this->chargeInst;
|
||||
}
|
||||
|
||||
public function setChargeoffInst($chargeoffInst)
|
||||
{
|
||||
$this->chargeoffInst = $chargeoffInst;
|
||||
$this->apiParas["chargeoff_inst"] = $chargeoffInst;
|
||||
}
|
||||
|
||||
public function getChargeoffInst()
|
||||
{
|
||||
return $this->chargeoffInst;
|
||||
}
|
||||
|
||||
public function setCompanyId($companyId)
|
||||
{
|
||||
$this->companyId = $companyId;
|
||||
$this->apiParas["company_id"] = $companyId;
|
||||
}
|
||||
|
||||
public function getCompanyId()
|
||||
{
|
||||
return $this->companyId;
|
||||
}
|
||||
|
||||
public function setExtend($extend)
|
||||
{
|
||||
$this->extend = $extend;
|
||||
$this->apiParas["extend"] = $extend;
|
||||
}
|
||||
|
||||
public function getExtend()
|
||||
{
|
||||
return $this->extend;
|
||||
}
|
||||
|
||||
public function setOrderType($orderType)
|
||||
{
|
||||
$this->orderType = $orderType;
|
||||
$this->apiParas["order_type"] = $orderType;
|
||||
}
|
||||
|
||||
public function getOrderType()
|
||||
{
|
||||
return $this->orderType;
|
||||
}
|
||||
|
||||
public function setSubOrderType($subOrderType)
|
||||
{
|
||||
$this->subOrderType = $subOrderType;
|
||||
$this->apiParas["sub_order_type"] = $subOrderType;
|
||||
}
|
||||
|
||||
public function getSubOrderType()
|
||||
{
|
||||
return $this->subOrderType;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ebpp.bill.search";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayEbppInvoiceTitleListGetRequest.php
Executable file
118
extend/alipay/aop/request/AlipayEbppInvoiceTitleListGetRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ebpp.invoice.title.list.get request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-06-07 16:47:33
|
||||
*/
|
||||
class AlipayEbppInvoiceTitleListGetRequest
|
||||
{
|
||||
/**
|
||||
* 蚂蚁电子发票平台用户发票抬头列表获取
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ebpp.invoice.title.list.get";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
103
extend/alipay/aop/request/AlipayEbppMerchantConfigGetRequest.php
Executable file
103
extend/alipay/aop/request/AlipayEbppMerchantConfigGetRequest.php
Executable file
@ -0,0 +1,103 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ebpp.merchant.config.get request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-04-07 17:12:49
|
||||
*/
|
||||
class AlipayEbppMerchantConfigGetRequest
|
||||
{
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ebpp.merchant.config.get";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
134
extend/alipay/aop/request/AlipayEbppPdeductBillPayStatusRequest.php
Executable file
134
extend/alipay/aop/request/AlipayEbppPdeductBillPayStatusRequest.php
Executable file
@ -0,0 +1,134 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ebpp.pdeduct.bill.pay.status request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-08-04 11:19:05
|
||||
*/
|
||||
class AlipayEbppPdeductBillPayStatusRequest
|
||||
{
|
||||
/**
|
||||
* 支付宝用户ID
|
||||
**/
|
||||
private $agreementId;
|
||||
|
||||
/**
|
||||
* 商户代扣业务流水
|
||||
**/
|
||||
private $outOrderNo;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setAgreementId($agreementId)
|
||||
{
|
||||
$this->agreementId = $agreementId;
|
||||
$this->apiParas["agreement_id"] = $agreementId;
|
||||
}
|
||||
|
||||
public function getAgreementId()
|
||||
{
|
||||
return $this->agreementId;
|
||||
}
|
||||
|
||||
public function setOutOrderNo($outOrderNo)
|
||||
{
|
||||
$this->outOrderNo = $outOrderNo;
|
||||
$this->apiParas["out_order_no"] = $outOrderNo;
|
||||
}
|
||||
|
||||
public function getOutOrderNo()
|
||||
{
|
||||
return $this->outOrderNo;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ebpp.pdeduct.bill.pay.status";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
297
extend/alipay/aop/request/AlipayEbppPdeductPayRequest.php
Executable file
297
extend/alipay/aop/request/AlipayEbppPdeductPayRequest.php
Executable file
@ -0,0 +1,297 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ebpp.pdeduct.pay request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-04-07 16:45:48
|
||||
*/
|
||||
class AlipayEbppPdeductPayRequest
|
||||
{
|
||||
/**
|
||||
* 渠道码,如用户通过机构通过服务窗进来签约则是PUBLICFORM,此值可随意传,只要不空就行
|
||||
**/
|
||||
private $agentChannel;
|
||||
|
||||
/**
|
||||
* 二级渠道码,预留字段
|
||||
**/
|
||||
private $agentCode;
|
||||
|
||||
/**
|
||||
* 支付宝代扣协议Id
|
||||
**/
|
||||
private $agreementId;
|
||||
|
||||
/**
|
||||
* 账期
|
||||
**/
|
||||
private $billDate;
|
||||
|
||||
/**
|
||||
* 户号,缴费单位用于标识每一户的唯一性的
|
||||
**/
|
||||
private $billKey;
|
||||
|
||||
/**
|
||||
* 扩展参数。必须以key value形式定义,
|
||||
转为json为格式:{"key1":"value1","key2":"value2",
|
||||
"key3":"value3","key4":"value4"}
|
||||
后端会直接转换为MAP对象,转换异常会报参数格式错误
|
||||
**/
|
||||
private $extendField;
|
||||
|
||||
/**
|
||||
* 滞纳金
|
||||
**/
|
||||
private $fineAmount;
|
||||
|
||||
/**
|
||||
* 备注信息
|
||||
**/
|
||||
private $memo;
|
||||
|
||||
/**
|
||||
* 商户外部业务流水号
|
||||
**/
|
||||
private $outOrderNo;
|
||||
|
||||
/**
|
||||
* 扣款金额,支付总金额,包含滞纳金
|
||||
**/
|
||||
private $payAmount;
|
||||
|
||||
/**
|
||||
* 商户PartnerId
|
||||
**/
|
||||
private $pid;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
**/
|
||||
private $userId;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setAgentChannel($agentChannel)
|
||||
{
|
||||
$this->agentChannel = $agentChannel;
|
||||
$this->apiParas["agent_channel"] = $agentChannel;
|
||||
}
|
||||
|
||||
public function getAgentChannel()
|
||||
{
|
||||
return $this->agentChannel;
|
||||
}
|
||||
|
||||
public function setAgentCode($agentCode)
|
||||
{
|
||||
$this->agentCode = $agentCode;
|
||||
$this->apiParas["agent_code"] = $agentCode;
|
||||
}
|
||||
|
||||
public function getAgentCode()
|
||||
{
|
||||
return $this->agentCode;
|
||||
}
|
||||
|
||||
public function setAgreementId($agreementId)
|
||||
{
|
||||
$this->agreementId = $agreementId;
|
||||
$this->apiParas["agreement_id"] = $agreementId;
|
||||
}
|
||||
|
||||
public function getAgreementId()
|
||||
{
|
||||
return $this->agreementId;
|
||||
}
|
||||
|
||||
public function setBillDate($billDate)
|
||||
{
|
||||
$this->billDate = $billDate;
|
||||
$this->apiParas["bill_date"] = $billDate;
|
||||
}
|
||||
|
||||
public function getBillDate()
|
||||
{
|
||||
return $this->billDate;
|
||||
}
|
||||
|
||||
public function setBillKey($billKey)
|
||||
{
|
||||
$this->billKey = $billKey;
|
||||
$this->apiParas["bill_key"] = $billKey;
|
||||
}
|
||||
|
||||
public function getBillKey()
|
||||
{
|
||||
return $this->billKey;
|
||||
}
|
||||
|
||||
public function setExtendField($extendField)
|
||||
{
|
||||
$this->extendField = $extendField;
|
||||
$this->apiParas["extend_field"] = $extendField;
|
||||
}
|
||||
|
||||
public function getExtendField()
|
||||
{
|
||||
return $this->extendField;
|
||||
}
|
||||
|
||||
public function setFineAmount($fineAmount)
|
||||
{
|
||||
$this->fineAmount = $fineAmount;
|
||||
$this->apiParas["fine_amount"] = $fineAmount;
|
||||
}
|
||||
|
||||
public function getFineAmount()
|
||||
{
|
||||
return $this->fineAmount;
|
||||
}
|
||||
|
||||
public function setMemo($memo)
|
||||
{
|
||||
$this->memo = $memo;
|
||||
$this->apiParas["memo"] = $memo;
|
||||
}
|
||||
|
||||
public function getMemo()
|
||||
{
|
||||
return $this->memo;
|
||||
}
|
||||
|
||||
public function setOutOrderNo($outOrderNo)
|
||||
{
|
||||
$this->outOrderNo = $outOrderNo;
|
||||
$this->apiParas["out_order_no"] = $outOrderNo;
|
||||
}
|
||||
|
||||
public function getOutOrderNo()
|
||||
{
|
||||
return $this->outOrderNo;
|
||||
}
|
||||
|
||||
public function setPayAmount($payAmount)
|
||||
{
|
||||
$this->payAmount = $payAmount;
|
||||
$this->apiParas["pay_amount"] = $payAmount;
|
||||
}
|
||||
|
||||
public function getPayAmount()
|
||||
{
|
||||
return $this->payAmount;
|
||||
}
|
||||
|
||||
public function setPid($pid)
|
||||
{
|
||||
$this->pid = $pid;
|
||||
$this->apiParas["pid"] = $pid;
|
||||
}
|
||||
|
||||
public function getPid()
|
||||
{
|
||||
return $this->pid;
|
||||
}
|
||||
|
||||
public function setUserId($userId)
|
||||
{
|
||||
$this->userId = $userId;
|
||||
$this->apiParas["user_id"] = $userId;
|
||||
}
|
||||
|
||||
public function getUserId()
|
||||
{
|
||||
return $this->userId;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ebpp.pdeduct.pay";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
372
extend/alipay/aop/request/AlipayEbppPdeductSignAddRequest.php
Executable file
372
extend/alipay/aop/request/AlipayEbppPdeductSignAddRequest.php
Executable file
@ -0,0 +1,372 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ebpp.pdeduct.sign.add request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-08-24 20:38:44
|
||||
*/
|
||||
class AlipayEbppPdeductSignAddRequest
|
||||
{
|
||||
/**
|
||||
* 机构签约代扣来源渠道
|
||||
PUBLICPLATFORM:服务窗
|
||||
**/
|
||||
private $agentChannel;
|
||||
|
||||
/**
|
||||
* 从服务窗发起则为publicId的值
|
||||
**/
|
||||
private $agentCode;
|
||||
|
||||
/**
|
||||
* 户号,机构针对于每户的水、电都会有唯一的标识户号
|
||||
**/
|
||||
private $billKey;
|
||||
|
||||
/**
|
||||
* 业务类型。
|
||||
JF:缴水、电、燃气、固话宽带、有线电视、交通罚款费用
|
||||
WUYE:缴物业费
|
||||
HK:信用卡还款
|
||||
TX:手机充值
|
||||
**/
|
||||
private $bizType;
|
||||
|
||||
/**
|
||||
* 支付宝缴费系统中的出账机构ID
|
||||
**/
|
||||
private $chargeInst;
|
||||
|
||||
/**
|
||||
* 签约类型可为空
|
||||
**/
|
||||
private $deductType;
|
||||
|
||||
/**
|
||||
* 扩展字段
|
||||
**/
|
||||
private $extendField;
|
||||
|
||||
/**
|
||||
* 通知方式设置,可为空
|
||||
**/
|
||||
private $notifyConfig;
|
||||
|
||||
/**
|
||||
* 外部产生的协议ID
|
||||
**/
|
||||
private $outAgreementId;
|
||||
|
||||
/**
|
||||
* 户名,户主真实姓名
|
||||
**/
|
||||
private $ownerName;
|
||||
|
||||
/**
|
||||
* 支付工具设置,目前可为空
|
||||
**/
|
||||
private $payConfig;
|
||||
|
||||
/**
|
||||
* 用户签约时,跳转到支付宝独立密码校验页面,校验成功后会将token和对应的用户ID缓存下来,然后跳回到机构页面生成token带回给机构,机构签约时必须传入token
|
||||
**/
|
||||
private $payPasswordToken;
|
||||
|
||||
/**
|
||||
* 商户ID
|
||||
**/
|
||||
private $pid;
|
||||
|
||||
/**
|
||||
* 签约到期时间。空表示无限期,一期固定传空。
|
||||
**/
|
||||
private $signExpireDate;
|
||||
|
||||
/**
|
||||
* 业务子类型。
|
||||
WATER:缴水费
|
||||
ELECTRIC:缴电费
|
||||
GAS:缴燃气费
|
||||
COMMUN:缴固话宽带
|
||||
CATV:缴有线电视费
|
||||
TRAFFIC:缴交通罚款
|
||||
WUYE:缴物业费
|
||||
HK:信用卡还款
|
||||
CZ:手机充值
|
||||
**/
|
||||
private $subBizType;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
**/
|
||||
private $userId;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setAgentChannel($agentChannel)
|
||||
{
|
||||
$this->agentChannel = $agentChannel;
|
||||
$this->apiParas["agent_channel"] = $agentChannel;
|
||||
}
|
||||
|
||||
public function getAgentChannel()
|
||||
{
|
||||
return $this->agentChannel;
|
||||
}
|
||||
|
||||
public function setAgentCode($agentCode)
|
||||
{
|
||||
$this->agentCode = $agentCode;
|
||||
$this->apiParas["agent_code"] = $agentCode;
|
||||
}
|
||||
|
||||
public function getAgentCode()
|
||||
{
|
||||
return $this->agentCode;
|
||||
}
|
||||
|
||||
public function setBillKey($billKey)
|
||||
{
|
||||
$this->billKey = $billKey;
|
||||
$this->apiParas["bill_key"] = $billKey;
|
||||
}
|
||||
|
||||
public function getBillKey()
|
||||
{
|
||||
return $this->billKey;
|
||||
}
|
||||
|
||||
public function setBizType($bizType)
|
||||
{
|
||||
$this->bizType = $bizType;
|
||||
$this->apiParas["biz_type"] = $bizType;
|
||||
}
|
||||
|
||||
public function getBizType()
|
||||
{
|
||||
return $this->bizType;
|
||||
}
|
||||
|
||||
public function setChargeInst($chargeInst)
|
||||
{
|
||||
$this->chargeInst = $chargeInst;
|
||||
$this->apiParas["charge_inst"] = $chargeInst;
|
||||
}
|
||||
|
||||
public function getChargeInst()
|
||||
{
|
||||
return $this->chargeInst;
|
||||
}
|
||||
|
||||
public function setDeductType($deductType)
|
||||
{
|
||||
$this->deductType = $deductType;
|
||||
$this->apiParas["deduct_type"] = $deductType;
|
||||
}
|
||||
|
||||
public function getDeductType()
|
||||
{
|
||||
return $this->deductType;
|
||||
}
|
||||
|
||||
public function setExtendField($extendField)
|
||||
{
|
||||
$this->extendField = $extendField;
|
||||
$this->apiParas["extend_field"] = $extendField;
|
||||
}
|
||||
|
||||
public function getExtendField()
|
||||
{
|
||||
return $this->extendField;
|
||||
}
|
||||
|
||||
public function setNotifyConfig($notifyConfig)
|
||||
{
|
||||
$this->notifyConfig = $notifyConfig;
|
||||
$this->apiParas["notify_config"] = $notifyConfig;
|
||||
}
|
||||
|
||||
public function getNotifyConfig()
|
||||
{
|
||||
return $this->notifyConfig;
|
||||
}
|
||||
|
||||
public function setOutAgreementId($outAgreementId)
|
||||
{
|
||||
$this->outAgreementId = $outAgreementId;
|
||||
$this->apiParas["out_agreement_id"] = $outAgreementId;
|
||||
}
|
||||
|
||||
public function getOutAgreementId()
|
||||
{
|
||||
return $this->outAgreementId;
|
||||
}
|
||||
|
||||
public function setOwnerName($ownerName)
|
||||
{
|
||||
$this->ownerName = $ownerName;
|
||||
$this->apiParas["owner_name"] = $ownerName;
|
||||
}
|
||||
|
||||
public function getOwnerName()
|
||||
{
|
||||
return $this->ownerName;
|
||||
}
|
||||
|
||||
public function setPayConfig($payConfig)
|
||||
{
|
||||
$this->payConfig = $payConfig;
|
||||
$this->apiParas["pay_config"] = $payConfig;
|
||||
}
|
||||
|
||||
public function getPayConfig()
|
||||
{
|
||||
return $this->payConfig;
|
||||
}
|
||||
|
||||
public function setPayPasswordToken($payPasswordToken)
|
||||
{
|
||||
$this->payPasswordToken = $payPasswordToken;
|
||||
$this->apiParas["pay_password_token"] = $payPasswordToken;
|
||||
}
|
||||
|
||||
public function getPayPasswordToken()
|
||||
{
|
||||
return $this->payPasswordToken;
|
||||
}
|
||||
|
||||
public function setPid($pid)
|
||||
{
|
||||
$this->pid = $pid;
|
||||
$this->apiParas["pid"] = $pid;
|
||||
}
|
||||
|
||||
public function getPid()
|
||||
{
|
||||
return $this->pid;
|
||||
}
|
||||
|
||||
public function setSignExpireDate($signExpireDate)
|
||||
{
|
||||
$this->signExpireDate = $signExpireDate;
|
||||
$this->apiParas["sign_expire_date"] = $signExpireDate;
|
||||
}
|
||||
|
||||
public function getSignExpireDate()
|
||||
{
|
||||
return $this->signExpireDate;
|
||||
}
|
||||
|
||||
public function setSubBizType($subBizType)
|
||||
{
|
||||
$this->subBizType = $subBizType;
|
||||
$this->apiParas["sub_biz_type"] = $subBizType;
|
||||
}
|
||||
|
||||
public function getSubBizType()
|
||||
{
|
||||
return $this->subBizType;
|
||||
}
|
||||
|
||||
public function setUserId($userId)
|
||||
{
|
||||
$this->userId = $userId;
|
||||
$this->apiParas["user_id"] = $userId;
|
||||
}
|
||||
|
||||
public function getUserId()
|
||||
{
|
||||
return $this->userId;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ebpp.pdeduct.sign.add";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
182
extend/alipay/aop/request/AlipayEbppPdeductSignCancelRequest.php
Executable file
182
extend/alipay/aop/request/AlipayEbppPdeductSignCancelRequest.php
Executable file
@ -0,0 +1,182 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ebpp.pdeduct.sign.cancel request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-08-04 11:19:20
|
||||
*/
|
||||
class AlipayEbppPdeductSignCancelRequest
|
||||
{
|
||||
/**
|
||||
* 此值只是供代扣中心做最后的渠道统计用,并不做值是什么的强校验,只要不为空就可以
|
||||
**/
|
||||
private $agentChannel;
|
||||
|
||||
/**
|
||||
* 标识发起方的ID,从服务窗发起则为appId的值,appId即开放平台分配给接入ISV的id,此处也可以随便真其它值,只要能标识唯一即可
|
||||
**/
|
||||
private $agentCode;
|
||||
|
||||
/**
|
||||
* 支付宝代扣协议ID
|
||||
**/
|
||||
private $agreementId;
|
||||
|
||||
/**
|
||||
* 需要用户首先处于登陆态,然后访问https://ebppprod.alipay.com/deduct/enterMobileicPayPassword.htm?cb=自己指定的回跳连接地址,访问页面后会进到独立密码校验页,用户输入密码校验成功后,会生成token回调到指定的回跳地址,如果设置cb=www.baidu.com则最后回调的内容是www.baidu.com?token=312314ADFDSFAS,然后签约时直接取得地址后token的值即可
|
||||
**/
|
||||
private $payPasswordToken;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
**/
|
||||
private $userId;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setAgentChannel($agentChannel)
|
||||
{
|
||||
$this->agentChannel = $agentChannel;
|
||||
$this->apiParas["agent_channel"] = $agentChannel;
|
||||
}
|
||||
|
||||
public function getAgentChannel()
|
||||
{
|
||||
return $this->agentChannel;
|
||||
}
|
||||
|
||||
public function setAgentCode($agentCode)
|
||||
{
|
||||
$this->agentCode = $agentCode;
|
||||
$this->apiParas["agent_code"] = $agentCode;
|
||||
}
|
||||
|
||||
public function getAgentCode()
|
||||
{
|
||||
return $this->agentCode;
|
||||
}
|
||||
|
||||
public function setAgreementId($agreementId)
|
||||
{
|
||||
$this->agreementId = $agreementId;
|
||||
$this->apiParas["agreement_id"] = $agreementId;
|
||||
}
|
||||
|
||||
public function getAgreementId()
|
||||
{
|
||||
return $this->agreementId;
|
||||
}
|
||||
|
||||
public function setPayPasswordToken($payPasswordToken)
|
||||
{
|
||||
$this->payPasswordToken = $payPasswordToken;
|
||||
$this->apiParas["pay_password_token"] = $payPasswordToken;
|
||||
}
|
||||
|
||||
public function getPayPasswordToken()
|
||||
{
|
||||
return $this->payPasswordToken;
|
||||
}
|
||||
|
||||
public function setUserId($userId)
|
||||
{
|
||||
$this->userId = $userId;
|
||||
$this->apiParas["user_id"] = $userId;
|
||||
}
|
||||
|
||||
public function getUserId()
|
||||
{
|
||||
return $this->userId;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ebpp.pdeduct.sign.cancel";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayEbppPdeductSignQueryRequest.php
Executable file
118
extend/alipay/aop/request/AlipayEbppPdeductSignQueryRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ebpp.pdeduct.sign.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-08-04 11:19:46
|
||||
*/
|
||||
class AlipayEbppPdeductSignQueryRequest
|
||||
{
|
||||
/**
|
||||
* 直连代扣协议查询接口
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ebpp.pdeduct.sign.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayEbppPdeductSignValidateRequest.php
Executable file
118
extend/alipay/aop/request/AlipayEbppPdeductSignValidateRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ebpp.pdeduct.sign.validate request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-08-04 11:19:34
|
||||
*/
|
||||
class AlipayEbppPdeductSignValidateRequest
|
||||
{
|
||||
/**
|
||||
* 缴费直连代扣签约前置校验
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ebpp.pdeduct.sign.validate";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
182
extend/alipay/aop/request/AlipayEcapiprodCreditGetRequest.php
Executable file
182
extend/alipay/aop/request/AlipayEcapiprodCreditGetRequest.php
Executable file
@ -0,0 +1,182 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ecapiprod.credit.get request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2015-04-02 16:44:25
|
||||
*/
|
||||
class AlipayEcapiprodCreditGetRequest
|
||||
{
|
||||
/**
|
||||
* 授信编号
|
||||
**/
|
||||
private $creditNo;
|
||||
|
||||
/**
|
||||
* 身份证号码
|
||||
**/
|
||||
private $entityCode;
|
||||
|
||||
/**
|
||||
* 客户的姓名
|
||||
**/
|
||||
private $entityName;
|
||||
|
||||
/**
|
||||
* 每一个对接融资平台的系统提供商都有一个机构号
|
||||
**/
|
||||
private $isvCode;
|
||||
|
||||
/**
|
||||
* 融资平台分配给小贷公司的机构编码
|
||||
**/
|
||||
private $orgCode;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setCreditNo($creditNo)
|
||||
{
|
||||
$this->creditNo = $creditNo;
|
||||
$this->apiParas["credit_no"] = $creditNo;
|
||||
}
|
||||
|
||||
public function getCreditNo()
|
||||
{
|
||||
return $this->creditNo;
|
||||
}
|
||||
|
||||
public function setEntityCode($entityCode)
|
||||
{
|
||||
$this->entityCode = $entityCode;
|
||||
$this->apiParas["entity_code"] = $entityCode;
|
||||
}
|
||||
|
||||
public function getEntityCode()
|
||||
{
|
||||
return $this->entityCode;
|
||||
}
|
||||
|
||||
public function setEntityName($entityName)
|
||||
{
|
||||
$this->entityName = $entityName;
|
||||
$this->apiParas["entity_name"] = $entityName;
|
||||
}
|
||||
|
||||
public function getEntityName()
|
||||
{
|
||||
return $this->entityName;
|
||||
}
|
||||
|
||||
public function setIsvCode($isvCode)
|
||||
{
|
||||
$this->isvCode = $isvCode;
|
||||
$this->apiParas["isv_code"] = $isvCode;
|
||||
}
|
||||
|
||||
public function getIsvCode()
|
||||
{
|
||||
return $this->isvCode;
|
||||
}
|
||||
|
||||
public function setOrgCode($orgCode)
|
||||
{
|
||||
$this->orgCode = $orgCode;
|
||||
$this->apiParas["org_code"] = $orgCode;
|
||||
}
|
||||
|
||||
public function getOrgCode()
|
||||
{
|
||||
return $this->orgCode;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ecapiprod.credit.get";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
246
extend/alipay/aop/request/AlipayEcapiprodDataPutRequest.php
Executable file
246
extend/alipay/aop/request/AlipayEcapiprodDataPutRequest.php
Executable file
@ -0,0 +1,246 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ecapiprod.data.put request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2015-04-02 16:45:23
|
||||
*/
|
||||
class AlipayEcapiprodDataPutRequest
|
||||
{
|
||||
/**
|
||||
* 数据类型
|
||||
**/
|
||||
private $category;
|
||||
|
||||
/**
|
||||
* 数据字符编码,默认UTF-8
|
||||
**/
|
||||
private $charSet;
|
||||
|
||||
/**
|
||||
* 数据采集平台生成的采集任务编号
|
||||
**/
|
||||
private $collectingTaskId;
|
||||
|
||||
/**
|
||||
* 身份证,工商注册号等
|
||||
**/
|
||||
private $entityCode;
|
||||
|
||||
/**
|
||||
* 姓名或公司名等,name和code不能同时为空
|
||||
**/
|
||||
private $entityName;
|
||||
|
||||
/**
|
||||
* 人或公司等
|
||||
**/
|
||||
private $entityType;
|
||||
|
||||
/**
|
||||
* 渠道商
|
||||
**/
|
||||
private $isvCode;
|
||||
|
||||
/**
|
||||
* 数据主体,以json格式传输的数据
|
||||
**/
|
||||
private $jsonData;
|
||||
|
||||
/**
|
||||
* 数据合作方
|
||||
**/
|
||||
private $orgCode;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setCategory($category)
|
||||
{
|
||||
$this->category = $category;
|
||||
$this->apiParas["category"] = $category;
|
||||
}
|
||||
|
||||
public function getCategory()
|
||||
{
|
||||
return $this->category;
|
||||
}
|
||||
|
||||
public function setCharSet($charSet)
|
||||
{
|
||||
$this->charSet = $charSet;
|
||||
$this->apiParas["char_set"] = $charSet;
|
||||
}
|
||||
|
||||
public function getCharSet()
|
||||
{
|
||||
return $this->charSet;
|
||||
}
|
||||
|
||||
public function setCollectingTaskId($collectingTaskId)
|
||||
{
|
||||
$this->collectingTaskId = $collectingTaskId;
|
||||
$this->apiParas["collecting_task_id"] = $collectingTaskId;
|
||||
}
|
||||
|
||||
public function getCollectingTaskId()
|
||||
{
|
||||
return $this->collectingTaskId;
|
||||
}
|
||||
|
||||
public function setEntityCode($entityCode)
|
||||
{
|
||||
$this->entityCode = $entityCode;
|
||||
$this->apiParas["entity_code"] = $entityCode;
|
||||
}
|
||||
|
||||
public function getEntityCode()
|
||||
{
|
||||
return $this->entityCode;
|
||||
}
|
||||
|
||||
public function setEntityName($entityName)
|
||||
{
|
||||
$this->entityName = $entityName;
|
||||
$this->apiParas["entity_name"] = $entityName;
|
||||
}
|
||||
|
||||
public function getEntityName()
|
||||
{
|
||||
return $this->entityName;
|
||||
}
|
||||
|
||||
public function setEntityType($entityType)
|
||||
{
|
||||
$this->entityType = $entityType;
|
||||
$this->apiParas["entity_type"] = $entityType;
|
||||
}
|
||||
|
||||
public function getEntityType()
|
||||
{
|
||||
return $this->entityType;
|
||||
}
|
||||
|
||||
public function setIsvCode($isvCode)
|
||||
{
|
||||
$this->isvCode = $isvCode;
|
||||
$this->apiParas["isv_code"] = $isvCode;
|
||||
}
|
||||
|
||||
public function getIsvCode()
|
||||
{
|
||||
return $this->isvCode;
|
||||
}
|
||||
|
||||
public function setJsonData($jsonData)
|
||||
{
|
||||
$this->jsonData = $jsonData;
|
||||
$this->apiParas["json_data"] = $jsonData;
|
||||
}
|
||||
|
||||
public function getJsonData()
|
||||
{
|
||||
return $this->jsonData;
|
||||
}
|
||||
|
||||
public function setOrgCode($orgCode)
|
||||
{
|
||||
$this->orgCode = $orgCode;
|
||||
$this->apiParas["org_code"] = $orgCode;
|
||||
}
|
||||
|
||||
public function getOrgCode()
|
||||
{
|
||||
return $this->orgCode;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ecapiprod.data.put";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
182
extend/alipay/aop/request/AlipayEcapiprodDrawndnContractGetRequest.php
Executable file
182
extend/alipay/aop/request/AlipayEcapiprodDrawndnContractGetRequest.php
Executable file
@ -0,0 +1,182 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ecapiprod.drawndn.contract.get request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-03-29 11:34:32
|
||||
*/
|
||||
class AlipayEcapiprodDrawndnContractGetRequest
|
||||
{
|
||||
/**
|
||||
* 支用编号
|
||||
**/
|
||||
private $drawndnNo;
|
||||
|
||||
/**
|
||||
* 客户身份证号码,为18位,最后X必须为大写
|
||||
**/
|
||||
private $entityCode;
|
||||
|
||||
/**
|
||||
* 客户姓名
|
||||
**/
|
||||
private $entityName;
|
||||
|
||||
/**
|
||||
* 融资平台分配给ISV的编码
|
||||
**/
|
||||
private $isvCode;
|
||||
|
||||
/**
|
||||
* 融资平台分配给小贷公司的机构编码
|
||||
**/
|
||||
private $orgCode;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setDrawndnNo($drawndnNo)
|
||||
{
|
||||
$this->drawndnNo = $drawndnNo;
|
||||
$this->apiParas["drawndn_no"] = $drawndnNo;
|
||||
}
|
||||
|
||||
public function getDrawndnNo()
|
||||
{
|
||||
return $this->drawndnNo;
|
||||
}
|
||||
|
||||
public function setEntityCode($entityCode)
|
||||
{
|
||||
$this->entityCode = $entityCode;
|
||||
$this->apiParas["entity_code"] = $entityCode;
|
||||
}
|
||||
|
||||
public function getEntityCode()
|
||||
{
|
||||
return $this->entityCode;
|
||||
}
|
||||
|
||||
public function setEntityName($entityName)
|
||||
{
|
||||
$this->entityName = $entityName;
|
||||
$this->apiParas["entity_name"] = $entityName;
|
||||
}
|
||||
|
||||
public function getEntityName()
|
||||
{
|
||||
return $this->entityName;
|
||||
}
|
||||
|
||||
public function setIsvCode($isvCode)
|
||||
{
|
||||
$this->isvCode = $isvCode;
|
||||
$this->apiParas["isv_code"] = $isvCode;
|
||||
}
|
||||
|
||||
public function getIsvCode()
|
||||
{
|
||||
return $this->isvCode;
|
||||
}
|
||||
|
||||
public function setOrgCode($orgCode)
|
||||
{
|
||||
$this->orgCode = $orgCode;
|
||||
$this->apiParas["org_code"] = $orgCode;
|
||||
}
|
||||
|
||||
public function getOrgCode()
|
||||
{
|
||||
return $this->orgCode;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ecapiprod.drawndn.contract.get";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
182
extend/alipay/aop/request/AlipayEcapiprodDrawndnDrawndnlistQueryRequest.php
Executable file
182
extend/alipay/aop/request/AlipayEcapiprodDrawndnDrawndnlistQueryRequest.php
Executable file
@ -0,0 +1,182 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ecapiprod.drawndn.drawndnlist.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-03-29 11:34:45
|
||||
*/
|
||||
class AlipayEcapiprodDrawndnDrawndnlistQueryRequest
|
||||
{
|
||||
/**
|
||||
* 授信编号
|
||||
**/
|
||||
private $creditNo;
|
||||
|
||||
/**
|
||||
* 身份证号码
|
||||
**/
|
||||
private $entityCode;
|
||||
|
||||
/**
|
||||
* 客户的姓名
|
||||
**/
|
||||
private $entityName;
|
||||
|
||||
/**
|
||||
* 融资平台分配给ISV的编码
|
||||
**/
|
||||
private $isvCode;
|
||||
|
||||
/**
|
||||
* 融资平台分配给小贷公司的机构编码
|
||||
**/
|
||||
private $orgCode;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setCreditNo($creditNo)
|
||||
{
|
||||
$this->creditNo = $creditNo;
|
||||
$this->apiParas["credit_no"] = $creditNo;
|
||||
}
|
||||
|
||||
public function getCreditNo()
|
||||
{
|
||||
return $this->creditNo;
|
||||
}
|
||||
|
||||
public function setEntityCode($entityCode)
|
||||
{
|
||||
$this->entityCode = $entityCode;
|
||||
$this->apiParas["entity_code"] = $entityCode;
|
||||
}
|
||||
|
||||
public function getEntityCode()
|
||||
{
|
||||
return $this->entityCode;
|
||||
}
|
||||
|
||||
public function setEntityName($entityName)
|
||||
{
|
||||
$this->entityName = $entityName;
|
||||
$this->apiParas["entity_name"] = $entityName;
|
||||
}
|
||||
|
||||
public function getEntityName()
|
||||
{
|
||||
return $this->entityName;
|
||||
}
|
||||
|
||||
public function setIsvCode($isvCode)
|
||||
{
|
||||
$this->isvCode = $isvCode;
|
||||
$this->apiParas["isv_code"] = $isvCode;
|
||||
}
|
||||
|
||||
public function getIsvCode()
|
||||
{
|
||||
return $this->isvCode;
|
||||
}
|
||||
|
||||
public function setOrgCode($orgCode)
|
||||
{
|
||||
$this->orgCode = $orgCode;
|
||||
$this->apiParas["org_code"] = $orgCode;
|
||||
}
|
||||
|
||||
public function getOrgCode()
|
||||
{
|
||||
return $this->orgCode;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ecapiprod.drawndn.drawndnlist.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
214
extend/alipay/aop/request/AlipayEcapiprodDrawndnFeerecordQueryRequest.php
Executable file
214
extend/alipay/aop/request/AlipayEcapiprodDrawndnFeerecordQueryRequest.php
Executable file
@ -0,0 +1,214 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ecapiprod.drawndn.feerecord.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-03-29 11:34:27
|
||||
*/
|
||||
class AlipayEcapiprodDrawndnFeerecordQueryRequest
|
||||
{
|
||||
/**
|
||||
* 支用编号
|
||||
**/
|
||||
private $drawndnNo;
|
||||
|
||||
/**
|
||||
* 费用还款记录的终止时间,终止时间与起始时间的范围不能超过31天
|
||||
**/
|
||||
private $end;
|
||||
|
||||
/**
|
||||
* 客户身份证号码,为18位,最后X必须为大写
|
||||
**/
|
||||
private $entityCode;
|
||||
|
||||
/**
|
||||
* 客户姓名
|
||||
**/
|
||||
private $entityName;
|
||||
|
||||
/**
|
||||
* 融资平台分配给ISV的编码
|
||||
**/
|
||||
private $isvCode;
|
||||
|
||||
/**
|
||||
* 融资平台分配给小贷公司的机构编码
|
||||
**/
|
||||
private $orgCode;
|
||||
|
||||
/**
|
||||
* 费用还款记录的起始时间(距离当前时间不能大于183天,只能在【0-183】之间)
|
||||
**/
|
||||
private $start;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setDrawndnNo($drawndnNo)
|
||||
{
|
||||
$this->drawndnNo = $drawndnNo;
|
||||
$this->apiParas["drawndn_no"] = $drawndnNo;
|
||||
}
|
||||
|
||||
public function getDrawndnNo()
|
||||
{
|
||||
return $this->drawndnNo;
|
||||
}
|
||||
|
||||
public function setEnd($end)
|
||||
{
|
||||
$this->end = $end;
|
||||
$this->apiParas["end"] = $end;
|
||||
}
|
||||
|
||||
public function getEnd()
|
||||
{
|
||||
return $this->end;
|
||||
}
|
||||
|
||||
public function setEntityCode($entityCode)
|
||||
{
|
||||
$this->entityCode = $entityCode;
|
||||
$this->apiParas["entity_code"] = $entityCode;
|
||||
}
|
||||
|
||||
public function getEntityCode()
|
||||
{
|
||||
return $this->entityCode;
|
||||
}
|
||||
|
||||
public function setEntityName($entityName)
|
||||
{
|
||||
$this->entityName = $entityName;
|
||||
$this->apiParas["entity_name"] = $entityName;
|
||||
}
|
||||
|
||||
public function getEntityName()
|
||||
{
|
||||
return $this->entityName;
|
||||
}
|
||||
|
||||
public function setIsvCode($isvCode)
|
||||
{
|
||||
$this->isvCode = $isvCode;
|
||||
$this->apiParas["isv_code"] = $isvCode;
|
||||
}
|
||||
|
||||
public function getIsvCode()
|
||||
{
|
||||
return $this->isvCode;
|
||||
}
|
||||
|
||||
public function setOrgCode($orgCode)
|
||||
{
|
||||
$this->orgCode = $orgCode;
|
||||
$this->apiParas["org_code"] = $orgCode;
|
||||
}
|
||||
|
||||
public function getOrgCode()
|
||||
{
|
||||
return $this->orgCode;
|
||||
}
|
||||
|
||||
public function setStart($start)
|
||||
{
|
||||
$this->start = $start;
|
||||
$this->apiParas["start"] = $start;
|
||||
}
|
||||
|
||||
public function getStart()
|
||||
{
|
||||
return $this->start;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ecapiprod.drawndn.feerecord.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
214
extend/alipay/aop/request/AlipayEcapiprodDrawndnLendingrecordQueryRequest.php
Executable file
214
extend/alipay/aop/request/AlipayEcapiprodDrawndnLendingrecordQueryRequest.php
Executable file
@ -0,0 +1,214 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ecapiprod.drawndn.lendingrecord.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-03-29 11:34:36
|
||||
*/
|
||||
class AlipayEcapiprodDrawndnLendingrecordQueryRequest
|
||||
{
|
||||
/**
|
||||
* 支用编号
|
||||
**/
|
||||
private $drawndnNo;
|
||||
|
||||
/**
|
||||
* 还款记录的终止时间,终止时间与起始时间的范围不能超过31天
|
||||
**/
|
||||
private $end;
|
||||
|
||||
/**
|
||||
* 身份证号码
|
||||
**/
|
||||
private $entityCode;
|
||||
|
||||
/**
|
||||
* 客户的姓名
|
||||
**/
|
||||
private $entityName;
|
||||
|
||||
/**
|
||||
* 融资平台分配给ISV的编码
|
||||
**/
|
||||
private $isvCode;
|
||||
|
||||
/**
|
||||
* 融资平台分配给小贷公司的机构编码
|
||||
**/
|
||||
private $orgCode;
|
||||
|
||||
/**
|
||||
* 还款记录的起始时间(距离当前时间不能大于183天,只能在【0-183】之间)
|
||||
**/
|
||||
private $start;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setDrawndnNo($drawndnNo)
|
||||
{
|
||||
$this->drawndnNo = $drawndnNo;
|
||||
$this->apiParas["drawndn_no"] = $drawndnNo;
|
||||
}
|
||||
|
||||
public function getDrawndnNo()
|
||||
{
|
||||
return $this->drawndnNo;
|
||||
}
|
||||
|
||||
public function setEnd($end)
|
||||
{
|
||||
$this->end = $end;
|
||||
$this->apiParas["end"] = $end;
|
||||
}
|
||||
|
||||
public function getEnd()
|
||||
{
|
||||
return $this->end;
|
||||
}
|
||||
|
||||
public function setEntityCode($entityCode)
|
||||
{
|
||||
$this->entityCode = $entityCode;
|
||||
$this->apiParas["entity_code"] = $entityCode;
|
||||
}
|
||||
|
||||
public function getEntityCode()
|
||||
{
|
||||
return $this->entityCode;
|
||||
}
|
||||
|
||||
public function setEntityName($entityName)
|
||||
{
|
||||
$this->entityName = $entityName;
|
||||
$this->apiParas["entity_name"] = $entityName;
|
||||
}
|
||||
|
||||
public function getEntityName()
|
||||
{
|
||||
return $this->entityName;
|
||||
}
|
||||
|
||||
public function setIsvCode($isvCode)
|
||||
{
|
||||
$this->isvCode = $isvCode;
|
||||
$this->apiParas["isv_code"] = $isvCode;
|
||||
}
|
||||
|
||||
public function getIsvCode()
|
||||
{
|
||||
return $this->isvCode;
|
||||
}
|
||||
|
||||
public function setOrgCode($orgCode)
|
||||
{
|
||||
$this->orgCode = $orgCode;
|
||||
$this->apiParas["org_code"] = $orgCode;
|
||||
}
|
||||
|
||||
public function getOrgCode()
|
||||
{
|
||||
return $this->orgCode;
|
||||
}
|
||||
|
||||
public function setStart($start)
|
||||
{
|
||||
$this->start = $start;
|
||||
$this->apiParas["start"] = $start;
|
||||
}
|
||||
|
||||
public function getStart()
|
||||
{
|
||||
return $this->start;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ecapiprod.drawndn.lendingrecord.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
182
extend/alipay/aop/request/AlipayEcapiprodDrawndnPaymentscheduleGetRequest.php
Executable file
182
extend/alipay/aop/request/AlipayEcapiprodDrawndnPaymentscheduleGetRequest.php
Executable file
@ -0,0 +1,182 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ecapiprod.drawndn.paymentschedule.get request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-03-29 11:34:20
|
||||
*/
|
||||
class AlipayEcapiprodDrawndnPaymentscheduleGetRequest
|
||||
{
|
||||
/**
|
||||
* 支用编号
|
||||
**/
|
||||
private $drawndnNo;
|
||||
|
||||
/**
|
||||
* 身份证
|
||||
**/
|
||||
private $entityCode;
|
||||
|
||||
/**
|
||||
* 客户姓名
|
||||
**/
|
||||
private $entityName;
|
||||
|
||||
/**
|
||||
* 融资平台分配给ISV的编码
|
||||
**/
|
||||
private $isvCode;
|
||||
|
||||
/**
|
||||
* 融资平台分配给小贷公司的机构编码
|
||||
**/
|
||||
private $orgCode;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setDrawndnNo($drawndnNo)
|
||||
{
|
||||
$this->drawndnNo = $drawndnNo;
|
||||
$this->apiParas["drawndn_no"] = $drawndnNo;
|
||||
}
|
||||
|
||||
public function getDrawndnNo()
|
||||
{
|
||||
return $this->drawndnNo;
|
||||
}
|
||||
|
||||
public function setEntityCode($entityCode)
|
||||
{
|
||||
$this->entityCode = $entityCode;
|
||||
$this->apiParas["entity_code"] = $entityCode;
|
||||
}
|
||||
|
||||
public function getEntityCode()
|
||||
{
|
||||
return $this->entityCode;
|
||||
}
|
||||
|
||||
public function setEntityName($entityName)
|
||||
{
|
||||
$this->entityName = $entityName;
|
||||
$this->apiParas["entity_name"] = $entityName;
|
||||
}
|
||||
|
||||
public function getEntityName()
|
||||
{
|
||||
return $this->entityName;
|
||||
}
|
||||
|
||||
public function setIsvCode($isvCode)
|
||||
{
|
||||
$this->isvCode = $isvCode;
|
||||
$this->apiParas["isv_code"] = $isvCode;
|
||||
}
|
||||
|
||||
public function getIsvCode()
|
||||
{
|
||||
return $this->isvCode;
|
||||
}
|
||||
|
||||
public function setOrgCode($orgCode)
|
||||
{
|
||||
$this->orgCode = $orgCode;
|
||||
$this->apiParas["org_code"] = $orgCode;
|
||||
}
|
||||
|
||||
public function getOrgCode()
|
||||
{
|
||||
return $this->orgCode;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ecapiprod.drawndn.paymentschedule.get";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
214
extend/alipay/aop/request/AlipayEcapiprodDrawndnRepaymentrecordQueryRequest.php
Executable file
214
extend/alipay/aop/request/AlipayEcapiprodDrawndnRepaymentrecordQueryRequest.php
Executable file
@ -0,0 +1,214 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ecapiprod.drawndn.repaymentrecord.query request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2016-03-29 11:34:40
|
||||
*/
|
||||
class AlipayEcapiprodDrawndnRepaymentrecordQueryRequest
|
||||
{
|
||||
/**
|
||||
* 支用编号
|
||||
**/
|
||||
private $drawndnNo;
|
||||
|
||||
/**
|
||||
* 还款记录的终止时间,终止时间与起始时间的范围不能超过31天
|
||||
**/
|
||||
private $end;
|
||||
|
||||
/**
|
||||
* 客户身份证号码,为18位,最后X必须为大写
|
||||
**/
|
||||
private $entityCode;
|
||||
|
||||
/**
|
||||
* 客户的姓名
|
||||
**/
|
||||
private $entityName;
|
||||
|
||||
/**
|
||||
* 融资平台分配给ISV的编码
|
||||
**/
|
||||
private $isvCode;
|
||||
|
||||
/**
|
||||
* 融资平台分配给小贷公司的机构编码
|
||||
**/
|
||||
private $orgCode;
|
||||
|
||||
/**
|
||||
* 还款记录的起始时间(距离当前时间不能大于183天,只能在【0-183】之间)
|
||||
**/
|
||||
private $start;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setDrawndnNo($drawndnNo)
|
||||
{
|
||||
$this->drawndnNo = $drawndnNo;
|
||||
$this->apiParas["drawndn_no"] = $drawndnNo;
|
||||
}
|
||||
|
||||
public function getDrawndnNo()
|
||||
{
|
||||
return $this->drawndnNo;
|
||||
}
|
||||
|
||||
public function setEnd($end)
|
||||
{
|
||||
$this->end = $end;
|
||||
$this->apiParas["end"] = $end;
|
||||
}
|
||||
|
||||
public function getEnd()
|
||||
{
|
||||
return $this->end;
|
||||
}
|
||||
|
||||
public function setEntityCode($entityCode)
|
||||
{
|
||||
$this->entityCode = $entityCode;
|
||||
$this->apiParas["entity_code"] = $entityCode;
|
||||
}
|
||||
|
||||
public function getEntityCode()
|
||||
{
|
||||
return $this->entityCode;
|
||||
}
|
||||
|
||||
public function setEntityName($entityName)
|
||||
{
|
||||
$this->entityName = $entityName;
|
||||
$this->apiParas["entity_name"] = $entityName;
|
||||
}
|
||||
|
||||
public function getEntityName()
|
||||
{
|
||||
return $this->entityName;
|
||||
}
|
||||
|
||||
public function setIsvCode($isvCode)
|
||||
{
|
||||
$this->isvCode = $isvCode;
|
||||
$this->apiParas["isv_code"] = $isvCode;
|
||||
}
|
||||
|
||||
public function getIsvCode()
|
||||
{
|
||||
return $this->isvCode;
|
||||
}
|
||||
|
||||
public function setOrgCode($orgCode)
|
||||
{
|
||||
$this->orgCode = $orgCode;
|
||||
$this->apiParas["org_code"] = $orgCode;
|
||||
}
|
||||
|
||||
public function getOrgCode()
|
||||
{
|
||||
return $this->orgCode;
|
||||
}
|
||||
|
||||
public function setStart($start)
|
||||
{
|
||||
$this->start = $start;
|
||||
$this->apiParas["start"] = $start;
|
||||
}
|
||||
|
||||
public function getStart()
|
||||
{
|
||||
return $this->start;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ecapiprod.drawndn.repaymentrecord.query";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
198
extend/alipay/aop/request/AlipayEcardEduPublicBindRequest.php
Executable file
198
extend/alipay/aop/request/AlipayEcardEduPublicBindRequest.php
Executable file
@ -0,0 +1,198 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.ecard.edu.public.bind request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2014-06-12 17:16:41
|
||||
*/
|
||||
class AlipayEcardEduPublicBindRequest
|
||||
{
|
||||
/**
|
||||
* 机构编码
|
||||
**/
|
||||
private $agentCode;
|
||||
|
||||
/**
|
||||
* 公众账号协议Id
|
||||
**/
|
||||
private $agreementId;
|
||||
|
||||
/**
|
||||
* 支付宝userId
|
||||
**/
|
||||
private $alipayUserId;
|
||||
|
||||
/**
|
||||
* 一卡通姓名
|
||||
**/
|
||||
private $cardName;
|
||||
|
||||
/**
|
||||
* 一卡通卡号
|
||||
**/
|
||||
private $cardNo;
|
||||
|
||||
/**
|
||||
* 公众账号id
|
||||
**/
|
||||
private $publicId;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setAgentCode($agentCode)
|
||||
{
|
||||
$this->agentCode = $agentCode;
|
||||
$this->apiParas["agent_code"] = $agentCode;
|
||||
}
|
||||
|
||||
public function getAgentCode()
|
||||
{
|
||||
return $this->agentCode;
|
||||
}
|
||||
|
||||
public function setAgreementId($agreementId)
|
||||
{
|
||||
$this->agreementId = $agreementId;
|
||||
$this->apiParas["agreement_id"] = $agreementId;
|
||||
}
|
||||
|
||||
public function getAgreementId()
|
||||
{
|
||||
return $this->agreementId;
|
||||
}
|
||||
|
||||
public function setAlipayUserId($alipayUserId)
|
||||
{
|
||||
$this->alipayUserId = $alipayUserId;
|
||||
$this->apiParas["alipay_user_id"] = $alipayUserId;
|
||||
}
|
||||
|
||||
public function getAlipayUserId()
|
||||
{
|
||||
return $this->alipayUserId;
|
||||
}
|
||||
|
||||
public function setCardName($cardName)
|
||||
{
|
||||
$this->cardName = $cardName;
|
||||
$this->apiParas["card_name"] = $cardName;
|
||||
}
|
||||
|
||||
public function getCardName()
|
||||
{
|
||||
return $this->cardName;
|
||||
}
|
||||
|
||||
public function setCardNo($cardNo)
|
||||
{
|
||||
$this->cardNo = $cardNo;
|
||||
$this->apiParas["card_no"] = $cardNo;
|
||||
}
|
||||
|
||||
public function getCardNo()
|
||||
{
|
||||
return $this->cardNo;
|
||||
}
|
||||
|
||||
public function setPublicId($publicId)
|
||||
{
|
||||
$this->publicId = $publicId;
|
||||
$this->apiParas["public_id"] = $publicId;
|
||||
}
|
||||
|
||||
public function getPublicId()
|
||||
{
|
||||
return $this->publicId;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.ecard.edu.public.bind";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
118
extend/alipay/aop/request/AlipayEcoCplifeBasicserviceInitializeRequest.php
Executable file
118
extend/alipay/aop/request/AlipayEcoCplifeBasicserviceInitializeRequest.php
Executable file
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.eco.cplife.basicservice.initialize request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2017-03-24 11:43:21
|
||||
*/
|
||||
class AlipayEcoCplifeBasicserviceInitializeRequest
|
||||
{
|
||||
/**
|
||||
* 初始化小区物业基础服务
|
||||
**/
|
||||
private $bizContent;
|
||||
|
||||
private $apiParas = array();
|
||||
private $terminalType;
|
||||
private $terminalInfo;
|
||||
private $prodCode;
|
||||
private $apiVersion="1.0";
|
||||
private $notifyUrl;
|
||||
private $returnUrl;
|
||||
private $needEncrypt=false;
|
||||
|
||||
|
||||
public function setBizContent($bizContent)
|
||||
{
|
||||
$this->bizContent = $bizContent;
|
||||
$this->apiParas["biz_content"] = $bizContent;
|
||||
}
|
||||
|
||||
public function getBizContent()
|
||||
{
|
||||
return $this->bizContent;
|
||||
}
|
||||
|
||||
public function getApiMethodName()
|
||||
{
|
||||
return "alipay.eco.cplife.basicservice.initialize";
|
||||
}
|
||||
|
||||
public function setNotifyUrl($notifyUrl)
|
||||
{
|
||||
$this->notifyUrl=$notifyUrl;
|
||||
}
|
||||
|
||||
public function getNotifyUrl()
|
||||
{
|
||||
return $this->notifyUrl;
|
||||
}
|
||||
|
||||
public function setReturnUrl($returnUrl)
|
||||
{
|
||||
$this->returnUrl=$returnUrl;
|
||||
}
|
||||
|
||||
public function getReturnUrl()
|
||||
{
|
||||
return $this->returnUrl;
|
||||
}
|
||||
|
||||
public function getApiParas()
|
||||
{
|
||||
return $this->apiParas;
|
||||
}
|
||||
|
||||
public function getTerminalType()
|
||||
{
|
||||
return $this->terminalType;
|
||||
}
|
||||
|
||||
public function setTerminalType($terminalType)
|
||||
{
|
||||
$this->terminalType = $terminalType;
|
||||
}
|
||||
|
||||
public function getTerminalInfo()
|
||||
{
|
||||
return $this->terminalInfo;
|
||||
}
|
||||
|
||||
public function setTerminalInfo($terminalInfo)
|
||||
{
|
||||
$this->terminalInfo = $terminalInfo;
|
||||
}
|
||||
|
||||
public function getProdCode()
|
||||
{
|
||||
return $this->prodCode;
|
||||
}
|
||||
|
||||
public function setProdCode($prodCode)
|
||||
{
|
||||
$this->prodCode = $prodCode;
|
||||
}
|
||||
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion=$apiVersion;
|
||||
}
|
||||
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
|
||||
public function setNeedEncrypt($needEncrypt)
|
||||
{
|
||||
|
||||
$this->needEncrypt=$needEncrypt;
|
||||
|
||||
}
|
||||
|
||||
public function getNeedEncrypt()
|
||||
{
|
||||
return $this->needEncrypt;
|
||||
}
|
||||
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user