|
| 1 | +<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ |
| 2 | + |
| 3 | +namespace WeChatPay\OpenAPI\V3\Pay\Instal\Partner; |
| 4 | + |
| 5 | +use Psr\Http\Message\ResponseInterface; |
| 6 | +use GuzzleHttp\Promise\PromiseInterface; |
| 7 | + |
| 8 | +/** |
| 9 | + */ |
| 10 | +interface Exposure |
| 11 | +{ |
| 12 | + /** |
| 13 | + * 商户贴息-获取微信分付曝光建议(同步模式) |
| 14 | + * @param array<string,mixed> $options |
| 15 | + * @link https://wechatpay.im/openapi/v3/pay/instal/partner/exposure |
| 16 | + */ |
| 17 | + public function post(array $options = [ |
| 18 | + 'json' => [ |
| 19 | + 'sp_mchid' => '1230000109', |
| 20 | + 'sp_appid' => 'wx8888888888888888', |
| 21 | + 'sub_appid' => 'wxd678efh567hg6999', |
| 22 | + 'sub_mchid' => '1900000109', |
| 23 | + 'user_id' => [ |
| 24 | + 'user_id_type' => 'OPENID', |
| 25 | + 'sp_openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o', |
| 26 | + 'sub_openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o', |
| 27 | + 'phone_number_hash' => 'ABDEF3445546456B', |
| 28 | + ], |
| 29 | + ], |
| 30 | + ]): ResponseInterface; |
| 31 | + |
| 32 | + /** |
| 33 | + * 商户贴息-获取微信分付曝光建议(异步模式) |
| 34 | + * @param array<string,mixed> $options |
| 35 | + * @link https://wechatpay.im/openapi/v3/pay/instal/partner/exposure |
| 36 | + */ |
| 37 | + public function postAsync(array $options = [ |
| 38 | + 'json' => [ |
| 39 | + 'sp_mchid' => '1230000109', |
| 40 | + 'sp_appid' => 'wx8888888888888888', |
| 41 | + 'sub_appid' => 'wxd678efh567hg6999', |
| 42 | + 'sub_mchid' => '1900000109', |
| 43 | + 'user_id' => [ |
| 44 | + 'user_id_type' => 'OPENID', |
| 45 | + 'sp_openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o', |
| 46 | + 'sub_openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o', |
| 47 | + 'phone_number_hash' => 'ABDEF3445546456B', |
| 48 | + ], |
| 49 | + ], |
| 50 | + ]): PromiseInterface; |
| 51 | +} |
0 commit comments