<?php
/**
 * @package   BaForms
 * @author    Balbooa http://www.balbooa.com/
 * @copyright Copyright @ Balbooa
 * @license   http://www.gnu.org/licenses/gpl.html GNU/GPL
 */

namespace Balbooa\Component\Forms\Site\Dto;

defined('_JEXEC') or die;

class PaymentDataDto
{
    public ?float $discount = null;
    public ?ShippingDTO $shipping = null;

    /** @var ProductDTO[] */
    public array $products = [];

    public function __construct(
        public int $id,
        public string $userEmail,
        public float $total,
        public float $decimals,
        public string $position,
        public string $separator,
        public string $symbol,
        public string $code,
        public string $thousand
    ) {}
}