Copied!

CartInterface

CartInterface.php : 16

Methods

publicgetContext()

CartInterface.php : 38
public getContext() : MapInterface<string, mixed>|null

Return values

MapInterface<string, mixed>|null

publicgetCreatedAt()

CartInterface.php : 40
public getCreatedAt() : DateTimeInterface

Return values

DateTimeInterface

publicgetCurrency()

CartInterface.php : 33
public getCurrency() : CurrencyInterface

Return values

CurrencyInterface

publicgetEntries()

CartInterface.php : 31
public getEntries() : EntryCollectionInterface

Return values

EntryCollectionInterface

publicgetId()

CartInterface.php : 23

Numeric ID used by some storage gateways.

public getId() : int|null

Use getIdentifier() for compatibility across all storages.

Return values

int|null

publicgetIdentifier()

CartInterface.php : 25
public getIdentifier() : string

Return values

string

publicgetName()

CartInterface.php : 27
public getName() : string

Return values

string

publicgetOwner()

CartInterface.php : 29
public getOwner() : User

Return values

User

publicgetUpdatedAt()

CartInterface.php : 42
public getUpdatedAt() : DateTimeInterface

Return values

DateTimeInterface