<?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;
|
}
|
}
|