-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
245 changed files
with
14,746 additions
and
1,632 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 |
---|---|---|
|
@@ -4,4 +4,5 @@ Controller/Test/ | |
Controller/Adminhtml/Test/ | ||
Build/ | ||
build | ||
.idea/ | ||
composer.lock |
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,150 @@ | ||
<?php | ||
/** | ||
* | ||
* ..::.. | ||
* ..::::::::::::.. | ||
* ::'''''':''::''''':: | ||
* ::.. ..: : ....:: | ||
* :::: ::: : : :: | ||
* :::: ::: : ''' :: | ||
* ::::..:::..::.....:: | ||
* ''::::::::::::'' | ||
* ''::'' | ||
* | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the Creative Commons License. | ||
* It is available through the world-wide-web at this URL: | ||
* http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US | ||
* If you are unable to obtain it through the world-wide-web, please send an email | ||
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade this module to newer | ||
* versions in the future. If you wish to customize this module for your | ||
* needs please contact [email protected] for more information. | ||
* | ||
* @copyright Copyright (c) Total Internet Group B.V. https://tig.nl/copyright | ||
* @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US | ||
*/ | ||
|
||
namespace TIG\PostNL\Api\Data; | ||
|
||
// @codingStandardsIgnoreFile | ||
interface MatrixrateInterface | ||
{ | ||
/** | ||
* @return int | ||
*/ | ||
public function getEntityId(); | ||
|
||
/** | ||
* @return int | ||
*/ | ||
public function getWebsiteId(); | ||
|
||
/** | ||
* @param $value | ||
* | ||
* @return \TIG\PostNL\Api\Data\MatrixrateInterface | ||
*/ | ||
public function setWebsiteId($value); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getDestinyCountryId(); | ||
|
||
/** | ||
* @param $value | ||
* | ||
* @return \TIG\PostNL\Api\Data\MatrixrateInterface | ||
*/ | ||
public function setDestinyCountryId($value); | ||
|
||
/** | ||
* @return int | ||
*/ | ||
public function getDestinyRegionId(); | ||
|
||
/** | ||
* @param $value | ||
* | ||
* @return \TIG\PostNL\Api\Data\MatrixrateInterface | ||
*/ | ||
public function setDestinyRegionId($value); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getDestinyZipCode(); | ||
|
||
/** | ||
* @param $value | ||
* | ||
* @return \TIG\PostNL\Api\Data\MatrixrateInterface | ||
*/ | ||
public function setDestinyZipCode($value); | ||
|
||
/** | ||
* @return float | ||
*/ | ||
public function getWeight(); | ||
|
||
/** | ||
* @param $value | ||
* | ||
* @return \TIG\PostNL\Api\Data\MatrixrateInterface | ||
*/ | ||
public function setWeight($value); | ||
|
||
/** | ||
* @return float | ||
*/ | ||
public function getSubtotal(); | ||
|
||
/** | ||
* @param $value | ||
* | ||
* @return \TIG\PostNL\Api\Data\MatrixrateInterface | ||
*/ | ||
public function setSubtotal($value); | ||
|
||
/** | ||
* @return int | ||
*/ | ||
public function getQuantity(); | ||
|
||
/** | ||
* @param $value | ||
* | ||
* @return \TIG\PostNL\Api\Data\MatrixrateInterface | ||
*/ | ||
public function setQuantity($value); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getParcelType(); | ||
|
||
/** | ||
* @param $value | ||
* | ||
* @return \TIG\PostNL\Api\Data\MatrixrateInterface | ||
*/ | ||
public function setParcelType($value); | ||
|
||
/** | ||
* @return float | ||
*/ | ||
public function getPrice(); | ||
|
||
/** | ||
* @param $value | ||
* | ||
* @return \TIG\PostNL\Api\Data\MatrixrateInterface | ||
*/ | ||
public function setPrice($value); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<?php | ||
/** | ||
* | ||
* ..::.. | ||
* ..::::::::::::.. | ||
* ::'''''':''::''''':: | ||
* ::.. ..: : ....:: | ||
* :::: ::: : : :: | ||
* :::: ::: : ''' :: | ||
* ::::..:::..::.....:: | ||
* ''::::::::::::'' | ||
* ''::'' | ||
* | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the Creative Commons License. | ||
* It is available through the world-wide-web at this URL: | ||
* http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US | ||
* If you are unable to obtain it through the world-wide-web, please send an email | ||
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade this module to newer | ||
* versions in the future. If you wish to customize this module for your | ||
* needs please contact [email protected] for more information. | ||
* | ||
* @copyright Copyright (c) Total Internet Group B.V. https://tig.nl/copyright | ||
* @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US | ||
*/ | ||
namespace TIG\PostNL\Api; | ||
|
||
interface MatrixrateRepositoryInterface | ||
{ | ||
/** | ||
* Save a Matrixrate rule | ||
* | ||
* @api | ||
* | ||
* @param \TIG\PostNL\Api\Data\MatrixrateInterface $matrixrate | ||
* | ||
* @return \TIG\PostNL\Api\Data\MatrixrateInterface | ||
*/ | ||
public function save(\TIG\PostNL\Api\Data\MatrixrateInterface $matrixrate); | ||
|
||
/** | ||
* Retrieve a list of Matrixrates. | ||
* | ||
* @api | ||
* @param \Magento\Framework\Api\SearchCriteriaInterface $criteria | ||
* @return \Magento\Framework\Api\SearchResultsInterface | ||
*/ | ||
public function getList(\Magento\Framework\Api\SearchCriteriaInterface $criteria); | ||
|
||
/** | ||
* Delete a specific Matrixrate. | ||
* | ||
* @api | ||
* | ||
* @param \TIG\PostNL\Api\Data\MatrixrateInterface $matrixrate | ||
* | ||
* @return bool | ||
*/ | ||
public function delete(\TIG\PostNL\Api\Data\MatrixrateInterface $matrixrate); | ||
|
||
/** | ||
* Create a Matrixrate rule. | ||
* | ||
* @api | ||
* @return \TIG\PostNL\Api\Data\MatrixrateInterface | ||
*/ | ||
public function create(); | ||
|
||
/** | ||
* @param string $field | ||
* @param string $value | ||
* | ||
* @return \TIG\PostNL\Api\Data\MatrixrateInterface | ||
*/ | ||
public function getByFieldWithValue($field, $value); | ||
|
||
/** | ||
* @param int $websiteId | ||
* | ||
* @return \TIG\PostNL\Model\Carrier\ResourceModel\Matrixrate\Collection | ||
*/ | ||
public function getByWebsiteId($websiteId); | ||
} |
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.