CustomerReview
in package
CustomerReview
Tags
Table of Contents
Properties
- $comment : string
- $createdAt : DateTime
- $customerEmail : string
- $customerName : string
- $id : int
- $orderType : string
- $reviewId : int
- $reviewType : string
- $source : string
- $stars : float
Methods
- getComment() : string
- Get comment
- getCreatedAt() : DateTime
- Get createdAt
- getCustomerEmail() : string
- Get customerEmail
- getCustomerName() : string
- Get customerName
- getId() : int
- Get id
- getOrderType() : string|null
- getReviewId() : int
- getReviewType() : string
- Get reviewType
- getSource() : string
- Get source
- getStars() : float
- Get stars
- setComment() : CustomerReview
- Set comment
- setCreatedAt() : CustomerReview
- Set createdAt
- setCreatedAtValue() : mixed
- setCustomerEmail() : CustomerReview
- Set customerEmail
- setCustomerName() : CustomerReview
- Set customerName
- setId() : void
- setOrderType() : void
- setReviewId() : void
- setReviewType() : CustomerReview
- Set reviewType
- setSource() : CustomerReview
- Set source
- setStars() : CustomerReview
- Set stars
Properties
$comment
private
string
$comment
Tags
$createdAt
private
DateTime
$createdAt
Tags
$customerEmail
private
string
$customerEmail
Tags
$customerName
private
string
$customerName
Tags
$id
private
int
$id
Tags
$orderType
private
string
$orderType
Tags
$reviewId
private
int
$reviewId
Tags
$reviewType
private
string
$reviewType
Tags
$source
private
string
$source
Tags
$stars
private
float
$stars
Tags
Methods
getComment()
Get comment
public
getComment() : string
Return values
stringgetCreatedAt()
Get createdAt
public
getCreatedAt() : DateTime
Return values
DateTimegetCustomerEmail()
Get customerEmail
public
getCustomerEmail() : string
Return values
stringgetCustomerName()
Get customerName
public
getCustomerName() : string
Return values
stringgetId()
Get id
public
getId() : int
Return values
intgetOrderType()
public
getOrderType() : string|null
Return values
string|nullgetReviewId()
public
getReviewId() : int
Return values
intgetReviewType()
Get reviewType
public
getReviewType() : string
Return values
stringgetSource()
Get source
public
getSource() : string
Return values
stringgetStars()
Get stars
public
getStars() : float
Return values
floatsetComment()
Set comment
public
setComment(string $comment) : CustomerReview
Parameters
- $comment : string
Return values
CustomerReviewsetCreatedAt()
Set createdAt
public
setCreatedAt(DateTime $createdAt) : CustomerReview
Parameters
- $createdAt : DateTime
Return values
CustomerReviewsetCreatedAtValue()
public
setCreatedAtValue() : mixed
Tags
setCustomerEmail()
Set customerEmail
public
setCustomerEmail(string $customerEmail) : CustomerReview
Parameters
- $customerEmail : string
Return values
CustomerReviewsetCustomerName()
Set customerName
public
setCustomerName(string $customerName) : CustomerReview
Parameters
- $customerName : string
Return values
CustomerReviewsetId()
public
setId(int $id) : void
Parameters
- $id : int
setOrderType()
public
setOrderType(string|null $orderType) : void
Parameters
- $orderType : string|null
setReviewId()
public
setReviewId(int $reviewId) : void
Parameters
- $reviewId : int
setReviewType()
Set reviewType
public
setReviewType(string $reviewType) : CustomerReview
Parameters
- $reviewType : string
Return values
CustomerReviewsetSource()
Set source
public
setSource(string $source) : CustomerReview
Parameters
- $source : string
Return values
CustomerReviewsetStars()
Set stars
public
setStars(float $stars) : CustomerReview
Parameters
- $stars : float