Skip to content

Commit

Permalink
v1.0.0 released
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNorthMemory committed Dec 8, 2024
1 parent d245db5 commit 72b9450
Show file tree
Hide file tree
Showing 736 changed files with 1,595 additions and 1,587 deletions.
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"name": "iwechatpay/openapi",
"description": "为 wechatpay/wechatpay 增加IDE提示的接口描述包。",
"homepage": "https://wechatpay.im/openapi/",
"support": {
"chat": "https://qm.qq.com/q/Q175Gz0H0A"
},
"keywords": [
"wechatpay",
"openapi-chainable",
Expand Down Expand Up @@ -29,6 +33,6 @@
}
},
"require-dev": {
"phpstan/phpstan": "^0.12.89 || ^1.0 || 1.11.x-dev"
"phpstan/phpstan": "^0.12.89 || ^1.0 || ^2"
}
}
4 changes: 2 additions & 2 deletions src/V2/Applyment/Micro/Getstate.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface Getstate
* 查询申请状态(同步模式)
* @param array<string,mixed> $options
* @deprecated - since 2023.05.23
* @link https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=19_3
* @link https://wechatpay.im/openapi/v2/applyment/micro/getstate
*/
public function post(array $options = [
'xml' => [
Expand All @@ -30,7 +30,7 @@ public function post(array $options = [
* 查询申请状态(异步模式)
* @param array<string,mixed> $options
* @deprecated - since 2023.05.23
* @link https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=19_3#async
* @link https://wechatpay.im/openapi/v2/applyment/micro/getstate
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Applyment/Micro/Getupgradestate.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface Getupgradestate
* 查询升级申请单状态(同步模式)
* @param array<string,mixed> $options
* @deprecated - since 2023.05.23
* @link https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=28_3&index=3
* @link https://wechatpay.im/openapi/v2/applyment/micro/getupgradestate
*/
public function post(array $options = [
'xml' => [
Expand All @@ -29,7 +29,7 @@ public function post(array $options = [
* 查询升级申请单状态(异步模式)
* @param array<string,mixed> $options
* @deprecated - since 2023.05.23
* @link https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=28_3&index=3#async
* @link https://wechatpay.im/openapi/v2/applyment/micro/getupgradestate
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Applyment/Micro/Modifyarchives.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface Modifyarchives
* 修改结算银行卡(同步模式)
* @param array<string,mixed> $options
* @deprecated - since 2023.03.13
* @link https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=21_2
* @link https://wechatpay.im/openapi/v2/applyment/micro/modifyarchives
*/
public function post(array $options = [
'xml' => [
Expand All @@ -34,7 +34,7 @@ public function post(array $options = [
* 修改结算银行卡(异步模式)
* @param array<string,mixed> $options
* @deprecated - since 2023.03.13
* @link https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=21_2#async
* @link https://wechatpay.im/openapi/v2/applyment/micro/modifyarchives
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Applyment/Micro/Modifycontactinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface Modifycontactinfo
* 修改联系信息(同步模式)
* @param array<string,mixed> $options
* @deprecated - since 2020.04.13
* @link https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=21_4
* @link https://wechatpay.im/openapi/v2/applyment/micro/modifycontactinfo
*/
public function post(array $options = [
'xml' => [
Expand All @@ -33,7 +33,7 @@ public function post(array $options = [
* 修改联系信息(异步模式)
* @param array<string,mixed> $options
* @deprecated - since 2020.04.13
* @link https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=21_4#async
* @link https://wechatpay.im/openapi/v2/applyment/micro/modifycontactinfo
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Applyment/Micro/Signcontract.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface Signcontract
* 签约报备(同步模式)
* @param array<string,mixed> $options
* @deprecated - since 2023.05.23
* @link https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=19_4
* @link https://wechatpay.im/openapi/v2/applyment/micro/signcontract
*/
public function post(array $options = [
'xml' => [
Expand All @@ -25,7 +25,7 @@ public function post(array $options = [
* 签约报备(异步模式)
* @param array<string,mixed> $options
* @deprecated - since 2023.05.23
* @link https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=19_4#async
* @link https://wechatpay.im/openapi/v2/applyment/micro/signcontract
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Applyment/Micro/Submit.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface Submit
* 申请入驻(同步模式)
* @param array<string,mixed> $options
* @deprecated - since 2023.05.23
* @link https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=19_2
* @link https://wechatpay.im/openapi/v2/applyment/micro/submit
*/
public function post(array $options = [
'xml' => [
Expand Down Expand Up @@ -57,7 +57,7 @@ public function post(array $options = [
* 申请入驻(异步模式)
* @param array<string,mixed> $options
* @deprecated - since 2023.05.23
* @link https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=19_2#async
* @link https://wechatpay.im/openapi/v2/applyment/micro/submit
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Applyment/Micro/Submitupgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface Submitupgrade
* 提交升级申请单(同步模式)
* @param array<string,mixed> $options
* @deprecated - since 2023.05.23
* @link https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=28_2&index=2
* @link https://wechatpay.im/openapi/v2/applyment/micro/submitupgrade
*/
public function post(array $options = [
'xml' => [
Expand Down Expand Up @@ -53,7 +53,7 @@ public function post(array $options = [
* 提交升级申请单(异步模式)
* @param array<string,mixed> $options
* @deprecated - since 2023.05.23
* @link https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=28_2&index=2#async
* @link https://wechatpay.im/openapi/v2/applyment/micro/submitupgrade
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Billcommentsp/Batchquerycomment.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface Batchquerycomment
/**
* 拉取订单评价数据(同步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=9_17&index=11
* @link https://wechatpay.im/openapi/v2/billcommentsp/batchquerycomment
*/
public function post(array $options = [
'xml' => [
Expand All @@ -30,7 +30,7 @@ public function post(array $options = [
/**
* 拉取订单评价数据(异步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=9_17&index=11#async
* @link https://wechatpay.im/openapi/v2/billcommentsp/batchquerycomment
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/CgiBin/Mch/Customs/Customdeclareorder.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface Customdeclareorder
/**
* 订单附加信息提交接口(同步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/external/declarecustom.php?chapter=18_1
* @link https://wechatpay.im/openapi/v2/cgi-bin/mch/customs/customdeclareorder
*/
public function post(array $options = [
'xml' => [
Expand All @@ -39,7 +39,7 @@ public function post(array $options = [
/**
* 订单附加信息提交接口(异步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/external/declarecustom.php?chapter=18_1#async
* @link https://wechatpay.im/openapi/v2/cgi-bin/mch/customs/customdeclareorder
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/CgiBin/Mch/Customs/Customdeclarequery.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface Customdeclarequery
/**
* 订单附加信息查询接口(同步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/external/declarecustom.php?chapter=18_2
* @link https://wechatpay.im/openapi/v2/cgi-bin/mch/customs/customdeclarequery
*/
public function post(array $options = [
'xml' => [
Expand All @@ -31,7 +31,7 @@ public function post(array $options = [
/**
* 订单附加信息查询接口(异步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/external/declarecustom.php?chapter=18_2#async
* @link https://wechatpay.im/openapi/v2/cgi-bin/mch/customs/customdeclarequery
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/CgiBin/Mch/Newcustoms/Customdeclareredeclare.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface Customdeclareredeclare
/**
* 订单附加信息重推接口(同步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/external/declarecustom.php?chapter=18_4
* @link https://wechatpay.im/openapi/v2/cgi-bin/mch/newcustoms/customdeclareredeclare
*/
public function post(array $options = [
'xml' => [
Expand All @@ -32,7 +32,7 @@ public function post(array $options = [
/**
* 订单附加信息重推接口(异步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/external/declarecustom.php?chapter=18_4#async
* @link https://wechatpay.im/openapi/v2/cgi-bin/mch/newcustoms/customdeclareredeclare
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Deposit/Consume.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface Consume
/**
* 消费押金(同步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/deposit_sl.php?chapter=27_4&index=5
* @link https://wechatpay.im/openapi/v2/deposit/consume
*/
public function post(array $options = [
'xml' => [
Expand All @@ -33,7 +33,7 @@ public function post(array $options = [
/**
* 消费押金(异步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/deposit_sl.php?chapter=27_4&index=5#async
* @link https://wechatpay.im/openapi/v2/deposit/consume
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Deposit/Facepay.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface Facepay
/**
* 支付押金(人脸支付)(同步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/deposit_sl.php?chapter=27_0&index=1
* @link https://wechatpay.im/openapi/v2/deposit/facepay
*/
public function post(array $options = [
'xml' => [
Expand Down Expand Up @@ -42,7 +42,7 @@ public function post(array $options = [
/**
* 支付押金(人脸支付)(异步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/deposit_sl.php?chapter=27_0&index=1#async
* @link https://wechatpay.im/openapi/v2/deposit/facepay
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Deposit/Micropay.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface Micropay
/**
* 支付押金(付款码支付)(同步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/deposit_sl.php?chapter=27_1&index=2
* @link https://wechatpay.im/openapi/v2/deposit/micropay
*/
public function post(array $options = [
'xml' => [
Expand Down Expand Up @@ -45,7 +45,7 @@ public function post(array $options = [
/**
* 支付押金(付款码支付)(异步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/deposit_sl.php?chapter=27_1&index=2#async
* @link https://wechatpay.im/openapi/v2/deposit/micropay
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Deposit/Orderquery.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface Orderquery
/**
* 查询订单(同步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/deposit_sl.php?chapter=27_2&index=3
* @link https://wechatpay.im/openapi/v2/deposit/orderquery
*/
public function post(array $options = [
'xml' => [
Expand All @@ -30,7 +30,7 @@ public function post(array $options = [
/**
* 查询订单(异步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/deposit_sl.php?chapter=27_2&index=3#async
* @link https://wechatpay.im/openapi/v2/deposit/orderquery
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Deposit/Refund.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface Refund
/**
* 申请退款(押金)(同步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/deposit_sl.php?chapter=27_5&index=6
* @link https://wechatpay.im/openapi/v2/deposit/refund
*/
public function post(array $options = [
'xml' => [
Expand All @@ -37,7 +37,7 @@ public function post(array $options = [
/**
* 申请退款(押金)(异步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/deposit_sl.php?chapter=27_5&index=6#async
* @link https://wechatpay.im/openapi/v2/deposit/refund
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Deposit/Refundquery.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface Refundquery
/**
* 查询退款(押金)(同步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/deposit_sl.php?chapter=27_6&index=7
* @link https://wechatpay.im/openapi/v2/deposit/refundquery
*/
public function post(array $options = [
'xml' => [
Expand All @@ -32,7 +32,7 @@ public function post(array $options = [
/**
* 查询退款(押金)(异步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/deposit_sl.php?chapter=27_6&index=7#async
* @link https://wechatpay.im/openapi/v2/deposit/refundquery
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Deposit/Reverse.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface Reverse
/**
* 撤销订单(同步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/deposit_sl.php?chapter=27_3&index=4
* @link https://wechatpay.im/openapi/v2/deposit/reverse
*/
public function post(array $options = [
'xml' => [
Expand All @@ -30,7 +30,7 @@ public function post(array $options = [
/**
* 撤销订单(异步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/deposit_sl.php?chapter=27_3&index=4#async
* @link https://wechatpay.im/openapi/v2/deposit/reverse
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Deposit/Unifiedorder.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface Unifiedorder
/**
* 支付押金(JSAPI/APP支付)(同步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/deposit_sl.php?chapter=27_8&index=3
* @link https://wechatpay.im/openapi/v2/deposit/unifiedorder
*/
public function post(array $options = [
'xml' => [
Expand Down Expand Up @@ -45,7 +45,7 @@ public function post(array $options = [
/**
* 支付押金(JSAPI/APP支付)(异步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/api/deposit_sl.php?chapter=27_8&index=3#async
* @link https://wechatpay.im/openapi/v2/deposit/unifiedorder
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Face/Get_wxpayface_authinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface Get_wxpayface_authinfo
/**
* 人脸识别SDK-获取调用凭证(同步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/wxfacepay/develop/android/faceuser.html
* @link https://wechatpay.im/openapi/v2/face/get_wxpayface_authinfo
*/
public function post(array $options = [
'xml' => [
Expand All @@ -35,7 +35,7 @@ public function post(array $options = [
/**
* 人脸识别SDK-获取调用凭证(异步模式)
* @param array<string,mixed> $options
* @link https://pay.weixin.qq.com/wiki/doc/wxfacepay/develop/android/faceuser.html#async
* @link https://wechatpay.im/openapi/v2/face/get_wxpayface_authinfo
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Fund/Queryautowithdrawbydate.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface Queryautowithdrawbydate
* 查询提现状态(同步模式)
* @param array<string,mixed> $options
* @deprecated - since 2023.03.13
* @link https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=21_1
* @link https://wechatpay.im/openapi/v2/fund/queryautowithdrawbydate
*/
public function post(array $options = [
'xml' => [
Expand All @@ -29,7 +29,7 @@ public function post(array $options = [
* 查询提现状态(异步模式)
* @param array<string,mixed> $options
* @deprecated - since 2023.03.13
* @link https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=21_1#async
* @link https://wechatpay.im/openapi/v2/fund/queryautowithdrawbydate
*/
public function postAsync(array $options = [
'xml' => [
Expand Down
Loading

0 comments on commit 72b9450

Please sign in to comment.