mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-27 08:24:06 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user