Methods summary
public static
|
#
notify( Apptus\ESales\Connector\Connector $connector, string $sessionKey, string $id, string $type, string $ticket, string $propertyName, string $propertyValue, string $productKey, string $rating )
Pass through a JavaScript notification to the cluster.
Pass through a JavaScript notification to the cluster.
This method is for advanced users only. If two identical notifications are sent with the same id for the same session key,
the second notification will be ignored.
Deprecated
Parameters
- $connector
- eSales connector to notify through.
- $sessionKey
- key of the eSales session to attach the notification to.
- $id
- for detection of re-sent notifications.
- $type
- click|adding_to_cart|property|rating|end
- $ticket
- ticket for the object clicked or added to cart.
- $propertyName
- valid Java identifier as name of the property.
- $propertyValue
- value of the property.
- $productKey
- key of the rated product.
- $rating
- rating as a string.
Throws
|
public static
|
#
notifySafe( Apptus\ESales\Connector\Connector $connector, string $sessionKey, string $id, string $type, string $ticket, string $productKey, string $rating )
Pass through a JavaScript notification to the cluster.
Pass through a JavaScript notification to the cluster.
This method is for advanced users only. If two identical notifications are sent with the same id for the same session key,
the second notification will be ignored.
Parameters
- $connector
- eSales connector to notify through.
- $sessionKey
- key of the eSales session to attach the notification to.
- $id
- for detection of re-sent notifications.
- $type
- click|adding_to_cart|rating|end
- $ticket
- ticket for the object clicked or added to cart.
- $productKey
- key of the rated product.
- $rating
- rating as a string.
Throws
|
public static
|
#
notifyWithProperties( Apptus\ESales\Connector\Connector $connector, string $sessionKey, string $customerKey, string $market, string $id, string $type, string $ticket, string $productKey, string $rating )
Pass through a JavaScript notification to the cluster.
Pass through a JavaScript notification to the cluster.
This method is for advanced users only. If two identical notifications are sent with the same id for the same session key,
the second notification will be ignored.
Parameters
- $connector
- eSales connector to notify through.
- $sessionKey
- key of the eSales session to attach the notification to.
- $customerKey
key of the customer for the notification.
Warning! Must not be taken from the client, as this will pose a security threat.
- $market
market for which the notification is made.
Warning! Must not be taken from the client, as this will pose a security threat.
- $id
- for detection of re-sent notifications.
- $type
- click|adding_to_cart|property|rating|end
- $ticket
- ticket for the object clicked or added to cart.
- $productKey
- key of the rated product.
- $rating
- rating as a string.
Throws
|