Logidav Docs

CmpApi
in package

Table of Contents

Properties

$container  : ContainerInterface
$password  : mixed
$url  : mixed
$username  : mixed

Methods

__construct()  : mixed
getOrderByIncrementId()  : array<string|int, mixed>|bool|mixed|null
getProductByEan()  : array<string|int, mixed>|bool|mixed|null
getProducts()  : mixed
getToken()  : mixed
sendOrder()  : mixed
execute()  : mixed|null|array<string|int, mixed>|bool

Properties

$container

private ContainerInterface $container

$password

private mixed $password = ""

$url

private mixed $url = "https://api.cmp-paris.com:8643"

$username

private mixed $username = ""

Methods

__construct()

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

getOrderByIncrementId()

public getOrderByIncrementId(mixed $incrementId) : array<string|int, mixed>|bool|mixed|null
Parameters
$incrementId : mixed
Return values
array<string|int, mixed>|bool|mixed|null

getProductByEan()

public getProductByEan(mixed $ean) : array<string|int, mixed>|bool|mixed|null
Parameters
$ean : mixed
Return values
array<string|int, mixed>|bool|mixed|null

getProducts()

public getProducts() : mixed

getToken()

public getToken() : mixed
Tags
throws
GuzzleException

sendOrder()

public sendOrder(mixed $data) : mixed
Parameters
$data : mixed

execute()

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

        
On this page

Search results