Skip to content

Commit af9dfca

Browse files
A: src/V3/[PayDevices/OpenScenarioSpeaker|IndustryRebate]*`
1 parent 704a480 commit af9dfca

11 files changed

Lines changed: 263 additions & 0 deletions

File tree

src/V3/IndustryRebate.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 IndustryRebate\Transactions $transactions
7+
*/
8+
interface IndustryRebate
9+
{
10+
}
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\IndustryRebate;
4+
5+
/**
6+
* @property-read Transactions\_transaction_id_ $_transaction_id_
7+
*/
8+
interface Transactions
9+
{
10+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\IndustryRebate\Transactions;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface _transaction_id_
11+
{
12+
/**
13+
* 支付码牌/点餐码牌交易回传(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/industry-rebate/transactions/%7Btransaction_id%7D
16+
*/
17+
public function post(array $options = [
18+
'transaction_id' => '20190611222222222200000000012122',
19+
'json' => [
20+
'sub_mchid' => '1900000001',
21+
'code_url' => 'URl:weixin://wxpay/s/An4baqw',
22+
'out_trade_no' => 'example_out_trade_no',
23+
],
24+
]): ResponseInterface;
25+
26+
/**
27+
* 支付码牌/点餐码牌交易回传(异步模式)
28+
* @param array<string,mixed> $options
29+
* @link https://wechatpay.im/openapi/v3/industry-rebate/transactions/%7Btransaction_id%7D
30+
*/
31+
public function postAsync(array $options = [
32+
'transaction_id' => '20190611222222222200000000012122',
33+
'json' => [
34+
'sub_mchid' => '1900000001',
35+
'code_url' => 'URl:weixin://wxpay/s/An4baqw',
36+
'out_trade_no' => 'example_out_trade_no',
37+
],
38+
]): PromiseInterface;
39+
}
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\PayDevices;
4+
5+
/**
6+
* @property-read OpenScenarioSpeaker\_device_sn_ $_device_sn_
7+
*/
8+
interface OpenScenarioSpeaker
9+
{
10+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\PayDevices\OpenScenarioSpeaker;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
* @property-read _device_sn_\Bind $bind
10+
* @property-read _device_sn_\Prebind $prebind
11+
* @property-read _device_sn_\Unbind $unbind
12+
*/
13+
interface _device_sn_
14+
{
15+
/**
16+
* 查询音箱绑定信息(同步模式)
17+
* @param array<string,mixed> $options
18+
* @link https://wechatpay.im/openapi/v3/pay-devices/open-scenario-speaker/%7Bdevice_sn%7D
19+
*/
20+
public function get(array $options = [
21+
'device_sn' => 'ABCDEF',
22+
]): ResponseInterface;
23+
24+
/**
25+
* 查询音箱绑定信息(异步模式)
26+
* @param array<string,mixed> $options
27+
* @link https://wechatpay.im/openapi/v3/pay-devices/open-scenario-speaker/%7Bdevice_sn%7D
28+
*/
29+
public function getAsync(array $options = [
30+
'device_sn' => 'ABCDEF',
31+
]): PromiseInterface;
32+
}
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\PayDevices\OpenScenarioSpeaker\_device_sn_;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface Bind
11+
{
12+
/**
13+
* 绑定音箱设备码牌(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/pay-devices/open-scenario-speaker/%7Bdevice_sn%7D/bind
16+
*/
17+
public function post(array $options = [
18+
'device_sn' => 'ABCDEF',
19+
'json' => [
20+
'sub_mchid' => '1900000001',
21+
'code_url' => 'URl:weixin://wxpay/s/An4baqw',
22+
],
23+
]): ResponseInterface;
24+
25+
/**
26+
* 绑定音箱设备码牌(异步模式)
27+
* @param array<string,mixed> $options
28+
* @link https://wechatpay.im/openapi/v3/pay-devices/open-scenario-speaker/%7Bdevice_sn%7D/bind
29+
*/
30+
public function postAsync(array $options = [
31+
'device_sn' => 'ABCDEF',
32+
'json' => [
33+
'sub_mchid' => '1900000001',
34+
'code_url' => 'URl:weixin://wxpay/s/An4baqw',
35+
],
36+
]): PromiseInterface;
37+
}
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\PayDevices\OpenScenarioSpeaker\_device_sn_;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface Prebind
11+
{
12+
/**
13+
* 出厂预绑定音箱和码牌(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/pay-devices/open-scenario-speaker/%7Bdevice_sn%7D/prebind
16+
*/
17+
public function post(array $options = [
18+
'device_sn' => 'ABCDEF',
19+
'json' => [
20+
'code_url' => 'URl:weixin://wxpay/s/An4baqw',
21+
],
22+
]): ResponseInterface;
23+
24+
/**
25+
* 出厂预绑定音箱和码牌(异步模式)
26+
* @param array<string,mixed> $options
27+
* @link https://wechatpay.im/openapi/v3/pay-devices/open-scenario-speaker/%7Bdevice_sn%7D/prebind
28+
*/
29+
public function postAsync(array $options = [
30+
'device_sn' => 'ABCDEF',
31+
'json' => [
32+
'code_url' => 'URl:weixin://wxpay/s/An4baqw',
33+
],
34+
]): PromiseInterface;
35+
}
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\PayDevices\OpenScenarioSpeaker\_device_sn_;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface Unbind
11+
{
12+
/**
13+
* 解绑音箱设备码牌(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/pay-devices/open-scenario-speaker/%7Bdevice_sn%7D/unbind
16+
*/
17+
public function post(array $options = [
18+
'device_sn' => 'ABCDEF',
19+
]): ResponseInterface;
20+
21+
/**
22+
* 解绑音箱设备码牌(异步模式)
23+
* @param array<string,mixed> $options
24+
* @link https://wechatpay.im/openapi/v3/pay-devices/open-scenario-speaker/%7Bdevice_sn%7D/unbind
25+
*/
26+
public function postAsync(array $options = [
27+
'device_sn' => 'ABCDEF',
28+
]): PromiseInterface;
29+
}
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\PayDevices;
4+
5+
/**
6+
* @property-read OpenScenarioSpeakerorder\_transaction_id_ $_transaction_id_
7+
*/
8+
interface OpenScenarioSpeakerorder
9+
{
10+
}
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\PayDevices\OpenScenarioSpeakerorder;
4+
5+
/**
6+
* @property-read _transaction_id_\Report $report
7+
*/
8+
interface _transaction_id_
9+
{
10+
}

0 commit comments

Comments
 (0)