WeeeAdjustmentAttributeInterface.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Weee\Api\Data\ProductRender;
  7. use Magento\Framework\Api\ExtensibleDataInterface;
  8. /**
  9. * List of all weee attributes, their amounts, etc.., that product has
  10. * @api
  11. * @since 100.2.0
  12. */
  13. interface WeeeAdjustmentAttributeInterface extends ExtensibleDataInterface
  14. {
  15. /**
  16. * Set amount
  17. *
  18. * @param string|float $amount
  19. * @return void
  20. * @since 100.2.0
  21. */
  22. public function setAmount($amount);
  23. /**
  24. * Retrieve weee attribute amount
  25. *
  26. * @return string
  27. * @since 100.2.0
  28. */
  29. public function getAmount();
  30. /**
  31. * Retrieve tax which is calculated to fixed product tax attribute
  32. *
  33. * @return string
  34. * @since 100.2.0
  35. */
  36. public function getTaxAmount();
  37. /**
  38. * Set weee tax
  39. *
  40. * @param string $taxAmount
  41. * @return void
  42. * @since 100.2.0
  43. */
  44. public function setTaxAmount($taxAmount);
  45. /**
  46. * Set product amount without weee tax
  47. *
  48. * @param string $amountExclTax
  49. * @return void
  50. * @since 100.2.0
  51. */
  52. public function setAmountExclTax($amountExclTax);
  53. /**
  54. * Set tax amount of weee attribute
  55. *
  56. * @param string $amountInclTax
  57. * @return void
  58. * @since 100.2.0
  59. */
  60. public function setTaxAmountInclTax($amountInclTax);
  61. /**
  62. * Retrieve tax amount of weee attribute
  63. *
  64. * @return string
  65. * @since 100.2.0
  66. */
  67. public function getTaxAmountInclTax();
  68. /**
  69. * Retrieve product amount exclude tax
  70. *
  71. * @return string
  72. * @since 100.2.0
  73. */
  74. public function getAmountExclTax();
  75. /**
  76. * Set weee attribute code
  77. *
  78. * @param string $attributeCode
  79. * @return void
  80. * @since 100.2.0
  81. */
  82. public function setAttributeCode($attributeCode);
  83. /**
  84. * Retrieve weee attribute code
  85. *
  86. * @return string
  87. * @since 100.2.0
  88. */
  89. public function getAttributeCode();
  90. /**
  91. * @return \Magento\Weee\Api\Data\ProductRender\WeeeAdjustmentAttributeExtensionInterface
  92. * @since 100.2.0
  93. */
  94. public function getExtensionAttributes();
  95. /**
  96. * @param \Magento\Weee\Api\Data\ProductRender\WeeeAdjustmentAttributeExtensionInterface $extensionAttributes
  97. * @return void
  98. * @since 100.2.0
  99. */
  100. public function setExtensionAttributes(
  101. \Magento\Weee\Api\Data\ProductRender\WeeeAdjustmentAttributeExtensionInterface $extensionAttributes
  102. );
  103. }