-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #272 from magento-firedrakes/MAGETWO-54677
Story: MAGETWO-54677 Order status change after Shipment creation through API Task: MAGETWO-56577 Rename interface orderInvoice to invoiceOrder
- Loading branch information
Showing
74 changed files
with
3,809 additions
and
445 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?php | ||
/** | ||
* Copyright © 2016 Magento. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
namespace Magento\Sales\Api\Data; | ||
|
||
/** | ||
* Interface EntityInterface | ||
* @api | ||
*/ | ||
interface EntityInterface | ||
{ | ||
/* | ||
* Entity ID. | ||
*/ | ||
const ENTITY_ID = 'entity_id'; | ||
|
||
/* | ||
* Created-at timestamp. | ||
*/ | ||
const CREATED_AT = 'created_at'; | ||
|
||
/** | ||
* Gets the created-at timestamp for the invoice. | ||
* | ||
* @return string|null Created-at timestamp. | ||
*/ | ||
public function getCreatedAt(); | ||
|
||
/** | ||
* Sets the created-at timestamp for the invoice. | ||
* | ||
* @param string $createdAt timestamp | ||
* @return $this | ||
*/ | ||
public function setCreatedAt($createdAt); | ||
|
||
/** | ||
* Gets the ID for the invoice. | ||
* | ||
* @return int|null Invoice ID. | ||
*/ | ||
public function getEntityId(); | ||
|
||
/** | ||
* Sets entity ID. | ||
* | ||
* @param int $entityId | ||
* @return $this | ||
*/ | ||
public function setEntityId($entityId); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
app/code/Magento/Sales/Api/Data/ShipmentCommentCreationInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
/** | ||
* Copyright © 2016 Magento. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
namespace Magento\Sales\Api\Data; | ||
|
||
use Magento\Framework\Api\ExtensibleDataInterface; | ||
|
||
/** | ||
* Interface ShipmentCommentCreationInterface | ||
* @api | ||
*/ | ||
interface ShipmentCommentCreationInterface extends ExtensibleDataInterface, CommentInterface | ||
{ | ||
/** | ||
* Retrieve existing extension attributes object or create a new one. | ||
* | ||
* @return \Magento\Sales\Api\Data\ShipmentCommentCreationExtensionInterface|null | ||
*/ | ||
public function getExtensionAttributes(); | ||
|
||
/** | ||
* Set an extension attributes object. | ||
* | ||
* @param \Magento\Sales\Api\Data\ShipmentCommentCreationExtensionInterface $extensionAttributes | ||
* @return $this | ||
*/ | ||
public function setExtensionAttributes( | ||
\Magento\Sales\Api\Data\ShipmentCommentCreationExtensionInterface $extensionAttributes | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.