ShippingPartnerSuggestions
extends RemoteSpecsEngine
in package
Class ShippingPartnerSuggestions
Table of Contents
- get_specs() : mixed
- Get specs or fetch remotely if they don't exist.
- get_suggestions() : array<string|int, mixed>
- Go through the specs and run them.
- log_errors() : mixed
- Log errors.
Methods
get_specs()
Get specs or fetch remotely if they don't exist.
public
static get_specs() : mixed
Return values
mixed —get_suggestions()
Go through the specs and run them.
public
static get_suggestions([array<string|int, mixed>|null $specs = null ]) : array<string|int, mixed>
Parameters
- $specs : array<string|int, mixed>|null = null
-
shipping partner suggestion spec array.
Return values
array<string|int, mixed> —log_errors()
Log errors.
public
static log_errors([array<string|int, mixed> $errors = array() ]) : mixed
Parameters
- $errors : array<string|int, mixed> = array()
-
Array of errors from \Throwable interface.