Table of Contents
-
$coupons
: Coupons|null
-
$created_at
: DateTimeImmutable|null
-
$id
: int|null
-
$orders
: Collection
-
$ordersDetails
: Collection
-
$reference
: string|null
-
$users
: self|null
-
__construct()
: mixed
-
addOrder()
: self
-
addOrdersDetail()
: self
-
getCoupons()
: Coupons|null
-
getCreatedAt()
: DateTimeImmutable|null
-
getId()
: int|null
-
getOrders()
: Collection<int, self>
-
getOrdersDetails()
: Collection<int, OrdersDetails>
-
getReference()
: string|null
-
getUsers()
: self|null
-
removeOrder()
: self
-
removeOrdersDetail()
: self
-
setCoupons()
: self
-
setCreatedAt()
: self
-
setReference()
: self
-
setUsers()
: self
$coupons
private
Coupons|null
$coupons
= null
$created_at
private
DateTimeImmutable|null
$created_at
= null
$id
private
int|null
$id
= null
$orders
private
Collection
$orders
$ordersDetails
private
Collection
$ordersDetails
$reference
private
string|null
$reference
= null
$users
private
self|null
$users
= null
__construct()
public
__construct() : mixed
Return values
mixed
—
addOrder()
public
addOrder(self $order) : self
Parameters
-
$order
: self
-
Return values
self
—
addOrdersDetail()
public
addOrdersDetail(OrdersDetails $ordersDetail) : self
Parameters
-
$ordersDetail
: OrdersDetails
-
Return values
self
—
getCoupons()
public
getCoupons() : Coupons|null
Return values
Coupons|null
—
getCreatedAt()
public
getCreatedAt() : DateTimeImmutable|null
Return values
DateTimeImmutable|null
—
getId()
public
getId() : int|null
Return values
int|null
—
getOrders()
public
getOrders() : Collection<int, self>
Return values
Collection<int, self>
—
getOrdersDetails()
public
getOrdersDetails() : Collection<int, OrdersDetails>
Return values
Collection<int, OrdersDetails>
—
getReference()
public
getReference() : string|null
Return values
string|null
—
getUsers()
public
getUsers() : self|null
Return values
self|null
—
removeOrder()
public
removeOrder(self $order) : self
Parameters
-
$order
: self
-
Return values
self
—
removeOrdersDetail()
public
removeOrdersDetail(OrdersDetails $ordersDetail) : self
Parameters
-
$ordersDetail
: OrdersDetails
-
Return values
self
—
setCoupons()
public
setCoupons(Coupons|null $coupons) : self
Parameters
-
$coupons
: Coupons|null
-
Return values
self
—
setCreatedAt()
public
setCreatedAt(DateTimeImmutable $created_at) : self
Parameters
-
$created_at
: DateTimeImmutable
-
Return values
self
—
setReference()
public
setReference(string $reference) : self
Parameters
-
$reference
: string
-
Return values
self
—
setUsers()
public
setUsers(self|null $users) : self
Parameters
-
$users
: self|null
-
Return values
self
—