mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-19 22:05:18 +00:00
Changed $taxRate from private to public, Solve https://github.com/Crinsane/LaravelShoppingcart/issues/436
This commit is contained in:
@@ -58,6 +58,13 @@ class CartItem implements Arrayable, Jsonable
|
||||
*/
|
||||
public $options;
|
||||
|
||||
/**
|
||||
* The tax rate for the cart item.
|
||||
*
|
||||
* @var int|float
|
||||
*/
|
||||
public $taxRate = 0;
|
||||
|
||||
/**
|
||||
* The FQN of the associated model.
|
||||
*
|
||||
@@ -65,13 +72,6 @@ class CartItem implements Arrayable, Jsonable
|
||||
*/
|
||||
private $associatedModel = null;
|
||||
|
||||
/**
|
||||
* The tax rate for the cart item.
|
||||
*
|
||||
* @var int|float
|
||||
*/
|
||||
private $taxRate = 0;
|
||||
|
||||
/**
|
||||
* The discount rate for the cart item.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user