1: <?php
2: /**
3: * Magento
4: *
5: * NOTICE OF LICENSE
6: *
7: * This source file is subject to the Open Software License (OSL 3.0)
8: * that is bundled with this package in the file LICENSE.txt.
9: * It is also available through the world-wide-web at this URL:
10: * http://opensource.org/licenses/osl-3.0.php
11: * If you did not receive a copy of the license and are unable to
12: * obtain it through the world-wide-web, please send an email
13: * to license@magentocommerce.com so we can send you a copy immediately.
14: *
15: * DISCLAIMER
16: *
17: * Do not edit or add to this file if you wish to upgrade Magento to newer
18: * versions in the future. If you wish to customize Magento for your
19: * needs please refer to http://www.magentocommerce.com for more information.
20: *
21: * @category Mage
22: * @package Mage_Shipping
23: * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24: * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25: */
26:
27: /**
28: * Fields:
29: * - orig:
30: * - country_id: UK
31: * - region_id: 1
32: * - postcode: 90034
33: * - dest:
34: * - country_id: UK
35: * - region_id: 2
36: * - postcode: 01005
37: * - package:
38: * - value: $100
39: * - weight: 1.5 lb
40: * - height: 10"
41: * - width: 10"
42: * - depth: 10"
43: * - order:
44: * - total_qty: 10
45: * - subtotal: $100
46: * - option
47: * - insurance: true
48: * - handling: $1
49: * - table (shiptable)
50: * - condition_name: package_weight
51: * - limit
52: * - carrier: ups
53: * - method: 3dp
54: * - ups
55: * - pickup: CC
56: * - container: CP
57: * - address: RES
58: *
59: * @method int getStoreId()
60: * @method Mage_Shipping_Model_Rate_Request setStoreId(int $value)
61: * @method int getWebsiteId()
62: * @method Mage_Shipping_Model_Rate_Request setWebsiteId(int $value)
63: * @method string getBaseCurrency()
64: * @method Mage_Shipping_Model_Rate_Request setBaseCurrency(string $value)
65: *
66: * @method Mage_Shipping_Model_Rate_Request setAllItems(array $items)
67: * @method array getAllItems()
68: *
69: * @method Mage_Shipping_Model_Rate_Request setOrigCountryId(string $value)
70: * @method string getOrigCountryId()
71: * @method Mage_Shipping_Model_Rate_Request setOrigRegionId(int $value)
72: * @method int getOrigRegionId()
73: * @method Mage_Shipping_Model_Rate_Request setOrigPostcode(string $value)
74: * @method string getOrigPostcode()
75: * @method Mage_Shipping_Model_Rate_Request setOrigCity(string $value)
76: * @method string getOrigCity()
77: *
78: * @method Mage_Shipping_Model_Rate_Request setDestCountryId(string $value)
79: * @method string getDestCountryId()
80: * @method Mage_Shipping_Model_Rate_Request setDestRegionId(int $value)
81: * @method int getDestRegionId()
82: * @method Mage_Shipping_Model_Rate_Request setDestRegionCode(string $value)
83: * @method string getDestRegionCode()
84: * @method Mage_Shipping_Model_Rate_Request setDestPostcode(string $value)
85: * @method string getDestPostcode()
86: * @method Mage_Shipping_Model_Rate_Request setDestCity(string $value)
87: * @method string getDestCity()
88: * @method Mage_Shipping_Model_Rate_Request setDestStreet(string $value)
89: * @method string getDestStreet()
90: *
91: * @method Mage_Shipping_Model_Rate_Request setPackageValue(float $value)
92: * @method float getPackageValue()
93: * @method Mage_Shipping_Model_Rate_Request setPackageValueWithDiscount(float $value)
94: * @method float getPackageValueWithDiscount()
95: * @method Mage_Shipping_Model_Rate_Request setPackagePhysicalValue(float $value)
96: * @method float getPackagePhysicalValue()
97: * @method Mage_Shipping_Model_Rate_Request setPackageQty(float $value)
98: * @method float getPackageQty()
99: * @method Mage_Shipping_Model_Rate_Request setPackageWeight(float $value)
100: * @method float getPackageWeight()
101: * @method Mage_Shipping_Model_Rate_Request setPackageHeight(int $value)
102: * @method int getPackageHeight()
103: * @method Mage_Shipping_Model_Rate_Request setPackageWidth(int $value)
104: * @method int getPackageWidth()
105: * @method Mage_Shipping_Model_Rate_Request setPackageDepth(int $value)
106: * @method int getPackageDepth()
107: * @method Mage_Shipping_Model_Rate_Request setPackageCurrency(string $value)
108: * @method string getPackageCurrency()
109: *
110: * @method Mage_Shipping_Model_Rate_Request setOrderTotalQty(float $value)
111: * @method float getOrderTotalQty()
112: * @method Mage_Shipping_Model_Rate_Request setOrderSubtotal(float $value)
113: * @method float getOrderSubtotal()
114: *
115: * @method boolean getFreeShipping()
116: * @method Mage_Shipping_Model_Rate_Request setFreeShipping(boolean $flag)
117: * @method float getFreeMethodWeight()
118: * @method Mage_Shipping_Model_Rate_Request setFreeMethodWeight(float $value)
119: *
120: * @method Mage_Shipping_Model_Rate_Request setOptionInsurance(boolean $value)
121: * @method boolean getOptionInsurance()
122: * @method Mage_Shipping_Model_Rate_Request setOptionHandling(float $flag)
123: * @method float getOptionHandling()
124: *
125: * @method Mage_Shipping_Model_Rate_Request setConditionName(array $value)
126: * @method Mage_Shipping_Model_Rate_Request setConditionName(string $value)
127: * @method string getConditionName()
128: * @method array getConditionName()
129: *
130: * @method Mage_Shipping_Model_Rate_Request setLimitCarrier(string $value)
131: * @method string getLimitCarrier()
132: * @method Mage_Shipping_Model_Rate_Request setLimitMethod(string $value)
133: * @method string getLimitMethod()
134: *
135: * @category Mage
136: * @package Mage_Shipping
137: * @author Magento Core Team <core@magentocommerce.com>
138: */
139: class Mage_Shipping_Model_Rate_Request extends Varien_Object
140: {}
141: