Skip to content

Commit 9cc49ff

Browse files
A: src/V3/Inspolicymgr*
1 parent 1b27750 commit 9cc49ff

10 files changed

Lines changed: 353 additions & 0 deletions

File tree

src/V3.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
* @property-read V3\Marketing $marketing
5151
* @property-read V3\Lovefeast $lovefeast
5252
* @property-read V3\Iotmanage $iotmanage
53+
* @property-read V3\Inspolicymgr $inspolicymgr
5354
* @property-read V3\IndustryRebate $industryRebate
5455
* @property-read V3\IndustryCoupon $industryCoupon
5556
* @property-read V3\HirePowerBank $hirePowerBank

src/V3/Inspolicymgr.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 Inspolicymgr\Deduct $deduct
7+
*/
8+
interface Inspolicymgr
9+
{
10+
}

src/V3/Inspolicymgr/Deduct.php

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\Inspolicymgr;
4+
5+
/**
6+
* @property-read Deduct\Policies $policies
7+
* @property-read Deduct\Authorizations $authorizations
8+
*/
9+
interface Deduct
10+
{
11+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Inspolicymgr\Deduct;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
* @property-read Authorizations\_out_insurance_no_ $_out_insurance_no_
10+
*/
11+
interface Authorizations
12+
{
13+
/**
14+
* 提交保单授权信息(同步模式)
15+
* @param array<string,mixed> $options
16+
* @link https://wechatpay.im/openapi/v3/inspolicymgr/deduct/authorizations
17+
*/
18+
public function post(array $options = [
19+
'json' => [
20+
'out_insurance_no' => 'Auisihsiahishishi4hihsid123418id',
21+
'appid' => 'wxd678efh567hg6787',
22+
'plan_id' => '12535',
23+
'out_contract_code' => 'wxwtdk20200910100000',
24+
'insurance_name' => '微医保·百万医疗险',
25+
],
26+
]): ResponseInterface;
27+
28+
/**
29+
* 提交保单授权信息(异步模式)
30+
* @param array<string,mixed> $options
31+
* @link https://wechatpay.im/openapi/v3/inspolicymgr/deduct/authorizations
32+
*/
33+
public function postAsync(array $options = [
34+
'json' => [
35+
'out_insurance_no' => 'Auisihsiahishishi4hihsid123418id',
36+
'appid' => 'wxd678efh567hg6787',
37+
'plan_id' => '12535',
38+
'out_contract_code' => 'wxwtdk20200910100000',
39+
'insurance_name' => '微医保·百万医疗险',
40+
],
41+
]): PromiseInterface;
42+
}
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\Inspolicymgr\Deduct\Authorizations;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface _auth_id_
11+
{
12+
/**
13+
* 查询保单授权信息(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/inspolicymgr/deduct/authorizations/%7Bauth_id%7D
16+
*/
17+
public function get(array $options = [
18+
'auth_id' => '5778aadY9nltAsZzXixCkFIGYnV2V',
19+
]): ResponseInterface;
20+
21+
/**
22+
* 查询保单授权信息(异步模式)
23+
* @param array<string,mixed> $options
24+
* @link https://wechatpay.im/openapi/v3/inspolicymgr/deduct/authorizations/%7Bauth_id%7D
25+
*/
26+
public function getAsync(array $options = [
27+
'auth_id' => '5778aadY9nltAsZzXixCkFIGYnV2V',
28+
]): PromiseInterface;
29+
}
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\Inspolicymgr\Deduct\Authorizations;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface _out_insurance_no_
11+
{
12+
/**
13+
* 查询保单授权信息(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/inspolicymgr/deduct/authorizations/%7Bout_insurance_no%7D
16+
*/
17+
public function get(array $options = [
18+
'out_insurance_no' => 'Auisihsiahishishi4hihsid123418id',
19+
]): ResponseInterface;
20+
21+
/**
22+
* 查询保单授权信息(异步模式)
23+
* @param array<string,mixed> $options
24+
* @link https://wechatpay.im/openapi/v3/inspolicymgr/deduct/authorizations/%7Bout_insurance_no%7D
25+
*/
26+
public function getAsync(array $options = [
27+
'out_insurance_no' => 'Auisihsiahishishi4hihsid123418id',
28+
]): PromiseInterface;
29+
}
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Inspolicymgr\Deduct;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
* @property-read Policies\_out_insurance_no_ $_out_insurance_no_
10+
*/
11+
interface Policies
12+
{
13+
/**
14+
* 上传保单(同步模式)
15+
* @param array<string,mixed> $options
16+
* @link https://wechatpay.im/openapi/v3/inspolicymgr/deduct/policies
17+
*/
18+
public function post(array $options = [
19+
'json' => [
20+
'out_insurance_no' => 'Auisihsiahishishi4hihsid123418id',
21+
'insured_name_list' => ['tCk1JSUV2QUlCQURBTkJna3Foa2lHOXc'],
22+
'insurance_company_code' => '1001',
23+
'effective_time' => '2025-09-21T17:11:12+08:00',
24+
'expired_time' => '2025-09-21T17:11:12+08:00',
25+
'coverage_detail' => '可保190种疾病,确诊一次性赔付',
26+
'support_renewal' => true,
27+
'start_renewal_time' => '2025-09-21T17:11:12+08:00',
28+
'end_renewal_time' => '2025-09-21T17:11:12+08:00',
29+
'policy_type' => 'POLICY_TYPE_OTHER',
30+
'car_number' => '粤B·AB123',
31+
'pet_name' => '小狗',
32+
'address' => '上海市浦东新区晨晖路1001号',
33+
'policy_state' => 'POLICY_STATE_ISSUING',
34+
'policy_code' => 'Coisihsiaxishishi4hihsid1ii411co',
35+
'plan_id' => 12535,
36+
'out_contract_code' => 'wxwtdk20200910100000',
37+
'policy_periods' => [1],
38+
'appid' => 'wxd678efh567hg6787',
39+
'openid' => 'oYobu0MVnQfWpSMOYJz2AHPG_gQw',
40+
],
41+
'headers' => [
42+
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
43+
],
44+
]): ResponseInterface;
45+
46+
/**
47+
* 上传保单(异步模式)
48+
* @param array<string,mixed> $options
49+
* @link https://wechatpay.im/openapi/v3/inspolicymgr/deduct/policies
50+
*/
51+
public function postAsync(array $options = [
52+
'json' => [
53+
'out_insurance_no' => 'Auisihsiahishishi4hihsid123418id',
54+
'insured_name_list' => ['tCk1JSUV2QUlCQURBTkJna3Foa2lHOXc'],
55+
'insurance_company_code' => '1001',
56+
'effective_time' => '2025-09-21T17:11:12+08:00',
57+
'expired_time' => '2025-09-21T17:11:12+08:00',
58+
'coverage_detail' => '可保190种疾病,确诊一次性赔付',
59+
'support_renewal' => true,
60+
'start_renewal_time' => '2025-09-21T17:11:12+08:00',
61+
'end_renewal_time' => '2025-09-21T17:11:12+08:00',
62+
'policy_type' => 'POLICY_TYPE_OTHER',
63+
'car_number' => '粤B·AB123',
64+
'pet_name' => '小狗',
65+
'address' => '上海市浦东新区晨晖路1001号',
66+
'policy_state' => 'POLICY_STATE_ISSUING',
67+
'policy_code' => 'Coisihsiaxishishi4hihsid1ii411co',
68+
'plan_id' => 12535,
69+
'out_contract_code' => 'wxwtdk20200910100000',
70+
'policy_periods' => [1],
71+
'appid' => 'wxd678efh567hg6787',
72+
'openid' => 'oYobu0MVnQfWpSMOYJz2AHPG_gQw',
73+
],
74+
'headers' => [
75+
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
76+
],
77+
]): PromiseInterface;
78+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Inspolicymgr\Deduct\Policies;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface Terminate
11+
{
12+
/**
13+
* 保单失效(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/inspolicymgr/deduct/policies/terminate
16+
*/
17+
public function post(array $options = [
18+
'json' => [
19+
'policy_id' => 'Poisihsiaxishishi4hihsid1ii411id',
20+
],
21+
]): ResponseInterface;
22+
23+
/**
24+
* 保单失效(异步模式)
25+
* @param array<string,mixed> $options
26+
* @link https://wechatpay.im/openapi/v3/inspolicymgr/deduct/policies/terminate
27+
*/
28+
public function postAsync(array $options = [
29+
'json' => [
30+
'policy_id' => 'Poisihsiaxishishi4hihsid1ii411id',
31+
],
32+
]): PromiseInterface;
33+
}
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Inspolicymgr\Deduct\Policies;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface _out_insurance_no_
11+
{
12+
/**
13+
* 查询保单(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/inspolicymgr/deduct/policies/%7Bout_insurance_no%7D
16+
*/
17+
public function get(array $options = [
18+
'out_insurance_no' => 'Auisihsiahishishi4hihsid123418id',
19+
]): ResponseInterface;
20+
21+
/**
22+
* 查询保单(异步模式)
23+
* @param array<string,mixed> $options
24+
* @link https://wechatpay.im/openapi/v3/inspolicymgr/deduct/policies/%7Bout_insurance_no%7D
25+
*/
26+
public function getAsync(array $options = [
27+
'out_insurance_no' => 'Auisihsiahishishi4hihsid123418id',
28+
]): PromiseInterface;
29+
30+
/**
31+
* 更新保单信息(同步模式)
32+
* @param array<string,mixed> $options
33+
* @link https://wechatpay.im/openapi/v3/inspolicymgr/deduct/policies/%7Bout_insurance_no%7D#patch
34+
*/
35+
public function patch(array $options = [
36+
'out_insurance_no' => 'Auisihsiahishishi4hihsid123418id',
37+
'json' => [
38+
'insured_name_list' => ['tCk1JSUV2QUlCQURBTkJna3Foa2lHOXc'],
39+
'insurance_name' => '微医保·百万医疗险',
40+
'effective_time' => '2025-09-21T17:11:12+08:00',
41+
'expired_time' => '2025-09-21T17:11:12+08:00',
42+
'coverage_detail' => '可保190种疾病,确诊一次性赔付',
43+
'support_renewal' => true,
44+
'start_renewal_time' => '2025-09-21T17:11:12+08:00',
45+
'end_renewal_time' => '2025-09-21T17:11:12+08:00',
46+
'policy_type' => 'POLICY_TYPE_OTHER',
47+
'car_number' => '粤B·AB123',
48+
'pet_name' => '小狗',
49+
'address' => '上海市浦东新区晨晖路1001号',
50+
'policy_state' => 'POLICY_STATE_ISSUING',
51+
'policy_code' => 'Coisihsiaxishishi4hihsid1ii411co',
52+
'plan_id' => 12535,
53+
'out_contract_code' => 'wxwtdk20200910100000',
54+
'policy_periods' => [1],
55+
],
56+
'headers' => [
57+
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
58+
],
59+
]): ResponseInterface;
60+
61+
/**
62+
* 更新保单信息(异步模式)
63+
* @param array<string,mixed> $options
64+
* @link https://wechatpay.im/openapi/v3/inspolicymgr/deduct/policies/%7Bout_insurance_no%7D#patch
65+
*/
66+
public function patchAsync(array $options = [
67+
'out_insurance_no' => 'Auisihsiahishishi4hihsid123418id',
68+
'json' => [
69+
'insured_name_list' => ['tCk1JSUV2QUlCQURBTkJna3Foa2lHOXc'],
70+
'insurance_name' => '微医保·百万医疗险',
71+
'effective_time' => '2025-09-21T17:11:12+08:00',
72+
'expired_time' => '2025-09-21T17:11:12+08:00',
73+
'coverage_detail' => '可保190种疾病,确诊一次性赔付',
74+
'support_renewal' => true,
75+
'start_renewal_time' => '2025-09-21T17:11:12+08:00',
76+
'end_renewal_time' => '2025-09-21T17:11:12+08:00',
77+
'policy_type' => 'POLICY_TYPE_OTHER',
78+
'car_number' => '粤B·AB123',
79+
'pet_name' => '小狗',
80+
'address' => '上海市浦东新区晨晖路1001号',
81+
'policy_state' => 'POLICY_STATE_ISSUING',
82+
'policy_code' => 'Coisihsiaxishishi4hihsid1ii411co',
83+
'plan_id' => 12535,
84+
'out_contract_code' => 'wxwtdk20200910100000',
85+
'policy_periods' => [1],
86+
],
87+
'headers' => [
88+
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
89+
],
90+
]): PromiseInterface;
91+
}
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\Inspolicymgr\Deduct\Policies;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface _policy_id_
11+
{
12+
/**
13+
* 查询保单(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/inspolicymgr/deduct/policies/%7Bpolicy_id%7D
16+
*/
17+
public function get(array $options = [
18+
'policy_id' => 'Poisihsiaxishishi4hihsid1ii411id',
19+
]): ResponseInterface;
20+
21+
/**
22+
* 查询保单(异步模式)
23+
* @param array<string,mixed> $options
24+
* @link https://wechatpay.im/openapi/v3/inspolicymgr/deduct/policies/%7Bpolicy_id%7D
25+
*/
26+
public function getAsync(array $options = [
27+
'policy_id' => 'Poisihsiaxishishi4hihsid1ii411id',
28+
]): PromiseInterface;
29+
}

0 commit comments

Comments
 (0)