| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | public function createPayment($paymentRequest, ?string $idempotenceKey = null): YandexCheckout |
||
| 30 | { |
||
| 31 | /** @var YandexCheckoutService $yandexCheckout */ |
||
| 32 | $yandexCheckout = Container::getInstance()->make(YandexCheckoutService::class); |
||
| 33 | |||
| 34 | return $yandexCheckout->createPayment( |
||
| 35 | $this, |
||
| 36 | $paymentRequest, |
||
| 37 | $idempotenceKey ?? $this->yandexCheckoutIdempotenceKey() |
||
| 38 | ); |
||
| 46 |