List Currency Rate Logic Class

Fetch Currency Rate Logic Class
 Create Currency Rate Logic Class
 Update Currency Rate Logic Class
Currency Rate Converter Rate
This commit is contained in:
CheeSiong
2020-12-30 08:47:12 +08:00
parent 3b333ecfba
commit 1dfb75545f
52 changed files with 1293 additions and 153 deletions
@@ -11,7 +11,6 @@ class CurrencyObject implements DataTransferObject
private $name;
private $short_code;
private $symbol;
private $selling;
/**
@@ -20,21 +19,18 @@ class CurrencyObject implements DataTransferObject
* @param null|string $name
* @param null|string $short_code
* @param null|string $symbol
* @param float|null $selling
*/
public function __construct(
?int $country_id,
?string $name,
?string $short_code,
?string $symbol,
?float $selling
?string $symbol
)
{
$this->country_id = $country_id;
$this->name = $name;
$this->short_code = $short_code;
$this->symbol = $symbol;
$this->selling = $selling;
}
/**
@@ -68,12 +64,4 @@ class CurrencyObject implements DataTransferObject
{
return $this->symbol;
}
/**
* @return float
*/
public function getSelling(): ?float
{
return $this->selling;
}
}