Interface ReviewReadServiceInterface

Interface ReviewReadServiceInterface

Direct known implementers

ReviewReadService

Methods summary

public getAll( void ) : ReviewCollection

Returns all review entities as array.

public getById( IdType $id ) : Review

Returns review entity data by the given id.

public getAverageRatingByProductId( IdType $productId ) : float

Returns the average rating by given product id.

public getReviewsByProductId( IdType $productId, IdType $languageId ) : ReviewCollection

Returns the reviews by given product id.

public getReviewsByCustomerId( IdType $customerId ) : ReviewCollection

Returns the reviews by given customer ID.