GoogleAnalyticsProductProperty
extends GoogleAnalyticsProductCombination
in package
Class GoogleAnalyticsProductProperty
Table of Contents
- $optionId : int
- $valueId : int
- create() : GoogleAnalyticsProductCombination
- Named constructor of GoogleAnalyticsProductCombination.
- optionId() : int
- Returns the option id of the combination.
- valueId() : int
- Returns the value id of the combination.
- __construct() : mixed
- GoogleAnalyticsProductCombination constructor.
Properties
$optionId
private
int
$optionId
$valueId
private
int
$valueId
Methods
create()
Named constructor of GoogleAnalyticsProductCombination.
public
static create(int $optionId, int $valueId) : GoogleAnalyticsProductCombination
Parameters
- $optionId : int
-
Option id.
- $valueId : int
-
Value id.
Return values
GoogleAnalyticsProductCombination —New instance.
optionId()
Returns the option id of the combination.
public
optionId() : int
Return values
int —Option id.
valueId()
Returns the value id of the combination.
public
valueId() : int
Return values
int —Value id.
__construct()
GoogleAnalyticsProductCombination constructor.
protected
__construct(IdType $optionId, IdType $valueId) : mixed
Protected to enforce usage of named constructor.