PriceSummary
in package
Implement row price object
This class provides general interfaces to handle row prices.
Tags
Table of Contents
- $bold : float|null
- $delivery : float|null
- $net : float|null
- $payment : float|null
- $taxes : array<string|int, mixed>
- Taxes map
- __construct() : mixed
- PriceSummary constructor.
Properties
$bold
public
float|null
$bold
= 0.0
$delivery
public
float|null
$delivery
= null
$net
public
float|null
$net
= 0.0
$payment
public
float|null
$payment
= null
$taxes
Taxes map
public
array<string|int, mixed>
$taxes
= []
Methods
__construct()
PriceSummary constructor.
public
__construct([float|int $net = 0.0 ][, float|int $bold = 0.0 ][, float|int $delivery = 0.0 ][, float|int $payment = 0.0 ]) : mixed
Parameters
- $net : float|int = 0.0
-
The full net price
- $bold : float|int = 0.0
-
The full bold price
- $delivery : float|int = 0.0
-
The delivery fee
- $payment : float|int = 0.0
-
The payment method fee