SendWishlistParametersGroup
extends ParametersGroup
in package
This is the user model (send wishlist resource) parameters group class.
Table of Contents
$comment | : string | |
---|---|---|
$productIdList | : string | |
$toEmail | : string | |
$toName | : string | |
$validator | : ParametersValidator | |
setComment() | Sets the comment parameter for this parameters group. | : void |
setProductIdList() | Sets a list of products internal identifiers for this parameters group. | : void |
setToEmail() | Sets the receiver email parameter for this parameters group. | : void |
setToName() | Sets the receiver name parameter for this parameters group. | : void |
toArray() | Returns the object data on array format. | : array<string|int, mixed> |
filter() | : array<string|int, mixed> | |
getInstantiatedValidator() | : ParametersValidator | |
getValidator() | : SendWishlistParametersValidator |
Properties
$comment
protected
string
$comment
$productIdList
protected
string
$productIdList
$toEmail
protected
string
$toEmail
$toName
protected
string
$toName
$validator
protected
ParametersValidator
$validator
Methods
setComment()
Sets the comment parameter for this parameters group.
public
setComment(string $comment) : void
Parameters
- $comment : string
Return values
void —setProductIdList()
Sets a list of products internal identifiers for this parameters group.
public
setProductIdList(string $productIdList) : void
Parameters
- $productIdList : string
Return values
void —setToEmail()
Sets the receiver email parameter for this parameters group.
public
setToEmail(string $toEmail) : void
Parameters
- $toEmail : string
Return values
void —setToName()
Sets the receiver name parameter for this parameters group.
public
setToName(string $toName) : void
Parameters
- $toName : string
Return values
void —toArray()
Returns the object data on array format.
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —filter()
protected
filter(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
Return values
array<string|int, mixed> —getInstantiatedValidator()
protected
getInstantiatedValidator() : ParametersValidator
Return values
ParametersValidator —getValidator()
protected
getValidator() : SendWishlistParametersValidator