-
Notifications
You must be signed in to change notification settings - Fork 8
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 #5 from mageplaza/develop
Develop
- Loading branch information
Showing
39 changed files
with
1,848 additions
and
1,205 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?php | ||
/** | ||
* Mageplaza | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the mageplaza.com license that is | ||
* available through the world-wide-web at this URL: | ||
* https://www.mageplaza.com/LICENSE.txt | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade this extension to newer | ||
* version in the future. | ||
* | ||
* @category Mageplaza | ||
* @package Mageplaza_ShareCart | ||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/) | ||
* @license https://www.mageplaza.com/LICENSE.txt | ||
*/ | ||
|
||
namespace Mageplaza\ShareCart\Api; | ||
|
||
/** | ||
* Interface ShareCartRepositoryInterface | ||
* @api | ||
*/ | ||
interface ShareCartRepositoryInterface | ||
{ | ||
/** | ||
* Required($mpShareCartToken) | ||
* | ||
* @param string|null $mpShareCartToken | ||
* | ||
* @return \Magento\Quote\Api\Data\CartInterface | ||
* @throws \Magento\Framework\Exception\LocalizedException | ||
*/ | ||
public function share($mpShareCartToken); | ||
|
||
/** | ||
* @param string $token | ||
* @return string | ||
* @throws \Magento\Framework\Exception\FileSystemException | ||
* @throws \Mpdf\MpdfException | ||
* @throws \Exception | ||
*/ | ||
public function downloadPdf($token); | ||
} |
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
Oops, something went wrong.