AfterbuyOrderIdMappingRepository
in
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
getAfterbuyOrderIdMapping()
Parses the Afterbuy-API xml response, creating a `AfterbuyOrderIdMapping` which can be saved through the repository.
public
getAfterbuyOrderIdMapping(string $xmlResponse) : AfterbuyOrderIdMapping
Parameters
- $xmlResponse : string
Tags
Return values
AfterbuyOrderIdMapping —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