Logidav Docs

AbandonedCartLog
in package

Tags
ORM\Table

(name="mz_abandoned_cart_log")

ORM\Entity

(repositoryClass="AppBundle\Repository\AbandonedCartLogRepository")

Table of Contents

Properties

$action  : string
$cart  : AbandonedCart
$createdAt  : DateTime
$details  : string|null
$id  : int
$user  : User|null

Methods

__construct()  : mixed
getAction()  : string
getCart()  : AbandonedCart
getCreatedAt()  : DateTime
getDetails()  : string|null
getId()  : int|null
getUser()  : User|null
setAction()  : self
setCart()  : self
setCreatedAt()  : self
setDetails()  : self
setUser()  : self

Properties

$action

private string $action
Tags
ORM\Column

(name="action", type="string", length=50)

$cart

private AbandonedCart $cart
Tags
ORM\ManyToOne

(targetEntity="AppBundle\Entity\AbandonedCart", inversedBy="logs")

ORM\JoinColumn

(name="cart_id", referencedColumnName="id", nullable=false, onDelete="CASCADE")

$createdAt

private DateTime $createdAt
Tags
ORM\Column

(name="created_at", type="datetime")

$details

private string|null $details
Tags
ORM\Column

(name="details", type="text", nullable=true)

$id

private int $id
Tags
ORM\Column

(name="id", type="integer")

ORM\Id
ORM\GeneratedValue

(strategy="AUTO")

$user

private User|null $user
Tags
ORM\ManyToOne

(targetEntity="UserBundle\Entity\User")

ORM\JoinColumn

(name="user_id", referencedColumnName="id", nullable=true, onDelete="SET NULL")

Methods

getDetails()

public getDetails() : string|null
Return values
string|null

setAction()

public setAction(string $action) : self
Parameters
$action : string
Return values
self

setCreatedAt()

public setCreatedAt(DateTime $createdAt) : self
Parameters
$createdAt : DateTime
Return values
self

setDetails()

public setDetails(string|null $details) : self
Parameters
$details : string|null
Return values
self

        
On this page

Search results