VidaxlApi
in package
Table of Contents
Properties
- $apiCustomerEmail : mixed
- $apiKey : string
- $sandboxUrl : mixed
- $url : string
- $config : mixed
- $container : ContainerInterface
- $currentStoreId : mixed
Methods
- __construct() : mixed
- BigbuyApi constructor.
- getOrder() : array<string|int, mixed>|bool|mixed|null|ResponseInterface
- getOrdersByStatus() : array<string|int, mixed>|bool|mixed|null|ResponseInterface
- Find canceled orders
- getProduct() : array<string|int, mixed>|bool|mixed|null|ResponseInterface
- sendOrder() : array<string|int, mixed>|bool|mixed|null|ResponseInterface
- setCurrentStore() : mixed
- execute() : mixed|null|array<string|int, mixed>|bool
Properties
$apiCustomerEmail
protected
mixed
$apiCustomerEmail
$apiKey
protected
string
$apiKey
$sandboxUrl
protected
mixed
$sandboxUrl
= 'https://sandbox.b2b.vidaxl.com'
$url
protected
string
$url
= 'https://b2b.vidaxl.com'
$config
private
mixed
$config
$container
private
ContainerInterface
$container
$currentStoreId
private
mixed
$currentStoreId
Methods
__construct()
BigbuyApi constructor.
public
__construct(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface
getOrder()
public
getOrder(mixed $orderId) : array<string|int, mixed>|bool|mixed|null|ResponseInterface
Parameters
- $orderId : mixed
Return values
array<string|int, mixed>|bool|mixed|null|ResponseInterfacegetOrdersByStatus()
Find canceled orders
public
getOrdersByStatus(mixed $statusId) : array<string|int, mixed>|bool|mixed|null|ResponseInterface
Parameters
- $statusId : mixed
Return values
array<string|int, mixed>|bool|mixed|null|ResponseInterfacegetProduct()
public
getProduct(mixed $sku) : array<string|int, mixed>|bool|mixed|null|ResponseInterface
Parameters
- $sku : mixed
Return values
array<string|int, mixed>|bool|mixed|null|ResponseInterfacesendOrder()
public
sendOrder(array<string|int, mixed> $body) : array<string|int, mixed>|bool|mixed|null|ResponseInterface
Parameters
- $body : array<string|int, mixed>
Return values
array<string|int, mixed>|bool|mixed|null|ResponseInterfacesetCurrentStore()
public
setCurrentStore(mixed $storeId) : mixed
Parameters
- $storeId : mixed
execute()
protected
execute(mixed $requestType, mixed $endpoint[, array<string|int, mixed> $body = [] ][, array<string|int, mixed> $headers = [] ][, mixed $getResponseObject = false ]) : mixed|null|array<string|int, mixed>|bool
Parameters
- $requestType : mixed
- $endpoint : mixed
- $body : array<string|int, mixed> = []
- $headers : array<string|int, mixed> = []
- $getResponseObject : mixed = false