Skip to content

Commit 84f58df

Browse files
A: src/V3/Security/Echo_.php
1 parent 1f0ee08 commit 84f58df

3 files changed

Lines changed: 54 additions & 0 deletions

File tree

src/V3.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* @property-read V3\TaxiInvoice $taxiInvoice
1414
* @property-read V3\Smartguide $smartguide
1515
* @property-read V3\Settle $settle
16+
* @property-read V3\Security $security
1617
* @property-read V3\Repayment $repayment
1718
* @property-read V3\Refunds $refunds
1819
* @property-read V3\Refund $refund

src/V3/Security.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 Security\Echo_ $echo
7+
*/
8+
interface Security
9+
{
10+
}

src/V3/Security/Echo_.php

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */
2+
3+
namespace WeChatPay\OpenAPI\V3\Security;
4+
5+
use Psr\Http\Message\ResponseInterface;
6+
use GuzzleHttp\Promise\PromiseInterface;
7+
8+
/**
9+
*/
10+
interface Echo_
11+
{
12+
/**
13+
* 商户签名验签/加解密测试(同步模式)
14+
* @param array<string,mixed> $options
15+
* @link https://wechatpay.im/openapi/v3/security/echo
16+
*/
17+
public function post(array $options = [
18+
'json' => [
19+
'notify_url' => 'https://www.weixin.qq.com/v3/test',
20+
'echo_message' => '',
21+
'encrypted_echo_message' => '',
22+
],
23+
'headers' => [
24+
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
25+
],
26+
]): ResponseInterface;
27+
28+
/**
29+
* 商户签名验签/加解密测试(异步模式)
30+
* @param array<string,mixed> $options
31+
* @link https://wechatpay.im/openapi/v3/security/echo
32+
*/
33+
public function postAsync(array $options = [
34+
'json' => [
35+
'notify_url' => 'https://www.weixin.qq.com/v3/test',
36+
'echo_message' => '',
37+
'encrypted_echo_message' => '',
38+
],
39+
'headers' => [
40+
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
41+
],
42+
]): PromiseInterface;
43+
}

0 commit comments

Comments
 (0)