Skip to content

Commit f60d833

Browse files
资金应用∙转账∙QQ钱包
1 parent d0d0974 commit f60d833

5 files changed

Lines changed: 125 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
| 免密支付 | ✔️ | ✔️ |
2323
| 资金应用∙分账 | | ✔️ |
2424
| 资金应用∙转账 | ✔️ | |
25+
| 资金应用∙转账∙QQ钱包 | ✔️ | |
2526
| 资金应用∙转账∙用户确认模式 | ✔️ | |
2627
| 资金应用∙转账∙服务商模式 | | ✔️ |
2728
| 资金应用∙转账∙银行模式 | | ✔️ |

src/V3/FundApp/MchTransfer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace WeChatPay\OpenAPI\V3\FundApp;
44

55
/**
6+
* @property-read MchTransfer\TransferToQqWalletBills $transferToQqWalletBills
67
* @property-read MchTransfer\TransferBills $transferBills
78
* @property-read MchTransfer\Elecsign $elecsign
89
*/
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\FundApp\MchTransfer;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
* @property-read TransferToQqWalletBills\_out_bill_no_ $_out_bill_no_
10+
*/
11+
interface TransferToQqWalletBills
12+
{
13+
/**
14+
* 发起转账到QQ钱包(同步模式)
15+
* @param array<string,mixed> $options
16+
* @link https://wechatpay.im/openapi/v3/fund-app/mch-transfer/transfer-to-qq-wallet-bills
17+
*/
18+
public function post(array $options = [
19+
'json' => [
20+
'appid' => '102022609',
21+
'out_bill_no' => 'plfk2020042013',
22+
'openid' => 'o-MYE42l80oelYMDE34nYD456Xoy',
23+
'user_qq' => '490379403',
24+
'user_name' => '757b340b45ebef5467rter35gf464344v3542sdf4t6re4tb4f54ty45t4yyry45',
25+
'transfer_amount' => 400000,
26+
'transfer_remark' => '2020年4月报销',
27+
'notify_url' => 'https://www.weixin.qq.com/wxpay/pay.php',
28+
'transfer_scene_id' => '1401',
29+
'transfer_scene_report_infos' => [[
30+
'info_type' => '活动名称',
31+
'info_content' => '注册会员有礼',
32+
],],
33+
],
34+
'headers' => [
35+
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
36+
],
37+
]): ResponseInterface;
38+
39+
/**
40+
* 发起转账到QQ钱包(异步模式)
41+
* @param array<string,mixed> $options
42+
* @link https://wechatpay.im/openapi/v3/fund-app/mch-transfer/transfer-to-qq-wallet-bills
43+
*/
44+
public function postAsync(array $options = [
45+
'json' => [
46+
'appid' => '102022609',
47+
'out_bill_no' => 'plfk2020042013',
48+
'openid' => 'o-MYE42l80oelYMDE34nYD456Xoy',
49+
'user_qq' => '490379403',
50+
'user_name' => '757b340b45ebef5467rter35gf464344v3542sdf4t6re4tb4f54ty45t4yyry45',
51+
'transfer_amount' => 400000,
52+
'transfer_remark' => '2020年4月报销',
53+
'notify_url' => 'https://www.weixin.qq.com/wxpay/pay.php',
54+
'transfer_scene_id' => '1401',
55+
'transfer_scene_report_infos' => [[
56+
'info_type' => '活动名称',
57+
'info_content' => '注册会员有礼',
58+
],],
59+
],
60+
'headers' => [
61+
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
62+
],
63+
]): PromiseInterface;
64+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\FundApp\MchTransfer\TransferToQqWalletBills;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
* @property-read _out_bill_no_\Cancel $cancel
10+
*/
11+
interface _out_bill_no_
12+
{
13+
/**
14+
* 查询转账到QQ钱包的结果(同步模式)
15+
* @param array<string,mixed> $options
16+
* @link https://wechatpay.im/openapi/v3/fund-app/mch-transfer/transfer-to-qq-wallet-bills/%7Bout_bill_no%7D
17+
*/
18+
public function get(array $options = [
19+
'out_bill_no' => 'plfk2020042013',
20+
]): ResponseInterface;
21+
22+
/**
23+
* 查询转账到QQ钱包的结果(异步模式)
24+
* @param array<string,mixed> $options
25+
* @link https://wechatpay.im/openapi/v3/fund-app/mch-transfer/transfer-to-qq-wallet-bills/%7Bout_bill_no%7D
26+
*/
27+
public function getAsync(array $options = [
28+
'out_bill_no' => 'plfk2020042013',
29+
]): PromiseInterface;
30+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\FundApp\MchTransfer\TransferToQqWalletBills\_out_bill_no_;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface Cancel
11+
{
12+
/**
13+
* 撤销转账到QQ钱包(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/fund-app/mch-transfer/transfer-to-qq-wallet-bills/%7Bout_bill_no%7D/cancel
16+
*/
17+
public function post(array $options = [
18+
'out_bill_no' => 'plfk2020042013',
19+
]): ResponseInterface;
20+
21+
/**
22+
* 撤销转账到QQ钱包(异步模式)
23+
* @param array<string,mixed> $options
24+
* @link https://wechatpay.im/openapi/v3/fund-app/mch-transfer/transfer-to-qq-wallet-bills/%7Bout_bill_no%7D/cancel
25+
*/
26+
public function postAsync(array $options = [
27+
'out_bill_no' => 'plfk2020042013',
28+
]): PromiseInterface;
29+
}

0 commit comments

Comments
 (0)