/** * Get invoice * * @param Varien_Object $payment * @return array */ public function _getInvoice(Varien_Object $payment) { $payment->setShift4RequestType(self::REQUEST_TYPE_GET_INVOICE); $request = $this->_buildRequest($payment); $response = $this->_postRequest($request); $this->_logGateway($request, $response); return $response; }