CustomersIsFavoriteStateUpdated
in package
Class CustomersFavoriteStateUpdated
Tags
Table of Contents
- $customerId : CustomerId
- $isFavorite : bool
- create() : CustomersIsFavoriteStateUpdated
- customerId() : CustomerId
- isFavorite() : bool
- __construct() : mixed
Properties
$customerId
private
CustomerId
$customerId
$isFavorite
private
bool
$isFavorite
Methods
create()
public
static create(CustomerId $customerId, bool $isFavorite) : CustomersIsFavoriteStateUpdated
Parameters
- $customerId : CustomerId
- $isFavorite : bool
Return values
CustomersIsFavoriteStateUpdated —customerId()
public
customerId() : CustomerId
Return values
CustomerId —isFavorite()
public
isFavorite() : bool
Return values
bool —__construct()
private
__construct(CustomerId $customerId, bool $isFavorite) : mixed
Parameters
- $customerId : CustomerId
- $isFavorite : bool