Skip to content

Commit 9ff3eef

Browse files
A: src/V3/Ecommerce/IndividualContracts/PreEntrustSign[WithRealNameIdentity]/*
1 parent f97db5d commit 9ff3eef

6 files changed

Lines changed: 146 additions & 0 deletions

File tree

src/V3/Ecommerce/IndividualContracts.php

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

55
/**
6+
* @property-read IndividualContracts\PreEntrustSignWithRealNameIdentity $preEntrustSignWithRealNameIdentity
67
* @property-read IndividualContracts\PreEntrustSign $preEntrustSign
78
* @property-read IndividualContracts\OutContractCode $outContractCode
89
* @property-read IndividualContracts\_openid_ $_openid_

src/V3/Ecommerce/IndividualContracts/PreEntrustSign.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
/**
66
* @property-read PreEntrustSign\App $app
7+
* @property-read PreEntrustSign\MiniProgram $miniProgram
78
*/
89
interface PreEntrustSign
910
{
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\Ecommerce\IndividualContracts\PreEntrustSign;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface MiniProgram
11+
{
12+
/**
13+
* 小程序场景预签约(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/ecommerce/individual-contracts/pre-entrust-sign/mini-program
16+
*/
17+
public function post(array $options = [
18+
'json' => [
19+
'appid' => 'wxd678efh567h23787',
20+
'out_contract_code' => 'APPLYMENT_00000000001',
21+
'openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
22+
],
23+
]): ResponseInterface;
24+
25+
/**
26+
* 小程序场景预签约(异步模式)
27+
* @param array<string,mixed> $options
28+
* @link https://wechatpay.im/openapi/v3/ecommerce/individual-contracts/pre-entrust-sign/mini-program
29+
*/
30+
public function postAsync(array $options = [
31+
'json' => [
32+
'appid' => 'wxd678efh567h23787',
33+
'out_contract_code' => 'APPLYMENT_00000000001',
34+
'openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
35+
],
36+
]): PromiseInterface;
37+
}
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\Ecommerce\IndividualContracts;
4+
5+
/**
6+
* @property-read PreEntrustSignWithRealNameIdentity\App $app
7+
* @property-read PreEntrustSignWithRealNameIdentity\MiniProgram $miniProgram
8+
*/
9+
interface PreEntrustSignWithRealNameIdentity
10+
{
11+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Ecommerce\IndividualContracts\PreEntrustSignWithRealNameIdentity;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface App
11+
{
12+
/**
13+
* APP场景预签约(需要实名验证)(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/ecommerce/individual-contracts/pre-entrust-sign-with-real-name-identity/app
16+
*/
17+
public function post(array $options = [
18+
'json' => [
19+
'appid' => 'wxd678efh567h23787',
20+
'out_contract_code' => 'APPLYMENT_00000000001',
21+
'real_name' => 'pVd1HJ6zyvPedzGaV+X3qtmrq9bb9tP',
22+
'cred_type' => 'ID_CARD',
23+
'cred_id' => 'MZnwEx6zotwIz6ctW2/iQL5z9',
24+
],
25+
'headers' => [
26+
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
27+
],
28+
]): ResponseInterface;
29+
30+
/**
31+
* APP场景预签约(需要实名验证)(异步模式)
32+
* @param array<string,mixed> $options
33+
* @link https://wechatpay.im/openapi/v3/ecommerce/individual-contracts/pre-entrust-sign-with-real-name-identity/app
34+
*/
35+
public function postAsync(array $options = [
36+
'json' => [
37+
'appid' => 'wxd678efh567h23787',
38+
'out_contract_code' => 'APPLYMENT_00000000001',
39+
'real_name' => 'pVd1HJ6zyvPedzGaV+X3qtmrq9bb9tP',
40+
'cred_type' => 'ID_CARD',
41+
'cred_id' => 'MZnwEx6zotwIz6ctW2/iQL5z9',
42+
],
43+
'headers' => [
44+
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
45+
],
46+
]): PromiseInterface;
47+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Ecommerce\IndividualContracts\PreEntrustSignWithRealNameIdentity;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface MiniProgram
11+
{
12+
/**
13+
* 小程序场景预签约(需要实名验证)(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/ecommerce/individual-contracts/pre-entrust-sign-with-real-name-identity/mini-program
16+
*/
17+
public function post(array $options = [
18+
'json' => [
19+
'appid' => 'wxd678efh567h23787',
20+
'out_contract_code' => 'APPLYMENT_00000000001',
21+
'openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
22+
'real_name' => 'pVd1HJ6zyvPedzGaV+X3qtmrq9bb9tP',
23+
'cred_type' => 'ID_CARD',
24+
'cred_id' => 'MZnwEx6zotwIz6ctW2/iQL5z9',
25+
],
26+
'headers' => [
27+
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
28+
],
29+
]): ResponseInterface;
30+
31+
/**
32+
* 小程序场景预签约(需要实名验证)(异步模式)
33+
* @param array<string,mixed> $options
34+
* @link https://wechatpay.im/openapi/v3/ecommerce/individual-contracts/pre-entrust-sign-with-real-name-identity/mini-program
35+
*/
36+
public function postAsync(array $options = [
37+
'json' => [
38+
'appid' => 'wxd678efh567h23787',
39+
'out_contract_code' => 'APPLYMENT_00000000001',
40+
'openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
41+
'real_name' => 'pVd1HJ6zyvPedzGaV+X3qtmrq9bb9tP',
42+
'cred_type' => 'ID_CARD',
43+
'cred_id' => 'MZnwEx6zotwIz6ctW2/iQL5z9',
44+
],
45+
'headers' => [
46+
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
47+
],
48+
]): PromiseInterface;
49+
}

0 commit comments

Comments
 (0)