Frontend | Backend | Api

Carts\Models\Backend\Message

Message

Method Description Returns
getId() int
getStatus() string
isInfo() Returns if it is the info message bool
isWarning() Returns if it is the warning message bool
isError() Returns if it is the error message bool
getText() string
getData() mixed
getExpiry() DateTime
isExpired() Checks if the message is expired. bool
getCreated() Date the record was created. DateTime
getCart() Cart
getItem() Item
isNewRecord() Check if the record is a new record bool
isHierarchicalModel() Check whether a model is a hierarchical model, i.e. can have children bool
isVersionedModel() Check whether a model is versioned bool