Skip to content

Commit 1754383

Browse files
微信刷掌
1 parent 68d732d commit 1754383

6 files changed

Lines changed: 104 additions & 0 deletions

File tree

src/V3.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* @property-read V3\PartnerTransfer $partnerTransfer
2828
* @property-read V3\PartnerPapay $partnerPapay
2929
* @property-read V3\Papay $papay
30+
* @property-read V3\Palmservice $palmservice
3031
* @property-read V3\Offlinefacemch $offlinefacemch
3132
* @property-read V3\Offlineface $offlineface
3233
* @property-read V3\NewTaxControlFapiao $newTaxControlFapiao

src/V3/Palmservice.php

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;
4+
5+
/**
6+
* @property-read Palmservice\Authorization $authorization
7+
*/
8+
interface Palmservice
9+
{
10+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Palmservice;
4+
5+
/**
6+
* @property-read Authorization\Openid $openid
7+
* @property-read Authorization\Preauthorize $preauthorize
8+
*/
9+
interface Authorization
10+
{
11+
}
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\Palmservice\Authorization;
4+
5+
/**
6+
* @property-read Openid\_openid_ $_openid_
7+
*/
8+
interface Openid
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\Palmservice\Authorization\Openid;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface _openid_
11+
{
12+
/**
13+
* 查询刷掌授权(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/palmservice/authorization/openid/%7Bopenid%7D
16+
*/
17+
public function get(array $options = [
18+
'openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
19+
'query' => [
20+
'organization_id' => '1004',
21+
],
22+
]): ResponseInterface;
23+
24+
/**
25+
* 查询刷掌授权(异步模式)
26+
* @param array<string,mixed> $options
27+
* @link https://wechatpay.im/openapi/v3/palmservice/authorization/openid/%7Bopenid%7D
28+
*/
29+
public function getAsync(array $options = [
30+
'openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
31+
'query' => [
32+
'organization_id' => '1004',
33+
],
34+
]): PromiseInterface;
35+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Palmservice\Authorization;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface Preauthorize
11+
{
12+
/**
13+
* 服务关联预授权(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/palmservice/authorization/preauthorize
16+
*/
17+
public function post(array $options = [
18+
'json' => [
19+
'openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
20+
'preauthorize_session_id' => '181167098309019291163',
21+
'organization_id' => '1004',
22+
],
23+
]): ResponseInterface;
24+
25+
/**
26+
* 服务关联预授权(异步模式)
27+
* @param array<string,mixed> $options
28+
* @link https://wechatpay.im/openapi/v3/palmservice/authorization/preauthorize
29+
*/
30+
public function postAsync(array $options = [
31+
'json' => [
32+
'openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
33+
'preauthorize_session_id' => '181167098309019291163',
34+
'organization_id' => '1004',
35+
],
36+
]): PromiseInterface;
37+
}

0 commit comments

Comments
 (0)