PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/seoshop.live/wp-content/plugins/cart66/pro/models/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/seoshop.live/wp-content/plugins/cart66/pro/models/Cart66LiveRate.php

<?php
class Cart66LiveRate extends Cart66BaseModelAbstract {
  
  protected $_data = array();
  
  public function __construct($carrier, $service, $rate, $isSelected=false) {
    $this->_data['carrier'] = $carrier;
    $this->_data['service'] = $service;
    $this->_data['rate'] = $rate;
    $this->_data['isSelected'] = $isSelected;
  }
  
  public function getCarrier() {
    return $this->_data['carrier'];
  }
  
  public function getService() {
    return $this->_data['service'];
  }
  
  public function setService($value) {
    $this->_data['service'] = $value;
  }
  
  public function getRate() {
    return $this->_data['rate'];
  }
  
  public function setRate($value) {
    $this->_data['rate'] = $value;
  }
  
  public function isSelected() {
    return $this->_data['isSelected'];
  }
  
  public function setSelected($value) {
    if($value) {
      $this->_data['isSelected'] = true;
      Cart66Common::log('[' . basename(__FILE__) . ' - line ' . __LINE__ . "] Setting this live rate to selected: " . $this->_data['service']);
    }
    else {
      $this->_data['isSelected'] = false;
    }
  }

}