-
Notifications
You must be signed in to change notification settings - Fork 2
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
9e4c552
commit f688976
Showing
3 changed files
with
21 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,23 @@ | ||
<?php | ||
namespace Dfe\Qiwi\API; | ||
use Df\API\Operation as O; | ||
use Df\Core\Exception as DFE; | ||
use Zend_Http_Client as Z; | ||
// 2017-09-03 | ||
/** @method static Bill s() */ | ||
final class Bill extends \Df\API\Facade {} | ||
final class Bill extends \Df\API\Facade { | ||
/** | ||
* 2017-09-03 | ||
* «4.6. Refunds», page 13. | ||
* «4.6. Возврат средств по оплаченному счету», страница 13. | ||
* `[QIWI Wallet] The REST API specification (v.2.12)`, https://mage2.pro/t/3745 | ||
* https://github.com/QIWI-API/pull-payments-docs/blob/40d48cf0/_pull-payments-api_en.html.md#refunds | ||
* https://github.com/QIWI-API/pull-payments-docs/blob/40d48cf0/_pull-payments-api_ru.html.md#Возврат-оплаченного-счета-refund | ||
* https://developer.qiwi.com/ru/pull-payments/index.html#refund | ||
* @param string $id | ||
* @param string $refundId | ||
* @return O | ||
* @throws DFE | ||
*/ | ||
function refund($id, $refundId) {return $this->p($id, Z::PUT, "bills/$id/refund/$refundId");} | ||
} |
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