mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
1dfb75545f
Fetch Currency Rate Logic Class Create Currency Rate Logic Class Update Currency Rate Logic Class Currency Rate Converter Rate
58 lines
1.2 KiB
PHP
58 lines
1.2 KiB
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\CurrencyRates\DataTransferObjects;
|
|
|
|
use App\Classes\Interfaces\DataTransferObject;
|
|
|
|
class CurrencyRateObject implements DataTransferObject
|
|
{
|
|
/** @var int|null */
|
|
private $currency_id;
|
|
|
|
/** @var string|null */
|
|
private $selling;
|
|
|
|
/** @var string|null */
|
|
private $payment_method_type;
|
|
|
|
/**
|
|
* CurrencyRateObject constructor.
|
|
* @param int|null $currency_id
|
|
* @param string|null $selling
|
|
* @param string|null $payment_method_type
|
|
*/
|
|
public function __construct(
|
|
?int $currency_id,
|
|
?string $selling,
|
|
?string $payment_method_type
|
|
)
|
|
{
|
|
$this->currency_id = $currency_id;
|
|
$this->selling = $selling;
|
|
$this->payment_method_type = $payment_method_type;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getCurrencyId(): ?int
|
|
{
|
|
return $this->currency_id;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getSelling(): ?string
|
|
{
|
|
return $this->selling;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getPaymentMethodType(): ?string
|
|
{
|
|
return $this->payment_method_type;
|
|
}
|
|
} |