OrderXmlApiService
in package
implements
AfterbuyOrderXmlApiService
Class OrderXmlApiService
Interfaces, Classes and Traits
- AfterbuyOrderXmlApiService
- Interface AfterbuyOrderXmlApiService
Table of Contents
- $logger : AfterbuyLogger
- $repository : AfterbuyOrderXmlApiRepository
- __construct() : mixed
- OrderXmlApiService constructor.
- updateOrderViaXmlApi() : void
- Updates order information for Afterbuy using the XML-API.
- getContextFromThrowable() : array<string|int, mixed>
- Creates a context array from any throwable.
Properties
$logger
private
AfterbuyLogger
$logger
$repository
private
AfterbuyOrderXmlApiRepository
$repository
Methods
__construct()
OrderXmlApiService constructor.
public
__construct(AfterbuyOrderXmlApiRepository $repository, AfterbuyLogger $logger) : mixed
Parameters
- $repository : AfterbuyOrderXmlApiRepository
- $logger : AfterbuyLogger
Return values
mixed —updateOrderViaXmlApi()
Updates order information for Afterbuy using the XML-API.
public
updateOrderViaXmlApi(OrderId $orderId) : void
Parameters
- $orderId : OrderId
Tags
Return values
void —getContextFromThrowable()
Creates a context array from any throwable.
private
getContextFromThrowable(Throwable $throwable) : array<string|int, mixed>
Serializes the throwable to an array.
Parameters
- $throwable : Throwable