<?php

namespace QUI\ERP\Shipping\Rules;

if (!class_exists(Factory::class, false)) {
    class Factory
    {
        public const DISCOUNT_TYPE_ABS = 0;

        public static function getInstance(): self
        {
            return new self();
        }

        /**
         * @param array<string, mixed> $data
         */
        public function createChild(array $data = []): ShippingRule
        {
            return new ShippingRule();
        }
    }
}
