protected function _updateRefundDetails()
    {
        $sQuery = "SELECT BESTITAMAZONREFUNDID
            FROM bestitamazonrefunds
            WHERE STATE = 'Pending'
              AND BESTITAMAZONREFUNDID != ''";

        $aResult = $this->_getContainer()->getDatabase()->getAll($sQuery);

        foreach ($aResult as $aRow) {
            $oData = $this->_getContainer()->getClient()->getRefundDetails($aRow['BESTITAMAZONREFUNDID']);

            if (isset($oData->GetRefundDetailsResult->RefundDetails->RefundStatus->State)) {
                $this->_addToMessages(
                    "Refund ID: {$oData->GetRefundDetailsResult->RefundDetails->RefundReferenceId} - "
                    ."Status: {$oData->GetRefundDetailsResult->RefundDetails->RefundStatus->State}<br/>"
                );
            }
        }
    }