amount = $amount; $this->currencyId = $currencyId; $this->serviceId = $serviceId; $this->type = $type; $this->paymentMethod = $paymentMethod; } /** * @return float */ public function getAmount(): float { return $this->amount; } /** * @return int */ public function getCurrencyId(): int { return $this->currencyId; } /** * @return int */ public function getServiceId(): int { return $this->serviceId; } /** * @return int */ public function getType(): int { return $this->type; } /** * @return int|null */ public function getPaymentMethod(): ?int { return $this->paymentMethod; } }