src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsNotifications/Impl/XmlNotificationParser.php
public static function parseIpnMessage(Message $ipnMsg)
    {
        $xmlDocumentElement = self::_getXmlFromIpnMessage($ipnMsg);

        return self::_createNotificationForNotificationType(
            $ipnMsg,
            $xmlDocumentElement
        );
    }
public static function parseIpnMessage(Message $ipnMsg)
    {
        $xmlDocumentElement = self::_getXmlFromIpnMessage($ipnMsg);

        return self::_createNotificationForNotificationType(
            $ipnMsg,
            $xmlDocumentElement
        );
    }
public static function parseIpnMessage ( Message $ ipnMsg ) { $ xmlDocumentElement = self :: _getXmlFromIpnMessage ( $ ipnMsg ) ; return self :: _createNotificationForNotificationType ( $ ipnMsg , $ xmlDocumentElement ) ; }
Converts a ipn message into a
notification object

@param JsonMesssage $ipnMsg ipnMessage

@throws OffAmazonPaymentsNotifications if there is an error

@return Message
Converts a ipn message into a notification object