/**
     *
     * @service transaction write
     * @return Gpf_Rpc_Action
     */
    public function makeRefundChargebackByParams(Gpf_Rpc_Params $params) {
        $transactionsGrid = new Pap_Merchants_Transaction_TransactionsGrid();
        $ransactionsResponse = $transactionsGrid->getRows($params);

        $transactionsRecordSet = new Gpf_Data_RecordSet();
        $transactionsRecordSet->loadFromObject($ransactionsResponse->rows);

        $ids = Array();
        foreach ($transactionsRecordSet as $transactionRrecord) {
            $ids[] = $transactionRrecord->get(Pap_Db_Table_Transactions::TRANSACTION_ID);
        }

        $refundParams = new Gpf_Rpc_Params();
        $refundParams->add(Gpf_Rpc_Action::IDS, $ids);
        $refundParams->add(self::REFUND_MERCHANT_NOTE, $params->get(self::REFUND_MERCHANT_NOTE));
        $refundParams->add(self::REFUND_TYPE, $params->get(self::REFUND_TYPE));
        $refundParams->add(self::REFUND_FEE, $params->get(self::REFUND_FEE));
        return $this->makeRefundChargeback($refundParams);
    }
	protected function buildWhere() {
		foreach ($this->filters as $filter) {
			$filter->setTimeOffset($this->timeOffset);
		}
		parent::buildWhere();
	}