ShoppingCartItemDeleted
in package
Table of Contents
- $customerId : CustomerId
- $shoppingCartItemId : ShoppingCartItemId
- create() : self
- Creates a new instance of ShoppingCartItemDeleted
- customerId() : CustomerId
- Returns the Customer ID
- shoppingCartItemId() : ShoppingCartItemId
- Return the Shopping Cart Item ID
- __construct() : mixed
- Constructor
Properties
$customerId
private
CustomerId
$customerId
$shoppingCartItemId
private
ShoppingCartItemId
$shoppingCartItemId
Methods
create()
Creates a new instance of ShoppingCartItemDeleted
public
static create(CustomerId $customerId, ShoppingCartItemId $shoppingCartItemId) : self
Parameters
- $customerId : CustomerId
- $shoppingCartItemId : ShoppingCartItemId
Return values
self —customerId()
Returns the Customer ID
public
customerId() : CustomerId
Return values
CustomerId —shoppingCartItemId()
Return the Shopping Cart Item ID
public
shoppingCartItemId() : ShoppingCartItemId
Return values
ShoppingCartItemId —__construct()
Constructor
private
__construct(CustomerId $customerId, ShoppingCartItemId $shoppingCartItemId) : mixed
Parameters
- $customerId : CustomerId
- $shoppingCartItemId : ShoppingCartItemId