Xcom
PHP Manual

Xcom::__construct

(PECL xcommerce >= 1.0.0)

Xcom::__constructCreate a new Xcom object

Opis

public Xcom::__construct ([ string $fabric_url [, string $fabric_token [, string $capability_token ]]] )

Creates a new Xcom object

Parametry

fabric_url

The fabric endpoint (XCOM_FABRIC_PRODUCTION for production and XCOM_FABRIC_SANDBOX for sandbox).

fabric_token

The fabric token provided to you, pass an empty string if you only send messages.

capability_token

The capability or tenant token, it is used when sending messages.


Xcom
PHP Manual