PHP Class LukePOLO\LaraCart\CartFee

Inheritance: use trait LukePOLO\LaraCart\Traits\CartOptionsMagicMethodsTrait
Datei anzeigen Open project: lukepolo/laracart

Public Properties

Property Type Description
$amount
$internationalFormat
$locale
$tax
$taxable

Public Methods

Method Description
__construct ( $amount, $taxable = false, array $options = [] ) CartFee constructor.
getAmount ( boolean $format = true ) : string Gets the formatted amount.

Method Details

__construct() public method

CartFee constructor.
public __construct ( $amount, $taxable = false, array $options = [] )
$amount
$taxable
$options array

getAmount() public method

Gets the formatted amount.
public getAmount ( boolean $format = true ) : string
$format boolean
return string

Property Details

$amount public_oe property

public $amount

$internationalFormat public_oe property

public $internationalFormat

$locale public_oe property

public $locale

$tax public_oe property

public $tax

$taxable public_oe property

public $taxable