Jake Vanderwerf
9 days ago ed57c386db34d8693ca75311972d0929ebe5f488
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
namespace JVBase\managers\SEO\render\Traits\_Properties;
 
if (!defined('ABSPATH')) {
    exit;
}
trait urlTemplateTrait {
    /**
     * @var string A URL template (RFC 6570)that will be used to construct the target of the execution of the action.
     * Example: https://www.example.com/checkout?items={VARIANT_ID_1}:{Quantity_1},{VARIANT_ID_2}:{Quantity_2}&discount={DISCOUNT_CODE}&store_id={pickup_store_id}
     */
    protected string $urlTemplate;
 
    public function getUrlTemplate():?string
    {
        return $this->urlTemplate??null;
    }
    public function setUrlTemplate(string $urlTemplate):void
    {
        $this->urlTemplate = $urlTemplate;
    }
}