����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 3.137.169.218 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/bofirmacademy.com/vendor/vrajroham/laravel-bitpay/src/Actions/ |
Upload File : |
<?php namespace Vrajroham\LaravelBitpay\Actions; use BitPaySDK\Exceptions\BitPayException; use BitPaySDK\Model\Currency; trait ManageCurrencies { /** * @param string|null $code * * @return \BitpaySDK\Model\Currency * @link https://bitpay.com/api/#rest-api-resources-currencies */ public static function Currency(string $code = null): Currency { $currency = new Currency(); if ($code) { $currency->setCode($code); } return $currency; } /** * Fetch the supported currencies. * * @link https://bitpay.com/api/#rest-api-resources-currencies-retrieve-the-supported-currencies * @return array A list of supported BitPay Currency objects. * @throws BitPayException BitPayException class */ public static function getCurrencies(): array { return (new self())->client->getCurrencies(); } }