Skip to content

Commit c420559

Browse files
A: src/V3/Global_/MerchantService*
1 parent 5a0f956 commit c420559

15 files changed

Lines changed: 426 additions & 12 deletions

File tree

src/V2/Wxv/Changerentmoney.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function post(array $options = [
2525
'service_id' => '',
2626
'total_amount' => '40000',
2727
'rent_fee' => '5800',
28-
'compensation_fee' => '赔偿金费用和租金金额二者必须填写其中一个。赔偿金费用和赔偿金费用说明必须一起填写,单位:分必须>0,传入表示需要扣赔偿金传入表示需要扣赔偿金物品已归还——用户对物品产生了破坏行为造成的损失费用。物品未归还——未还物品费用。传入为0报错.',
28+
'compensation_fee' => '6000',
2929
'compensation_fee_desc' => '充电宝有轻微损坏,赔偿30%押金',
3030
],
3131
'security' => true,
@@ -47,7 +47,7 @@ public function postAsync(array $options = [
4747
'service_id' => '',
4848
'total_amount' => '40000',
4949
'rent_fee' => '5800',
50-
'compensation_fee' => '赔偿金费用和租金金额二者必须填写其中一个。赔偿金费用和赔偿金费用说明必须一起填写,单位:分必须>0,传入表示需要扣赔偿金传入表示需要扣赔偿金物品已归还——用户对物品产生了破坏行为造成的损失费用。物品未归还——未还物品费用。传入为0报错.',
50+
'compensation_fee' => '6000',
5151
'compensation_fee_desc' => '充电宝有轻微损坏,赔偿30%押金',
5252
],
5353
'security' => true,

src/V3/Brand/Partner/Store/Brandstores/_store_id_.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public function deleteAsync(array $options = [
4545
public function patch(array $options = [
4646
'store_id' => '20488000',
4747
'json' => [
48+
'brand_id' => '123456789',
4849
'store_basics' => [
4950
'store_reference_id' => 'MDL001',
5051
'branch_name' => '海岸城店',
@@ -71,6 +72,7 @@ public function patch(array $options = [
7172
public function patchAsync(array $options = [
7273
'store_id' => '20488000',
7374
'json' => [
75+
'brand_id' => '123456789',
7476
'store_basics' => [
7577
'store_reference_id' => 'MDL001',
7678
'branch_name' => '海岸城店',

src/V3/CombineTransactions/App.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ public function post(array $options = [
4444
'sub_appid' => 'wxd678efh567hg6999',
4545
],],
4646
'combine_payer_info' => [
47-
'openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
4847
'identity' => [
4948
'type' => 'IDCARD',
5049
'number' => '6B46824C852FA29AAC3DCE6BFD852E27',
@@ -115,7 +114,6 @@ public function postAsync(array $options = [
115114
'sub_appid' => 'wxd678efh567hg6999',
116115
],],
117116
'combine_payer_info' => [
118-
'openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
119117
'identity' => [
120118
'type' => 'IDCARD',
121119
'number' => '6B46824C852FA29AAC3DCE6BFD852E27',

src/V3/Global_.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* @property-read Global_\Micropay $micropay
1313
* @property-read Global_\Merchants $merchants
1414
* @property-read Global_\MerchantStorage $merchantStorage
15+
* @property-read Global_\MerchantService $merchantService
1516
* @property-read Global_\Merchant $merchant
1617
* @property-read Global_\Customs $customs
1718
* @property-read Global_\Certificates $certificates

src/V3/Global_/MerchantService.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Global_;
4+
5+
/**
6+
* @property-read MerchantService\Images $images
7+
* @property-read MerchantService\Complaints $complaints
8+
* @property-read MerchantService\ComplaintNotifications $complaintNotifications
9+
*/
10+
interface MerchantService
11+
{
12+
}
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Global_\MerchantService;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface ComplaintNotifications
11+
{
12+
/**
13+
* 创建投诉通知回调(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/global/merchant-service/complaint-notifications
16+
*/
17+
public function post(array $options = [
18+
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 跨境(香港接入)
19+
'json' => [
20+
'url' => 'https://www.xxx.com/notify',
21+
],
22+
]): ResponseInterface;
23+
24+
/**
25+
* 创建投诉通知回调(异步模式)
26+
* @param array<string,mixed> $options
27+
* @link https://wechatpay.im/openapi/v3/global/merchant-service/complaint-notifications
28+
*/
29+
public function postAsync(array $options = [
30+
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 跨境(香港接入)
31+
'json' => [
32+
'url' => 'https://www.xxx.com/notify',
33+
],
34+
]): PromiseInterface;
35+
36+
/**
37+
* 查询投诉通知回调(同步模式)
38+
* @param array<string,mixed> $options
39+
* @link https://wechatpay.im/openapi/v3/global/merchant-service/complaint-notifications#get
40+
*/
41+
public function get(array $options = [
42+
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 跨境(香港接入)
43+
]): ResponseInterface;
44+
45+
/**
46+
* 查询投诉通知回调(异步模式)
47+
* @param array<string,mixed> $options
48+
* @link https://wechatpay.im/openapi/v3/global/merchant-service/complaint-notifications#get
49+
*/
50+
public function getAsync(array $options = [
51+
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 跨境(香港接入)
52+
]): PromiseInterface;
53+
54+
/**
55+
* 更新投诉通知回调(同步模式)
56+
* @param array<string,mixed> $options
57+
* @link https://wechatpay.im/openapi/v3/global/merchant-service/complaint-notifications#put
58+
*/
59+
public function put(array $options = [
60+
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 跨境(香港接入)
61+
'json' => [
62+
'url' => 'https://www.xxx.com/notify',
63+
],
64+
]): ResponseInterface;
65+
66+
/**
67+
* 更新投诉通知回调(异步模式)
68+
* @param array<string,mixed> $options
69+
* @link https://wechatpay.im/openapi/v3/global/merchant-service/complaint-notifications#put
70+
*/
71+
public function putAsync(array $options = [
72+
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 跨境(香港接入)
73+
'json' => [
74+
'url' => 'https://www.xxx.com/notify',
75+
],
76+
]): PromiseInterface;
77+
78+
/**
79+
* 删除投诉通知回调(同步模式)
80+
* @param array<string,mixed> $options
81+
* @link https://wechatpay.im/openapi/v3/global/merchant-service/complaint-notifications#delete
82+
*/
83+
public function delete(array $options = [
84+
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 跨境(香港接入)
85+
]): ResponseInterface;
86+
87+
/**
88+
* 删除投诉通知回调(异步模式)
89+
* @param array<string,mixed> $options
90+
* @link https://wechatpay.im/openapi/v3/global/merchant-service/complaint-notifications#delete
91+
*/
92+
public function deleteAsync(array $options = [
93+
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 跨境(香港接入)
94+
]): PromiseInterface;
95+
}
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\Global_\MerchantService;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
* @property-read Complaints\_complaint_id_ $_complaint_id_
10+
*/
11+
interface Complaints
12+
{
13+
/**
14+
* 查询投诉单列表(同步模式)
15+
* @param array<string,mixed> $options
16+
* @link https://wechatpay.im/openapi/v3/global/merchant-service/complaints
17+
*/
18+
public function get(array $options = [
19+
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 跨境(香港接入)
20+
'query' => [
21+
'limit' => 5,
22+
'offset' => 10,
23+
'begin_date' => '2019-01-01',
24+
'end_date' => '2019-01-01',
25+
'complainted_mchid' => '1900012181',
26+
'mch_language' => 'zh_CN',
27+
],
28+
]): ResponseInterface;
29+
30+
/**
31+
* 查询投诉单列表(异步模式)
32+
* @param array<string,mixed> $options
33+
* @link https://wechatpay.im/openapi/v3/global/merchant-service/complaints
34+
*/
35+
public function getAsync(array $options = [
36+
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 跨境(香港接入)
37+
'query' => [
38+
'limit' => 5,
39+
'offset' => 10,
40+
'begin_date' => '2019-01-01',
41+
'end_date' => '2019-01-01',
42+
'complainted_mchid' => '1900012181',
43+
'mch_language' => 'zh_CN',
44+
],
45+
]): PromiseInterface;
46+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Global_\MerchantService\Complaints;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
* @property-read _complaint_id_\Complete $complete
10+
* @property-read _complaint_id_\NegotiationHistorys $negotiationHistorys
11+
* @property-read _complaint_id_\Response $response
12+
*/
13+
interface _complaint_id_
14+
{
15+
/**
16+
* 查询投诉单详情(同步模式)
17+
* @param array<string,mixed> $options
18+
* @link https://wechatpay.im/openapi/v3/global/merchant-service/complaints/%7Bcomplaint_id%7D
19+
*/
20+
public function get(array $options = [
21+
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 跨境(香港接入)
22+
'complaint_id' => '200201820200101080076610000',
23+
'query' => [
24+
'mch_language' => 'zh_CN',
25+
],
26+
]): ResponseInterface;
27+
28+
/**
29+
* 查询投诉单详情(异步模式)
30+
* @param array<string,mixed> $options
31+
* @link https://wechatpay.im/openapi/v3/global/merchant-service/complaints/%7Bcomplaint_id%7D
32+
*/
33+
public function getAsync(array $options = [
34+
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 跨境(香港接入)
35+
'complaint_id' => '200201820200101080076610000',
36+
'query' => [
37+
'mch_language' => 'zh_CN',
38+
],
39+
]): PromiseInterface;
40+
}
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\Global_\MerchantService\Complaints\_complaint_id_;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface Complete
11+
{
12+
/**
13+
* 反馈处理完成(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/global/merchant-service/complaints/%7Bcomplaint_id%7D/complete
16+
*/
17+
public function post(array $options = [
18+
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 跨境(香港接入)
19+
'complaint_id' => '200201820200101080076610000',
20+
'json' => [
21+
'complainted_mchid' => '1900012181',
22+
],
23+
]): ResponseInterface;
24+
25+
/**
26+
* 反馈处理完成(异步模式)
27+
* @param array<string,mixed> $options
28+
* @link https://wechatpay.im/openapi/v3/global/merchant-service/complaints/%7Bcomplaint_id%7D/complete
29+
*/
30+
public function postAsync(array $options = [
31+
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 跨境(香港接入)
32+
'complaint_id' => '200201820200101080076610000',
33+
'json' => [
34+
'complainted_mchid' => '1900012181',
35+
],
36+
]): PromiseInterface;
37+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Global_\MerchantService\Complaints\_complaint_id_;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface NegotiationHistorys
11+
{
12+
/**
13+
* 查询投诉协商历史(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/global/merchant-service/complaints/%7Bcomplaint_id%7D/negotiation-historys
16+
*/
17+
public function get(array $options = [
18+
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 跨境(香港接入)
19+
'complaint_id' => '200201820200101080076610000',
20+
'query' => [
21+
'limit' => 50,
22+
'offset' => 10,
23+
'mch_language' => 'zh_CN',
24+
],
25+
]): ResponseInterface;
26+
27+
/**
28+
* 查询投诉协商历史(异步模式)
29+
* @param array<string,mixed> $options
30+
* @link https://wechatpay.im/openapi/v3/global/merchant-service/complaints/%7Bcomplaint_id%7D/negotiation-historys
31+
*/
32+
public function getAsync(array $options = [
33+
'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 跨境(香港接入)
34+
'complaint_id' => '200201820200101080076610000',
35+
'query' => [
36+
'limit' => 50,
37+
'offset' => 10,
38+
'mch_language' => 'zh_CN',
39+
],
40+
]): PromiseInterface;
41+
}

0 commit comments

Comments
 (0)