OrderInfoQuantity
extends AbstractQuantity
in package
implements
IncludeReservedOnQuantityInterface
Class OrderInfoQuantity
Interfaces, Classes and Traits
- IncludeReservedOnQuantityInterface
- Interface IncludeReservedOnQuantityInterface
Table of Contents
- $exception : Exception|null
- $exceptionList : mixed
- $quantity : float
- $measureUnit : string
- __construct() : mixed
- Quantity constructor.
- exception() : Exception|null
- exceptions() : array<string|int, Exception>
- hasException() : bool
- measureUnit() : string
- stackException() : void
- value() : float
- flattenExceptionBacktrace() : void
Properties
$exception
protected
Exception|null
$exception
$exceptionList
protected
mixed
$exceptionList
= []
$quantity
protected
float
$quantity
$measureUnit
private
string
$measureUnit
Methods
__construct()
Quantity constructor.
public
__construct(float $quantity[, string $measureUnit = '' ]) : mixed
Parameters
- $quantity : float
- $measureUnit : string = ''
Return values
mixed —exception()
public
exception() : Exception|null
Return values
Exception|null —exceptions()
public
exceptions([null $exceptionClass = null ]) : array<string|int, Exception>
Parameters
- $exceptionClass : null = null
Return values
array<string|int, Exception> —hasException()
public
hasException(string $exceptionName) : bool
Parameters
- $exceptionName : string
Return values
bool —measureUnit()
public
measureUnit() : string
Return values
string —stackException()
public
stackException(Exception $exception) : void
Parameters
- $exception : Exception
Return values
void —value()
public
value() : float
Return values
float —flattenExceptionBacktrace()
protected
flattenExceptionBacktrace(Exception $exception) : void
Parameters
- $exception : Exception