Totals extends Element Uses ElementTrait

This is the Totals rich prices container class.

Tags
see
Totals::getTotalRows
see
Totals::getTotalRowsWithTaxes
see
Totals::getTotalShippingsWithDiscounts
see
Totals::getTotalShippingsWithDiscountsWithTaxes
see
Totals::getTotalPaymentSystem
see
Totals::getTotalPaymentSystemWithTaxes
see
Totals::getTotal
see
Totals::getTotalWithDiscounts
see
Totals::getTotalTaxesValue
see
Totals::getTotalWithDiscountsWithTaxes
see
Totals::getTotalRowsDiscountsValue
see
Totals::getTotalBasketDiscountsValue
see
Totals::getTotalShippingDiscountsValue
see
Totals::getTotalVouchers
see
ElementTrait

Table of Contents

$total  : float
$totalBasketDiscountsValue  : float
$totalPaymentSystem  : float
$totalPaymentSystemWithTaxes  : float
$totalRows  : float
$totalRowsDiscountsValue  : float
$totalRowsWithTaxes  : float
$totalShippingDiscountsValue  : float
$totalShippingsWithDiscounts  : float
$totalShippingsWithDiscountsWithTaxes  : float
$totalTaxesValue  : float
$totalVouchers  : float
$totalWithDiscounts  : float
$totalWithDiscountsWithTaxes  : float
getTotal() Returns the total value.  : float
getTotalBasketDiscountsValue() Returns the totalBasketDiscountsValue value.  : float
getTotalPaymentSystem() Returns the totalPaymentSystem value.  : float
getTotalPaymentSystemWithTaxes() Returns the totalPaymentSystemWithTaxes value.  : float
getTotalRows() Returns the totalRows value.  : float
getTotalRowsDiscountsValue() Returns the totalRowsDiscountsValue value.  : float
getTotalRowsWithTaxes() Returns the totalRowsWithTaxes value.  : float
getTotalShippingDiscountsValue() Returns the totalShippingDiscountsValue value.  : float
getTotalShippingsWithDiscounts() Returns the totalShippingsWithDiscounts value.  : float
getTotalShippingsWithDiscountsWithTaxes() Returns the totalShippingsWithDiscountsWithTaxes value.  : float
getTotalTaxesValue() Returns the totalTaxesValue value.  : float
getTotalVouchers() Returns the totalVouchers value.  : float
getTotalWithDiscounts() Returns the totalWithDiscounts value.  : float
getTotalWithDiscountsWithTaxes() Returns the totalWithDiscountsWithTaxes value.  : float

Properties

$total

protected float $total = 0

$totalBasketDiscountsValue

protected float $totalBasketDiscountsValue = 0

$totalPaymentSystem

protected float $totalPaymentSystem = 0

$totalPaymentSystemWithTaxes

protected float $totalPaymentSystemWithTaxes = 0

$totalRows

protected float $totalRows = 0

$totalRowsDiscountsValue

protected float $totalRowsDiscountsValue = 0

$totalRowsWithTaxes

protected float $totalRowsWithTaxes = 0

$totalShippingDiscountsValue

protected float $totalShippingDiscountsValue = 0

$totalShippingsWithDiscounts

protected float $totalShippingsWithDiscounts = 0

$totalShippingsWithDiscountsWithTaxes

protected float $totalShippingsWithDiscountsWithTaxes = 0

$totalTaxesValue

protected float $totalTaxesValue = 0

$totalVouchers

protected float $totalVouchers = 0

$totalWithDiscounts

protected float $totalWithDiscounts = 0

$totalWithDiscountsWithTaxes

protected float $totalWithDiscountsWithTaxes = 0

Methods

getTotal()

Returns the total value.

public getTotal() : float
Return values
float

getTotalBasketDiscountsValue()

Returns the totalBasketDiscountsValue value.

public getTotalBasketDiscountsValue() : float
Return values
float

getTotalPaymentSystem()

Returns the totalPaymentSystem value.

public getTotalPaymentSystem() : float
Return values
float

getTotalPaymentSystemWithTaxes()

Returns the totalPaymentSystemWithTaxes value.

public getTotalPaymentSystemWithTaxes() : float
Return values
float

getTotalRows()

Returns the totalRows value.

public getTotalRows() : float
Return values
float

getTotalRowsDiscountsValue()

Returns the totalRowsDiscountsValue value.

public getTotalRowsDiscountsValue() : float
Return values
float

getTotalRowsWithTaxes()

Returns the totalRowsWithTaxes value.

public getTotalRowsWithTaxes() : float
Return values
float

getTotalShippingDiscountsValue()

Returns the totalShippingDiscountsValue value.

public getTotalShippingDiscountsValue() : float
Return values
float

getTotalShippingsWithDiscounts()

Returns the totalShippingsWithDiscounts value.

public getTotalShippingsWithDiscounts() : float
Return values
float

getTotalShippingsWithDiscountsWithTaxes()

Returns the totalShippingsWithDiscountsWithTaxes value.

public getTotalShippingsWithDiscountsWithTaxes() : float
Return values
float

getTotalTaxesValue()

Returns the totalTaxesValue value.

public getTotalTaxesValue() : float
Return values
float

getTotalVouchers()

Returns the totalVouchers value.

public getTotalVouchers() : float
Return values
float

getTotalWithDiscounts()

Returns the totalWithDiscounts value.

public getTotalWithDiscounts() : float
Return values
float

getTotalWithDiscountsWithTaxes()

Returns the totalWithDiscountsWithTaxes value.

public getTotalWithDiscountsWithTaxes() : float
Return values
float

Search results