<?php

namespace AC\Type\Url;

use AC\Type\Uri;
use AC\Type\Url;

class CouponCode extends Uri
{

    private const ARG_COUPON = 'coupon_code';

    public function __construct(Url $url, string $coupon_code)
    {
        parent::__construct($url->get_url());

        $this->add_arg(self::ARG_COUPON, $coupon_code);
    }

}