* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Domain\Cart\Command; use PrestaShop\PrestaShop\Core\Domain\Cart\ValueObject\CartId; /** * Sends email to the customer to process the payment for cart. */ class SendCartToCustomerCommand { /** * @var CartId */ private $cartId; /** * @param int $cartId */ public function __construct($cartId) { $this->cartId = new CartId($cartId); } /** * @return CartId */ public function getCartId() { return $this->cartId; } }