feat(main): Task #5 is done
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Websmid\GiftDropdown\Command;
|
||||
|
||||
class SaveGiftDropdownCommand
|
||||
{
|
||||
private $idCart;
|
||||
private $paperChoice;
|
||||
|
||||
public function __construct(int $idCart, string $paperChoice)
|
||||
{
|
||||
$this->idCart = $idCart;
|
||||
$this->paperChoice = $paperChoice;
|
||||
}
|
||||
|
||||
public function getIdCart(): int
|
||||
{
|
||||
return $this->idCart;
|
||||
}
|
||||
|
||||
public function getPaperChoice(): string
|
||||
{
|
||||
return $this->paperChoice;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user