| 1 | <?php |
||
| 10 | class WebMoneyAdapter implements PaymentSystemInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var WebMoney |
||
| 14 | */ |
||
| 15 | private $webMoney; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * WebMoneyAdapter constructor. |
||
| 19 | * @param WebMoney $webMoney |
||
| 20 | */ |
||
| 21 | 1 | public function __construct(WebMoney $webMoney) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @param int $amount |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | 1 | public function pay(int $amount): string |
|
| 34 | } |
||
| 35 |