PageRenderTime 45ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/app/code/core/Mage/Shipping/Model/Rate/Request.php

https://gitlab.com/blingbang2016/shop
PHP | 140 lines | 3 code | 1 blank | 136 comment | 0 complexity | da53b2509c54cc9446e6944e441853a7 MD5 | raw file
  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@magento.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.magento.com for more information.
  20. *
  21. * @category Mage
  22. * @package Mage_Shipping
  23. * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
  24. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  25. */
  26. /**
  27. * Fields:
  28. * - orig:
  29. * - country_id: UK
  30. * - region_id: 1
  31. * - postcode: 90034
  32. * - dest:
  33. * - country_id: UK
  34. * - region_id: 2
  35. * - postcode: 01005
  36. * - package:
  37. * - value: $100
  38. * - weight: 1.5 lb
  39. * - height: 10"
  40. * - width: 10"
  41. * - depth: 10"
  42. * - order:
  43. * - total_qty: 10
  44. * - subtotal: $100
  45. * - option
  46. * - insurance: true
  47. * - handling: $1
  48. * - table (shiptable)
  49. * - condition_name: package_weight
  50. * - limit
  51. * - carrier: ups
  52. * - method: 3dp
  53. * - ups
  54. * - pickup: CC
  55. * - container: CP
  56. * - address: RES
  57. *
  58. * @method int getStoreId()
  59. * @method Mage_Shipping_Model_Rate_Request setStoreId(int $value)
  60. * @method int getWebsiteId()
  61. * @method Mage_Shipping_Model_Rate_Request setWebsiteId(int $value)
  62. * @method string getBaseCurrency()
  63. * @method Mage_Shipping_Model_Rate_Request setBaseCurrency(string $value)
  64. *
  65. * @method Mage_Shipping_Model_Rate_Request setAllItems(array $items)
  66. * @method array getAllItems()
  67. *
  68. * @method Mage_Shipping_Model_Rate_Request setOrigCountryId(string $value)
  69. * @method string getOrigCountryId()
  70. * @method Mage_Shipping_Model_Rate_Request setOrigRegionId(int $value)
  71. * @method int getOrigRegionId()
  72. * @method Mage_Shipping_Model_Rate_Request setOrigPostcode(string $value)
  73. * @method string getOrigPostcode()
  74. * @method Mage_Shipping_Model_Rate_Request setOrigCity(string $value)
  75. * @method string getOrigCity()
  76. *
  77. * @method Mage_Shipping_Model_Rate_Request setDestCountryId(string $value)
  78. * @method string getDestCountryId()
  79. * @method Mage_Shipping_Model_Rate_Request setDestRegionId(int $value)
  80. * @method int getDestRegionId()
  81. * @method Mage_Shipping_Model_Rate_Request setDestRegionCode(string $value)
  82. * @method string getDestRegionCode()
  83. * @method Mage_Shipping_Model_Rate_Request setDestPostcode(string $value)
  84. * @method string getDestPostcode()
  85. * @method Mage_Shipping_Model_Rate_Request setDestCity(string $value)
  86. * @method string getDestCity()
  87. * @method Mage_Shipping_Model_Rate_Request setDestStreet(string $value)
  88. * @method string getDestStreet()
  89. *
  90. * @method Mage_Shipping_Model_Rate_Request setPackageValue(float $value)
  91. * @method float getPackageValue()
  92. * @method Mage_Shipping_Model_Rate_Request setPackageValueWithDiscount(float $value)
  93. * @method float getPackageValueWithDiscount()
  94. * @method Mage_Shipping_Model_Rate_Request setPackagePhysicalValue(float $value)
  95. * @method float getPackagePhysicalValue()
  96. * @method Mage_Shipping_Model_Rate_Request setPackageQty(float $value)
  97. * @method float getPackageQty()
  98. * @method Mage_Shipping_Model_Rate_Request setPackageWeight(float $value)
  99. * @method float getPackageWeight()
  100. * @method Mage_Shipping_Model_Rate_Request setPackageHeight(int $value)
  101. * @method int getPackageHeight()
  102. * @method Mage_Shipping_Model_Rate_Request setPackageWidth(int $value)
  103. * @method int getPackageWidth()
  104. * @method Mage_Shipping_Model_Rate_Request setPackageDepth(int $value)
  105. * @method int getPackageDepth()
  106. * @method Mage_Shipping_Model_Rate_Request setPackageCurrency(string $value)
  107. * @method string getPackageCurrency()
  108. *
  109. * @method Mage_Shipping_Model_Rate_Request setOrderTotalQty(float $value)
  110. * @method float getOrderTotalQty()
  111. * @method Mage_Shipping_Model_Rate_Request setOrderSubtotal(float $value)
  112. * @method float getOrderSubtotal()
  113. *
  114. * @method boolean getFreeShipping()
  115. * @method Mage_Shipping_Model_Rate_Request setFreeShipping(boolean $flag)
  116. * @method float getFreeMethodWeight()
  117. * @method Mage_Shipping_Model_Rate_Request setFreeMethodWeight(float $value)
  118. *
  119. * @method Mage_Shipping_Model_Rate_Request setOptionInsurance(boolean $value)
  120. * @method boolean getOptionInsurance()
  121. * @method Mage_Shipping_Model_Rate_Request setOptionHandling(float $flag)
  122. * @method float getOptionHandling()
  123. *
  124. * @method Mage_Shipping_Model_Rate_Request setConditionName(array $value)
  125. * @method Mage_Shipping_Model_Rate_Request setConditionName(string $value)
  126. * @method string getConditionName()
  127. * @method array getConditionName()
  128. *
  129. * @method Mage_Shipping_Model_Rate_Request setLimitCarrier(string $value)
  130. * @method string getLimitCarrier()
  131. * @method Mage_Shipping_Model_Rate_Request setLimitMethod(string $value)
  132. * @method string getLimitMethod()
  133. *
  134. * @category Mage
  135. * @package Mage_Shipping
  136. * @author Magento Core Team <core@magentocommerce.com>
  137. */
  138. class Mage_Shipping_Model_Rate_Request extends Varien_Object
  139. {}