1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Sales\Api\Data;
- /**
- * Interface CreditmemoCreationArgumentsInterface
- *
- * @api
- * @since 100.1.3
- */
- interface CreditmemoCreationArgumentsInterface
- {
- /**
- * Gets the credit memo shipping amount.
- *
- * @return float|null Credit memo shipping amount.
- * @since 100.1.3
- */
- public function getShippingAmount();
- /**
- * Gets the credit memo positive adjustment.
- *
- * @return float|null Credit memo positive adjustment.
- * @since 100.1.3
- */
- public function getAdjustmentPositive();
- /**
- * Gets the credit memo negative adjustment.
- *
- * @return float|null Credit memo negative adjustment.
- * @since 100.1.3
- */
- public function getAdjustmentNegative();
- /**
- * Sets the credit memo shipping amount.
- *
- * @param float $amount
- * @return $this
- * @since 100.1.3
- */
- public function setShippingAmount($amount);
- /**
- * Sets the credit memo positive adjustment.
- *
- * @param float $amount
- * @return $this
- * @since 100.1.3
- */
- public function setAdjustmentPositive($amount);
- /**
- * Sets the credit memo negative adjustment.
- *
- * @param float $amount
- * @return $this
- * @since 100.1.3
- */
- public function setAdjustmentNegative($amount);
- /**
- * Gets existing extension attributes.
- *
- * @return \Magento\Sales\Api\Data\CreditmemoCreationArgumentsExtensionInterface|null
- * @since 100.1.3
- */
- public function getExtensionAttributes();
- /**
- * Sets extension attributes.
- *
- * @param \Magento\Sales\Api\Data\CreditmemoCreationArgumentsExtensionInterface $extensionAttributes
- *
- * @return $this
- * @since 100.1.3
- */
- public function setExtensionAttributes(
- \Magento\Sales\Api\Data\CreditmemoCreationArgumentsExtensionInterface $extensionAttributes
- );
- }
|