Skip to content

Commit e8eefb3

Browse files
A: src/V3/Platsolution/Ecommerce/Withdraw/*
1 parent b137127 commit e8eefb3

5 files changed

Lines changed: 102 additions & 0 deletions

File tree

src/V3/Platsolution/Ecommerce.php

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

55
/**
6+
* @property-read Ecommerce\Withdraw $withdraw
67
* @property-read Ecommerce\Settle $settle
78
* @property-read Ecommerce\Recharges $recharges
89
* @property-read Ecommerce\RechargeEmployees $rechargeEmployees
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Platsolution\Ecommerce;
4+
5+
/**
6+
* @property-read Withdraw\DayEndBalanceWithdraw $dayEndBalanceWithdraw
7+
*/
8+
interface Withdraw
9+
{
10+
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Platsolution\Ecommerce\Withdraw;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
* @property-read DayEndBalanceWithdraw\OutRequestNo $outRequestNo
10+
*/
11+
interface DayEndBalanceWithdraw
12+
{
13+
/**
14+
* 二级商户按日终余额预约提现(同步模式)
15+
* @param array<string,mixed> $options
16+
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/withdraw/day-end-balance-withdraw
17+
*/
18+
public function post(array $options = [
19+
'json' => [
20+
'sub_mchid' => '1900000109',
21+
'out_request_no' => '20190611222222222200000000012122',
22+
'calculate_amount_type' => 'ONLY_DAY_END_BALANCE',
23+
'remark' => '交易提现',
24+
'bank_memo' => '微信支付提现',
25+
'notify_url' => 'https://yourapp.com/notify',
26+
'reserve_amount' => 100,
27+
],
28+
]): ResponseInterface;
29+
30+
/**
31+
* 二级商户按日终余额预约提现(异步模式)
32+
* @param array<string,mixed> $options
33+
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/withdraw/day-end-balance-withdraw
34+
*/
35+
public function postAsync(array $options = [
36+
'json' => [
37+
'sub_mchid' => '1900000109',
38+
'out_request_no' => '20190611222222222200000000012122',
39+
'calculate_amount_type' => 'ONLY_DAY_END_BALANCE',
40+
'remark' => '交易提现',
41+
'bank_memo' => '微信支付提现',
42+
'notify_url' => 'https://yourapp.com/notify',
43+
'reserve_amount' => 100,
44+
],
45+
]): PromiseInterface;
46+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Platsolution\Ecommerce\Withdraw\DayEndBalanceWithdraw;
4+
5+
/**
6+
* @property-read OutRequestNo\_out_request_no_ $_out_request_no_
7+
*/
8+
interface OutRequestNo
9+
{
10+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Platsolution\Ecommerce\Withdraw\DayEndBalanceWithdraw\OutRequestNo;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface _out_request_no_
11+
{
12+
/**
13+
* 查询二级商户按日终余额预约提现状态(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/withdraw/day-end-balance-withdraw/out-request-no/%7Bout_request_no%7D
16+
*/
17+
public function get(array $options = [
18+
'out_request_no' => '20190611222222222200000000012122',
19+
'query' => [
20+
'sub_mchid' => '1900000109',
21+
],
22+
]): ResponseInterface;
23+
24+
/**
25+
* 查询二级商户按日终余额预约提现状态(异步模式)
26+
* @param array<string,mixed> $options
27+
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/withdraw/day-end-balance-withdraw/out-request-no/%7Bout_request_no%7D
28+
*/
29+
public function getAsync(array $options = [
30+
'out_request_no' => '20190611222222222200000000012122',
31+
'query' => [
32+
'sub_mchid' => '1900000109',
33+
],
34+
]): PromiseInterface;
35+
}

0 commit comments

Comments
 (0)