Documentation

ShipEngineConfig
in package
implements JsonSerializable

Interfaces, Classes and Traits

JsonSerializable

Table of Contents

DEFAULT_BASE_URI  = ShipEngineUtilConstantsEndpoints::SHIPENGINE_REST_URL
DEFAULT_PAGE_SIZE  = 50
DEFAULT_RETRIES  = 1
DEFAULT_TIMEOUT  = 'PT5S'
$apiKey  : string
$baseUrl  : string
$eventListener  : mixed
$pageSize  : int
$retries  : int
$timeout  : DateInterval
__construct()  : mixed
ShipEngineConfig constructor.
jsonSerialize()  : mixed
Specify data which should be serialized to JSON
merge()  : ShipEngineConfig

Constants

DEFAULT_BASE_URI

public mixed DEFAULT_BASE_URI = ShipEngineUtilConstantsEndpoints::SHIPENGINE_REST_URL

Properties

Methods

__construct()

ShipEngineConfig constructor.

public __construct([array<string|int, mixed> $config = array() ]) : mixed
Parameters
$config : array<string|int, mixed> = array()

{apiKey:string, baseUrl:string, pageSize:int, retries:int, timeout:DateInterval, eventListener:object}

Return values
mixed

Search results