Server IP : 66.29.132.124 / Your IP : 3.149.24.70 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/vendor/bavix/laravel-wallet/src/Interfaces/ |
Upload File : |
<?php namespace Bavix\Wallet\Interfaces; use Bavix\Wallet\Models\Transaction; use Bavix\Wallet\Models\Transfer; interface WalletFloat { /** * @param float|string $amount * @param array|null $meta * @param bool $confirmed * @return Transaction */ public function depositFloat($amount, ?array $meta = null, bool $confirmed = true): Transaction; /** * @param float|string $amount * @param array|null $meta * @param bool $confirmed * @return Transaction */ public function withdrawFloat($amount, ?array $meta = null, bool $confirmed = true): Transaction; /** * @param float|string $amount * @param array|null $meta * @param bool $confirmed * @return Transaction */ public function forceWithdrawFloat($amount, ?array $meta = null, bool $confirmed = true): Transaction; /** * @param Wallet $wallet * @param float|string $amount * @param array|null $meta * @return Transfer */ public function transferFloat(Wallet $wallet, $amount, ?array $meta = null): Transfer; /** * @param Wallet $wallet * @param float|string $amount * @param array|null $meta * @return null|Transfer */ public function safeTransferFloat(Wallet $wallet, $amount, ?array $meta = null): ?Transfer; /** * @param Wallet $wallet * @param float|string $amount * @param array|null $meta * @return Transfer */ public function forceTransferFloat(Wallet $wallet, $amount, ?array $meta = null): Transfer; /** * @param float|string $amount * @return bool */ public function canWithdrawFloat($amount): bool; /** * @return int|float|string */ public function getBalanceFloatAttribute(); }