Skip to content

Commit f8d31d2

Browse files
A: src/V3/Brand/Partner/Store/Brandstores/_store_id_/[Close|Resume].php`
1 parent de43eb1 commit f8d31d2

4 files changed

Lines changed: 100 additions & 0 deletions

File tree

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,32 @@ public function postAsync(array $options = [
6161
],
6262
],
6363
]): PromiseInterface;
64+
65+
/**
66+
* 列表查询品牌门店信息(同步模式)
67+
* @param array<string,mixed> $options
68+
* @link https://wechatpay.im/openapi/v3/brand/partner/store/brandstores#get
69+
*/
70+
public function get(array $options = [
71+
'query' => [
72+
'brand_id' => '120344',
73+
'store_state' => 'OPEN',
74+
'offset' => 100,
75+
'limit' => 50,
76+
],
77+
]): ResponseInterface;
78+
79+
/**
80+
* 列表查询品牌门店信息(异步模式)
81+
* @param array<string,mixed> $options
82+
* @link https://wechatpay.im/openapi/v3/brand/partner/store/brandstores#get
83+
*/
84+
public function getAsync(array $options = [
85+
'query' => [
86+
'brand_id' => '120344',
87+
'store_state' => 'OPEN',
88+
'offset' => 100,
89+
'limit' => 50,
90+
],
91+
]): PromiseInterface;
6492
}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
/**
99
* @property-read _store_id_\Bindrecipient $bindrecipient
10+
* @property-read _store_id_\Close $close
11+
* @property-read _store_id_\Resume $resume
1012
* @property-read _store_id_\Unbindrecipient $unbindrecipient
1113
*/
1214
interface _store_id_
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\Brand\Partner\Store\Brandstores\_store_id_;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface Close
11+
{
12+
/**
13+
* 暂停门店营业(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/brand/partner/store/brandstores/%7Bstore_id%7D/close
16+
*/
17+
public function post(array $options = [
18+
'store_id' => '20488000',
19+
'json' => [
20+
'brand_id' => '123456789',
21+
],
22+
]): ResponseInterface;
23+
24+
/**
25+
* 暂停门店营业(异步模式)
26+
* @param array<string,mixed> $options
27+
* @link https://wechatpay.im/openapi/v3/brand/partner/store/brandstores/%7Bstore_id%7D/close
28+
*/
29+
public function postAsync(array $options = [
30+
'store_id' => '20488000',
31+
'json' => [
32+
'brand_id' => '123456789',
33+
],
34+
]): PromiseInterface;
35+
}
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\Brand\Partner\Store\Brandstores\_store_id_;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface Resume
11+
{
12+
/**
13+
* 恢复门店营业(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/brand/partner/store/brandstores/%7Bstore_id%7D/resume
16+
*/
17+
public function post(array $options = [
18+
'store_id' => '20488000',
19+
'json' => [
20+
'brand_id' => '123456789',
21+
],
22+
]): ResponseInterface;
23+
24+
/**
25+
* 恢复门店营业(异步模式)
26+
* @param array<string,mixed> $options
27+
* @link https://wechatpay.im/openapi/v3/brand/partner/store/brandstores/%7Bstore_id%7D/resume
28+
*/
29+
public function postAsync(array $options = [
30+
'store_id' => '20488000',
31+
'json' => [
32+
'brand_id' => '123456789',
33+
],
34+
]): PromiseInterface;
35+
}

0 commit comments

Comments
 (0)