ShoppingCartDeleted
in package
Table of Contents
- $customerId : CustomerId
- create() : self
- Creates a new instance of ShoppingCartDeleted
- customerId() : CustomerId
- Returns the CustomerId
- __construct() : mixed
- Constructor
Properties
$customerId
private
CustomerId
$customerId
Methods
create()
Creates a new instance of ShoppingCartDeleted
public
static create(CustomerId $customerId) : self
Parameters
- $customerId : CustomerId
Return values
self —customerId()
Returns the CustomerId
public
customerId() : CustomerId
Return values
CustomerId —__construct()
Constructor
private
__construct(CustomerId $customerId) : mixed
Parameters
- $customerId : CustomerId