-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
116aded
commit d40aeef
Showing
16 changed files
with
470 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Platsolution\Ecommerce; | ||
|
||
/** | ||
* @property-read MchTransfer\InsuranceClaimBills $insuranceClaimBills | ||
* @property-read MchTransfer\CompensateBills $compensateBills | ||
*/ | ||
interface MchTransfer | ||
{ | ||
} |
58 changes: 58 additions & 0 deletions
58
src/V3/Platsolution/Ecommerce/MchTransfer/CompensateBills.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Platsolution\Ecommerce\MchTransfer; | ||
|
||
use Psr\Http\Message\ResponseInterface; | ||
use GuzzleHttp\Promise\PromiseInterface; | ||
|
||
/** | ||
* @property-read CompensateBills\OutBillNo $outBillNo | ||
* @property-read CompensateBills\BillId $billId | ||
* @property-read CompensateBills\PreTransfer $preTransfer | ||
*/ | ||
interface CompensateBills | ||
{ | ||
/** | ||
* 请求赔付(同步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/mch-transfer/compensate-bills | ||
*/ | ||
public function post(array $options = [ | ||
'json' => [ | ||
'receiver' => [ | ||
'type' => 'MERCHANT', | ||
'transaction_info' => [ | ||
'transaction_id' => '1217752501201407033233368018', | ||
], | ||
], | ||
'out_bill_no' => 'plfk2020042013', | ||
'amount' => 10000, | ||
'transfer_remark' => '直播违规扣罚', | ||
'sponsor_mchid' => '1900001109', | ||
'transfer_scene_id' => '1001', | ||
'user_recv_perception' => '退货运费补偿', | ||
], | ||
]): ResponseInterface; | ||
|
||
/** | ||
* 请求赔付(异步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/mch-transfer/compensate-bills | ||
*/ | ||
public function postAsync(array $options = [ | ||
'json' => [ | ||
'receiver' => [ | ||
'type' => 'MERCHANT', | ||
'transaction_info' => [ | ||
'transaction_id' => '1217752501201407033233368018', | ||
], | ||
], | ||
'out_bill_no' => 'plfk2020042013', | ||
'amount' => 10000, | ||
'transfer_remark' => '直播违规扣罚', | ||
'sponsor_mchid' => '1900001109', | ||
'transfer_scene_id' => '1001', | ||
'user_recv_perception' => '退货运费补偿', | ||
], | ||
]): PromiseInterface; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/V3/Platsolution/Ecommerce/MchTransfer/CompensateBills/BillId.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Platsolution\Ecommerce\MchTransfer\CompensateBills; | ||
|
||
/** | ||
* @property-read BillId\_bill_id_ $_bill_id_ | ||
*/ | ||
interface BillId | ||
{ | ||
} |
29 changes: 29 additions & 0 deletions
29
src/V3/Platsolution/Ecommerce/MchTransfer/CompensateBills/BillId/_bill_id_.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Platsolution\Ecommerce\MchTransfer\CompensateBills\BillId; | ||
|
||
use Psr\Http\Message\ResponseInterface; | ||
use GuzzleHttp\Promise\PromiseInterface; | ||
|
||
/** | ||
*/ | ||
interface _bill_id_ | ||
{ | ||
/** | ||
* 查询赔付结果(按微信支付赔付单号)(同步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/mch-transfer/compensate-bills/bill-id/%7Bbill_id%7D | ||
*/ | ||
public function get(array $options = [ | ||
'bill_id' => '1330000071100999991182020050700019480001', | ||
]): ResponseInterface; | ||
|
||
/** | ||
* 查询赔付结果(按微信支付赔付单号)(异步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/mch-transfer/compensate-bills/bill-id/%7Bbill_id%7D | ||
*/ | ||
public function getAsync(array $options = [ | ||
'bill_id' => '1330000071100999991182020050700019480001', | ||
]): PromiseInterface; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/V3/Platsolution/Ecommerce/MchTransfer/CompensateBills/OutBillNo.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Platsolution\Ecommerce\MchTransfer\CompensateBills; | ||
|
||
/** | ||
* @property-read OutBillNo\_out_bill_no_ $_out_bill_no_ | ||
*/ | ||
interface OutBillNo | ||
{ | ||
} |
30 changes: 30 additions & 0 deletions
30
src/V3/Platsolution/Ecommerce/MchTransfer/CompensateBills/OutBillNo/_out_bill_no_.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Platsolution\Ecommerce\MchTransfer\CompensateBills\OutBillNo; | ||
|
||
use Psr\Http\Message\ResponseInterface; | ||
use GuzzleHttp\Promise\PromiseInterface; | ||
|
||
/** | ||
* @property-read _out_bill_no_\Cancel $cancel | ||
*/ | ||
interface _out_bill_no_ | ||
{ | ||
/** | ||
* 查询赔付结果(按商户赔付单号)(同步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/mch-transfer/compensate-bills/out-bill-no/%7Bout_bill_no%7D | ||
*/ | ||
public function get(array $options = [ | ||
'out_bill_no' => 'plfk2020042013', | ||
]): ResponseInterface; | ||
|
||
/** | ||
* 查询赔付结果(按商户赔付单号)(异步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/mch-transfer/compensate-bills/out-bill-no/%7Bout_bill_no%7D | ||
*/ | ||
public function getAsync(array $options = [ | ||
'out_bill_no' => 'plfk2020042013', | ||
]): PromiseInterface; | ||
} |
29 changes: 29 additions & 0 deletions
29
src/V3/Platsolution/Ecommerce/MchTransfer/CompensateBills/OutBillNo/_out_bill_no_/Cancel.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Platsolution\Ecommerce\MchTransfer\CompensateBills\OutBillNo\_out_bill_no_; | ||
|
||
use Psr\Http\Message\ResponseInterface; | ||
use GuzzleHttp\Promise\PromiseInterface; | ||
|
||
/** | ||
*/ | ||
interface Cancel | ||
{ | ||
/** | ||
* 请求撤销赔付(同步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/mch-transfer/compensate-bills/out-bill-no/%7Bout_bill_no%7D/cancel | ||
*/ | ||
public function post(array $options = [ | ||
'out_bill_no' => 'plfk2020042013', | ||
]): ResponseInterface; | ||
|
||
/** | ||
* 请求撤销赔付(异步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/mch-transfer/compensate-bills/out-bill-no/%7Bout_bill_no%7D/cancel | ||
*/ | ||
public function postAsync(array $options = [ | ||
'out_bill_no' => 'plfk2020042013', | ||
]): PromiseInterface; | ||
} |
59 changes: 59 additions & 0 deletions
59
src/V3/Platsolution/Ecommerce/MchTransfer/CompensateBills/PreTransfer.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Platsolution\Ecommerce\MchTransfer\CompensateBills; | ||
|
||
use Psr\Http\Message\ResponseInterface; | ||
use GuzzleHttp\Promise\PromiseInterface; | ||
|
||
/** | ||
*/ | ||
interface PreTransfer | ||
{ | ||
/** | ||
* 请求赔付预下单(同步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/mch-transfer/compensate-bills/pre-transfer | ||
*/ | ||
public function post(array $options = [ | ||
'json' => [ | ||
'sp_appid' => 'wx8888888888888888', | ||
'receiver' => [ | ||
'type' => 'MERCHANT', | ||
'transaction_info' => [ | ||
'transaction_id' => '1217752501201407033233368018', | ||
], | ||
], | ||
'out_bill_no' => 'plfk2020042013', | ||
'amount' => 10000, | ||
'transfer_remark' => '直播违规扣罚', | ||
'sponsor_mchid' => '1900001109', | ||
'transfer_scene_id' => '1001', | ||
'user_recv_perception' => '退货运费补偿', | ||
'notify_url' => 'https://www.weixin.qq.com/wxpay/pay.php', | ||
], | ||
]): ResponseInterface; | ||
|
||
/** | ||
* 请求赔付预下单(异步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/mch-transfer/compensate-bills/pre-transfer | ||
*/ | ||
public function postAsync(array $options = [ | ||
'json' => [ | ||
'sp_appid' => 'wx8888888888888888', | ||
'receiver' => [ | ||
'type' => 'MERCHANT', | ||
'transaction_info' => [ | ||
'transaction_id' => '1217752501201407033233368018', | ||
], | ||
], | ||
'out_bill_no' => 'plfk2020042013', | ||
'amount' => 10000, | ||
'transfer_remark' => '直播违规扣罚', | ||
'sponsor_mchid' => '1900001109', | ||
'transfer_scene_id' => '1001', | ||
'user_recv_perception' => '退货运费补偿', | ||
'notify_url' => 'https://www.weixin.qq.com/wxpay/pay.php', | ||
], | ||
]): PromiseInterface; | ||
} |
54 changes: 54 additions & 0 deletions
54
src/V3/Platsolution/Ecommerce/MchTransfer/InsuranceClaimBills.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Platsolution\Ecommerce\MchTransfer; | ||
|
||
use Psr\Http\Message\ResponseInterface; | ||
use GuzzleHttp\Promise\PromiseInterface; | ||
|
||
/** | ||
* @property-read InsuranceClaimBills\OutBillNo $outBillNo | ||
* @property-read InsuranceClaimBills\BillId $billId | ||
* @property-read InsuranceClaimBills\PreTransfer $preTransfer | ||
*/ | ||
interface InsuranceClaimBills | ||
{ | ||
/** | ||
* 请求保险理赔(同步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/mch-transfer/insurance-claim-bills | ||
*/ | ||
public function post(array $options = [ | ||
'json' => [ | ||
'sub_mchid' => '1900001109', | ||
'receiver' => [ | ||
'type' => 'MERCHANT', | ||
'transaction_info' => [ | ||
'transaction_id' => '1217752501201407033233368018', | ||
], | ||
], | ||
'out_bill_no' => 'plfk2020042013', | ||
'amount' => 10000, | ||
'transfer_remark' => '直播违规扣罚', | ||
], | ||
]): ResponseInterface; | ||
|
||
/** | ||
* 请求保险理赔(异步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/mch-transfer/insurance-claim-bills | ||
*/ | ||
public function postAsync(array $options = [ | ||
'json' => [ | ||
'sub_mchid' => '1900001109', | ||
'receiver' => [ | ||
'type' => 'MERCHANT', | ||
'transaction_info' => [ | ||
'transaction_id' => '1217752501201407033233368018', | ||
], | ||
], | ||
'out_bill_no' => 'plfk2020042013', | ||
'amount' => 10000, | ||
'transfer_remark' => '直播违规扣罚', | ||
], | ||
]): PromiseInterface; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/V3/Platsolution/Ecommerce/MchTransfer/InsuranceClaimBills/BillId.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Platsolution\Ecommerce\MchTransfer\InsuranceClaimBills; | ||
|
||
/** | ||
* @property-read BillId\_bill_id_ $_bill_id_ | ||
*/ | ||
interface BillId | ||
{ | ||
} |
35 changes: 35 additions & 0 deletions
35
src/V3/Platsolution/Ecommerce/MchTransfer/InsuranceClaimBills/BillId/_bill_id_.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Platsolution\Ecommerce\MchTransfer\InsuranceClaimBills\BillId; | ||
|
||
use Psr\Http\Message\ResponseInterface; | ||
use GuzzleHttp\Promise\PromiseInterface; | ||
|
||
/** | ||
*/ | ||
interface _bill_id_ | ||
{ | ||
/** | ||
* 查询保险理赔结果(按微信支付赔付单号)(同步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/mch-transfer/insurance-claim-bills/bill-id/%7Bbill_id%7D | ||
*/ | ||
public function get(array $options = [ | ||
'bill_id' => '1330000071100999991182020050700019480001', | ||
'query' => [ | ||
'sub_mchid' => '1900001109', | ||
], | ||
]): ResponseInterface; | ||
|
||
/** | ||
* 查询保险理赔结果(按微信支付赔付单号)(异步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://wechatpay.im/openapi/v3/platsolution/ecommerce/mch-transfer/insurance-claim-bills/bill-id/%7Bbill_id%7D | ||
*/ | ||
public function getAsync(array $options = [ | ||
'bill_id' => '1330000071100999991182020050700019480001', | ||
'query' => [ | ||
'sub_mchid' => '1900001109', | ||
], | ||
]): PromiseInterface; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/V3/Platsolution/Ecommerce/MchTransfer/InsuranceClaimBills/OutBillNo.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Platsolution\Ecommerce\MchTransfer\InsuranceClaimBills; | ||
|
||
/** | ||
* @property-read OutBillNo\_out_bill_no_ $_out_bill_no_ | ||
*/ | ||
interface OutBillNo | ||
{ | ||
} |
Oops, something went wrong.