public function addFee($name, $amount, $taxable = false, array $options = [])
    {
        array_set($this->cart->fees, $name, new CartFee($amount, $taxable, $options));

        $this->update();
    }
public function addFee($name, $amount, $taxable = false, array $options = [])
    {
        array_set($this->cart->fees, $name, new CartFee($amount, $taxable, $options));

        $this->update();
    }
public function addFee ( $ name , $ amount , $ taxable = false , array $ options = [ ] ) { array_set ( $ this -> cart -> fees , $ name , new CartFee ( $ amount , $ taxable , $ options ) ) ; $ this -> update ( ) ; }
Allows to charge for additional fees that may or may not be taxable
ex - service fee , delivery fee, tips.

@param $name
@param $amount
@param bool|false $taxable
@param array      $options
Allows to charge for additional fees that may or may not be taxable ex - service fee delivery fee tips .