phpDocumentor

AfterbuyOrderIdMappingService

Interface AfterbuyOrderIdMappingService

Table of Contents

mapAfterbuyOrderIdToShopOrderId()  : void
Parses the Afterbuy (legacy) Shop-API response xml and maps the shop order id to an Afterbuy order id.

Methods

mapAfterbuyOrderIdToShopOrderId()

Parses the Afterbuy (legacy) Shop-API response xml and maps the shop order id to an Afterbuy order id.

public mapAfterbuyOrderIdToShopOrderId(string $xmlResponse) : void

Saves the mapping in the database table 'afterbuy_orders'.

Parameters
$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