getID()) { return []; } $transactionQb = sqlQueryBuilder() ->select('uid, date_sent') ->from('sk_eet_payment') ->andWhere(Operator::equals(['id_payment' => $this->getID()])) ->execute() ->fetchAssociative(); return [ 'transactionUid' => $transactionQb['uid'] ?? '', 'transactionDateSent' => $transactionQb['date_sent'] ?? '', ]; } public static function getTypes() { return [ 'orderPayment' => 1, ]; } }