1: <?php
2:
3: /**
4: * ShipSync
5: *
6: * @category IllApps
7: * @package IllApps_Shipsync
8: * @copyright Copyright (c) 2014 EcoMATICS, Inc. DBA IllApps (http://www.illapps.com)
9: * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
10: */
11:
12: /**
13: * IllApps_Shipsync_Model_Shipment_Abstract
14: */
15: class IllApps_Shipsync_Model_Shipment_Abstract extends Varien_Object
16: {
17: public function getFedexAccount()
18: {
19: if (Mage::getStoreConfig('carriers/fedex/test_mode')) {
20: return Mage::getStoreConfig('carriers/fedex/test_account');
21: }
22: else {
23: return Mage::getStoreConfig('carriers/fedex/account');
24: }
25: }
26:
27: public function getFedexAccountCountry()
28: {
29: return Mage::getStoreConfig('carriers/fedex/account_country');
30: }
31: }
32: