-
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 remote-tracking branch 'mainlineCE/develop' into PR_Branch
Conflicts: composer.lock
- Loading branch information
Showing
163 changed files
with
5,169 additions
and
1,585 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
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
30 changes: 30 additions & 0 deletions
30
app/code/Magento/Customer/Model/Address/AddressModelInterface.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,30 @@ | ||
<?php | ||
/** | ||
* Copyright © 2015 Magento. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Magento\Customer\Model\Address; | ||
|
||
/** | ||
* Interface AddressInterface | ||
*/ | ||
interface AddressModelInterface | ||
{ | ||
/** | ||
* Get steet line by number | ||
* | ||
* @param int $number | ||
* @return string | ||
*/ | ||
public function getStreetLine($number); | ||
|
||
/** | ||
* Create fields street1, street2, etc. | ||
* | ||
* To be used in controllers for views data | ||
* | ||
* @return $this | ||
*/ | ||
public function explodeStreetAddress(); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<?php | ||
/** | ||
* Copyright © 2015 Magento. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Magento\Payment\Model; | ||
|
||
/** | ||
* Interface InfoInterface | ||
*/ | ||
interface InfoInterface | ||
{ | ||
/** | ||
* Encrypt data | ||
* | ||
* @param string $data | ||
* @return string | ||
*/ | ||
public function encrypt($data); | ||
|
||
/** | ||
* Decrypt data | ||
* | ||
* @param string $data | ||
* @return string | ||
*/ | ||
public function decrypt($data); | ||
|
||
/** | ||
* Set Additional information about payment into Payment model | ||
* | ||
* @param string $key | ||
* @param string|null $value | ||
* @return mixed | ||
*/ | ||
public function setAdditionalInformation($key, $value = null); | ||
|
||
/** | ||
* Check whether there is additional information by specified key | ||
* | ||
* @param mixed|null $key | ||
* @return bool | ||
*/ | ||
public function hasAdditionalInformation($key = null); | ||
|
||
/** | ||
* Unsetter for entire additional_information value or one of its element by key | ||
* | ||
* @param string|null $key | ||
* @return $this | ||
*/ | ||
public function unsAdditionalInformation($key = null); | ||
|
||
/** | ||
* Getter for entire additional_information value or one of its element by key | ||
* | ||
* @param string|null $key | ||
* @return mixed | ||
*/ | ||
public function getAdditionalInformation($key = null); | ||
|
||
/** | ||
* Retrieve payment method model object | ||
* | ||
* @return \Magento\Payment\Model\MethodInterface | ||
* @throws \Magento\Framework\Exception\LocalizedException | ||
*/ | ||
public function getMethodInstance(); | ||
} |
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
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
Oops, something went wrong.