public
|
#
store( )
Saves review in database.
Saves review in database.
Returns
$this|\ReviewInterface Same instance for chained method calls.
|
public
|
#
delete( )
Deletes review from database.
Deletes review from database.
Returns
$this|\ReviewInterface Same instance for chained method calls.
|
public
integer
|
#
getId( )
Returns the review id.
Returns
integer Review id.
|
public
|
#
setId( IdType $id )
Sets the review id
Parameters
- $id
- The review id to be set.
Returns
$this|\ReviewInterface Same instance for chained method calls.
|
public
integer
|
#
getProductId( )
Returns the product id.
Returns
integer The product id.
|
public
|
#
setProductId( IdType $productId )
Sets the product id
Parameters
- $productId
- The product id to be set.
Returns
$this|\ReviewInterface Same instance for chained method calls.
|
public
integer
|
#
getRating( )
Returns the rating.
Returns
integer Rating.
|
public
|
#
setRating( IntType $rating )
Sets the rating.
Parameters
- $rating
- Rating to be set.
Returns
$this|\ReviewInterface Same instance for chained method calls.
|
public
DateTime
|
#
getDateAdded( )
Returns the added datetime.
Returns the added datetime.
Returns
DateTime
|
public
|
#
setDateAdded( DateTime $dateAdded )
Sets the added datetime.
Parameters
- $dateAdded
- Date to be set.
Returns
$this|\ReviewInterface Same instance for chained method calls.
|
public
DateTime
|
#
getLastModifiedDate( )
Returns the last modified datetime.
Returns the last modified datetime.
Returns
DateTime The last modified datetime to be set.
|
public
|
#
setLastModifiedDate( DateTime $lastModifiedDate )
Sets the last modified datetime.
Sets the last modified datetime.
Parameters
- $lastModifiedDate
- The last modified date to be set.
Returns
$this|\ReviewInterface Same instance for chained method calls.
|
public
integer
|
#
getRead( )
Returns the number of read.
Returns the number of read.
Returns
integer The number of read.
|
public
|
#
setRead( IntType $read )
Sets the number of read.
Parameters
- $read
- Number of read to be set.
Returns
$this|\ReviewInterface Same instance for chained method calls.
|
public
integer
|
#
getLanguageId( )
Returns the language id.
Returns
integer The language id.
|
public
|
#
setLanguageId( IntType $languageId )
Sets the language id.
Parameters
- $languageId
- Language id to be set.
Returns
$this|\ReviewInterface Same instance for chained method calls.
|
public
string
|
#
getText( )
Returns the review text.
Returns
string The review text.
|
public
|
#
setText( StringType $text )
Sets the review text.
Parameters
- $text
- The review text to be set.
Returns
$this|\ReviewInterface Same instance for chained method calls.
|
public
ReviewCustomerInterface
|
#
getCustomer( )
Returns the review customer.
Returns the review customer.
Returns
|
public
|
#
setCustomer( ReviewCustomerInterface $customer )
Sets the review customer.
Sets the review customer.
Parameters
Returns
$this|\ReviewInterface Same instance for chained method calls.
|