ProductQtyLog
in package
ProductQtyLog
Tags
Table of Contents
Properties
- $action : string
- $createdAt : DateTime
- $id : int
- $msg : string
- $newQty : string
- $oldQty : string
- $product : mixed
- $qty : int
- $sale : mixed
- $user : mixed
Methods
- getAction() : string
- Get action
- getActionLabel() : mixed
- getCreatedAt() : DateTime
- Get createdAt
- getId() : int
- Get id
- getMsg() : string
- Get msg
- getNewQty() : string
- Get newQty
- getOldQty() : string
- Get oldQty
- getProduct() : Product
- Get product
- getQty() : int
- Get qty
- getSale() : Sale
- Get sale
- getUser() : User
- Get user
- setAction() : ProductQtyLog
- Set action
- setCreatedAt() : ProductQtyLog
- Set createdAt
- setMsg() : ProductQtyLog
- Set msg
- setNewQty() : ProductQtyLog
- Set newQty
- setOldQty() : ProductQtyLog
- Set oldQty
- setProduct() : ProductQtyLog
- Set product
- setQty() : ProductQtyLog
- Set qty
- setSale() : ProductQtyLog
- Set sale
- setUser() : ProductQtyLog
- Set user
Properties
$action
private
string
$action
Tags
$createdAt
private
DateTime
$createdAt
Tags
$id
private
int
$id
Tags
$msg
private
string
$msg
Tags
$newQty
private
string
$newQty
Tags
$oldQty
private
string
$oldQty
Tags
$product
private
mixed
$product
Tags
$qty
private
int
$qty
Tags
$sale
private
mixed
$sale
Tags
$user
private
mixed
$user
Tags
Methods
getAction()
Get action
public
getAction() : string
Return values
stringgetActionLabel()
public
static getActionLabel([mixed $method = null ]) : mixed
Parameters
- $method : mixed = null
getCreatedAt()
Get createdAt
public
getCreatedAt() : DateTime
Return values
DateTimegetId()
Get id
public
getId() : int
Return values
intgetMsg()
Get msg
public
getMsg() : string
Return values
stringgetNewQty()
Get newQty
public
getNewQty() : string
Return values
stringgetOldQty()
Get oldQty
public
getOldQty() : string
Return values
stringgetProduct()
Get product
public
getProduct() : Product
Return values
ProductgetQty()
Get qty
public
getQty() : int
Return values
intgetSale()
Get sale
public
getSale() : Sale
Return values
SalegetUser()
Get user
public
getUser() : User
Return values
UsersetAction()
Set action
public
setAction(string $action) : ProductQtyLog
Parameters
- $action : string
Return values
ProductQtyLogsetCreatedAt()
Set createdAt
public
setCreatedAt(DateTime $createdAt) : ProductQtyLog
Parameters
- $createdAt : DateTime
Return values
ProductQtyLogsetMsg()
Set msg
public
setMsg(string $msg) : ProductQtyLog
Parameters
- $msg : string
Return values
ProductQtyLogsetNewQty()
Set newQty
public
setNewQty(string $newQty) : ProductQtyLog
Parameters
- $newQty : string
Return values
ProductQtyLogsetOldQty()
Set oldQty
public
setOldQty(string $oldQty) : ProductQtyLog
Parameters
- $oldQty : string
Return values
ProductQtyLogsetProduct()
Set product
public
setProduct(Product $product) : ProductQtyLog
Parameters
- $product : Product
Return values
ProductQtyLogsetQty()
Set qty
public
setQty(int $qty) : ProductQtyLog
Parameters
- $qty : int
Return values
ProductQtyLogsetSale()
Set sale
public
setSale([Sale $sale = null ]) : ProductQtyLog
Parameters
- $sale : Sale = null
Return values
ProductQtyLogsetUser()
Set user
public
setUser(User $user) : ProductQtyLog
Parameters
- $user : User