Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions src/Currency/Currencies/GNFCurrency.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?php
namespace Packaged\Rwd\Currency\Currencies;

use Packaged\Rwd\Currency\AbstractCurrency;

class GNFCurrency extends AbstractCurrency
{
public function getDecimalCount()
{
return 0;
}

public function getSymbol()
{
return 'FG';
}

public function getCode()
{
return 'GNF';
}

public function getNumericCode()
{
return '324';
}

public function getName()
{
return 'Guinea Franc';
}

public function getMajorUnit()
{
return 'franc';
}

public function getMinorUnit()
{
return 'centimes';
}

public function getUSDAverage()
{
return 0.00012;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use Packaged\Rwd\Currency\AbstractCurrency;

class SDDCurrency extends AbstractCurrency
class SDGCurrency extends AbstractCurrency
{
public function getDecimalCount()
{
Expand All @@ -12,36 +12,36 @@ public function getDecimalCount()

public function getSymbol()
{
return 'SDD';
return 'LS';
}

public function getCode()
{
return 'SDD';
return 'SDG';
}

public function getNumericCode()
{
return '736';
return '938';
}

public function getName()
{
return 'Sudanese Dinar';
return 'Sudanese Pound';
}

public function getMajorUnit()
{
return 'dinar';
return 'pound';
}

public function getMinorUnit()
{
return ' ';
return 'piastre';
}

public function getUSDAverage()
{
return 334.1073;
return 0.0017;
}
}
47 changes: 47 additions & 0 deletions src/Currency/Currencies/SSPCurrency.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?php
namespace Packaged\Rwd\Currency\Currencies;

use Packaged\Rwd\Currency\AbstractCurrency;

class SSPCurrency extends AbstractCurrency
{
public function getDecimalCount()
{
return 2;
}

public function getSymbol()
{
return 'SS£';
}

public function getCode()
{
return 'SSP';
}

public function getNumericCode()
{
return '728';
}

public function getName()
{
return 'South Sudanese Pound';
}

public function getMajorUnit()
{
return 'pound';
}

public function getMinorUnit()
{
return 'piastre';
}

public function getUSDAverage()
{
return 0.000221;
}
}
52 changes: 52 additions & 0 deletions src/Currency/Currencies/XAFCurrency.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?php
namespace Packaged\Rwd\Currency\Currencies;

use Packaged\Rwd\Currency\AbstractCurrency;

class XAFCurrency extends AbstractCurrency
{
public function getDecimalCount()
{
return 0;
}

public function getSymbol()
{
return '₣';
}

public function getCode()
{
return 'XAF';
}

public function getNumericCode()
{
return '950';
}

public function getName()
{
return 'CFA Franc BEAC';
}

public function getMajorUnit()
{
return 'franc';
}

public function getMinorUnit()
{
return 'centime';
}

public function getUSDAverage()
{
return 0.0018;
}

public function getThousandSeparator()
{
return ' ';
}
}
47 changes: 47 additions & 0 deletions src/Currency/Currencies/XOFCurrency.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?php
namespace Packaged\Rwd\Currency\Currencies;

use Packaged\Rwd\Currency\AbstractCurrency;

class XOFCurrency extends AbstractCurrency
{
public function getDecimalCount()
{
return 0;
}

public function getSymbol()
{
return '₣';
}

public function getCode()
{
return 'XOF';
}

public function getNumericCode()
{
return '952';
}

public function getName()
{
return 'CFA Franc BCEAO';
}

public function getMajorUnit()
{
return 'franc';
}

public function getMinorUnit()
{
return 'centime';
}

public function getUSDAverage()
{
return 0.0018;
}
}
Loading