QuantitySurpassMaximumAllowedQuantityException
extends Exception
in package
Class QuantitySurpassMaximumAllowedQuantityException
Table of Contents
- $maxQuantity : float
- $productId : int
- $requested : float
- __construct() : mixed
- QuantitySurpassMaximumAllowedQuantityException constructor.
- maxQuantity() : float
- productId() : int
- requested() : float
Properties
$maxQuantity
private
float
$maxQuantity
$productId
private
int
$productId
$requested
private
float
$requested
Methods
__construct()
QuantitySurpassMaximumAllowedQuantityException constructor.
public
__construct(int $productId, float $requested, float $maxQuantity[, Throwable|null $previous = null ]) : mixed
Parameters
- $productId : int
- $requested : float
- $maxQuantity : float
- $previous : Throwable|null = null
Return values
mixed —maxQuantity()
public
maxQuantity() : float
Return values
float —productId()
public
productId() : int
Return values
int —requested()
public
requested() : float