public function getRate()
 {
     $shippableItems = VividCart::getShippableItems();
     if (count($shippableItems) > 0) {
         if ($this->getRateType() == 'quantity') {
             $shippingTotal = $this->getQuantityBasedRate($shippableItems);
         } elseif ($this->getRateType() == 'weight') {
             $shippingTotal = $this->getWeightBasedRate($shippableItems);
         }
     } else {
         $shippingTotal = 0;
     }
     return $shippingTotal;
 }