Logidav Docs

AlfyApi
in package
implements AlfyApiInterface

Class AlfyApi

Table of Contents

Interfaces

AlfyApiInterface

Properties

$apiKey  : string
$storeId  : string
$url  : string

Methods

__construct()  : mixed
AlfyApi constructor.
addDeliveryDate()  : false|mixed
cancelOrder()  : mixed
Cancel an order
execute()  : mixed

Properties

$url

protected string $url = 'https://api.helloalfy.com/v1/'

Methods

__construct()

AlfyApi constructor.

public __construct(ContainerInterface $container) : mixed
Parameters
$container : ContainerInterface

execute()

protected execute(mixed $requestType, mixed $endpoint[, array<string|int, mixed> $body = [] ][, array<string|int, mixed> $headers = [] ]) : mixed
Parameters
$requestType : mixed
$endpoint : mixed
$body : array<string|int, mixed> = []
$headers : array<string|int, mixed> = []

        
On this page

Search results