OptionValuesProductDetails
in package
Class OptionValuesProductCustomization
Tags
Table of Contents
- HIGHEST_STORABLE_FLOAT = 99999.9999
- MAXIMUM_DECIMAL_PLACES = 4
- $modelNumber : string
- $price : float
- $weight : float
- create() : OptionValuesProductDetails
- modelNumber() : string
- price() : float
- weight() : float
- __construct() : mixed
- OptionValuesProductCustomization constructor.
Constants
HIGHEST_STORABLE_FLOAT
private
mixed
HIGHEST_STORABLE_FLOAT
= 99999.9999
MAXIMUM_DECIMAL_PLACES
private
mixed
MAXIMUM_DECIMAL_PLACES
= 4
Properties
$modelNumber
private
string
$modelNumber
$price
private
float
$price
$weight
private
float
$weight
Methods
create()
public
static create(string $modelNumber, float $weight, float $price) : OptionValuesProductDetails
Parameters
- $modelNumber : string
- $weight : float
- $price : float
Return values
OptionValuesProductDetails —modelNumber()
public
modelNumber() : string
Return values
string —price()
public
price() : float
Return values
float —weight()
public
weight() : float
Return values
float —__construct()
OptionValuesProductCustomization constructor.
private
__construct(string $modelNumber, float $weight, float $price) : mixed
Parameters
- $modelNumber : string
- $weight : float
- $price : float