<?php

namespace Blazemedia\Affiliation\Rendering\DirectLink;


/**
 * Sono i parametri per i link diretti 
 * ( tipicamente Amazon/eBay )
 */
abstract class Attributes {

    protected $url;

    public string $label;
    public string $code;
    public string $program;
    public string $program_suffix;
    public string $subject;
    public string $subject_code;
    public string $theme_label;
    public string $theme_code;
    public ?string $built_url;
                
    function __construct( string $url ) {
        
        $this->url = $url;

        $this->setDirectLinkAttributes();
    }

    abstract protected function setDirectLinkAttributes();
}
