phpDocumentor

AfterbuyOrderIdMappingRepository

Interface AfterbuyOrderIdMappingRepository

Table of Contents

getAfterbuyOrderIdMapping()  : AfterbuyOrderIdMapping
Parses the Afterbuy-API xml response, creating a `AfterbuyOrderIdMapping` which can be saved through the repository.
saveAfterbuyOrderIdMapping()  : void
Saves the Afterbuy order id mapping, so it is possible to associate afterbuy order ids with shop order ids later on.

Methods

saveAfterbuyOrderIdMapping()

Saves the Afterbuy order id mapping, so it is possible to associate afterbuy order ids with shop order ids later on.

public saveAfterbuyOrderIdMapping(AfterbuyOrderIdMapping $orderIdMapping, string $xmlResponse) : void
Parameters
$orderIdMapping : AfterbuyOrderIdMapping
$xmlResponse : string
Tags
throws
AfterbuyOrderIdMappingException

In case of general errors, like unavailable database.

throws
AfterbuyOrderIdAlreadyMappedException

In case that the Afterbuy- and Shop order ids are already mapped.

Return values
void

Search results