<?phpnamespaceAmazonPay;/* Interface for ResponseParser.php */interfaceResponseInterface{/* Returns the XML portion of the response */publicfunctiontoXml();/* toJson - converts XML into Json * @param $response [XML] */publicfunctiontoJson();/* toArray - converts XML into associative array * @param $this->_response [XML] */publicfunctiontoArray();/* Get the status of the BillingAgreement */publicfunctiongetBillingAgreementDetailsStatus($response);/* Get the status of the OrderReference */publicfunctiongetOrderReferenceDetailsStatus($response);}