|
| 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 | +} |
0 commit comments