ReviewInterface

Extends

Interface ReviewInterface

category

System

package

Review

subpackage

Entities

Methods

Deletes review from database.

delete() : $this|\ReviewInterface

Response

$this|\ReviewInterface

Same instance for chained method calls.

Returns the review customer.

getCustomer() : \ReviewCustomerInterface

Returns the added datetime.

getDateAdded() : \DateTime

Response

\DateTime

Returns the review id.

getId() : integer

Response

integer

Review id.

Returns the language id.

getLanguageId() : integer

Response

integer

The language id.

Returns the last modified datetime.

getLastModifiedDate() : \DateTime

Response

\DateTime

The last modified datetime to be set.

Returns the product id.

getProductId() : integer

Response

integer

The product id.

Returns the rating.

getRating() : integer

Response

integer

Rating.

Returns the number of read.

getRead() : integer

Response

integer

The number of read.

Returns the review text.

getText() : string

Response

string

The review text.

Sets the review customer.

setCustomer(\ReviewCustomerInterface $customer) : $this|\ReviewInterface

Arguments

Response

$this|\ReviewInterface

Same instance for chained method calls.

Sets the added datetime.

setDateAdded(\DateTime $dateAdded) : $this|\ReviewInterface

Arguments

$dateAdded

\DateTime

Date to be set.

Response

$this|\ReviewInterface

Same instance for chained method calls.

Sets the review id

setId(\IdType $id) : $this|\ReviewInterface

Arguments

$id

\IdType

The review id to be set.

Response

$this|\ReviewInterface

Same instance for chained method calls.

Sets the language id.

setLanguageId(\IntType $languageId) : $this|\ReviewInterface

Arguments

$languageId

\IntType

Language id to be set.

Response

$this|\ReviewInterface

Same instance for chained method calls.

Sets the last modified datetime.

setLastModifiedDate(\DateTime $lastModifiedDate) : $this|\ReviewInterface

Arguments

$lastModifiedDate

\DateTime

The last modified date to be set.

Response

$this|\ReviewInterface

Same instance for chained method calls.

Sets the product id

setProductId(\IdType $productId) : $this|\ReviewInterface

Arguments

$productId

\IdType

The product id to be set.

Response

$this|\ReviewInterface

Same instance for chained method calls.

Sets the rating.

setRating(\IntType $rating) : $this|\ReviewInterface

Arguments

$rating

\IntType

Rating to be set.

Response

$this|\ReviewInterface

Same instance for chained method calls.

Sets the number of read.

setRead(\IntType $read) : $this|\ReviewInterface

Arguments

$read

\IntType

Number of read to be set.

Response

$this|\ReviewInterface

Same instance for chained method calls.

Sets the review text.

setText(\StringType $text) : $this|\ReviewInterface

Arguments

$text

\StringType

The review text to be set.

Response

$this|\ReviewInterface

Same instance for chained method calls.

Saves review in database.

store() : $this|\ReviewInterface

Response

$this|\ReviewInterface

Same instance for chained method calls.