This repository has been archived by the owner on Feb 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
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 #112 from heidelpay/develop
Develop
- Loading branch information
Showing
86 changed files
with
2,885 additions
and
2,680 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 @@ | |
/composer.phar | ||
/composer.lock | ||
/auth.json | ||
/.idea | ||
/.idea | ||
/generated/ |
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,141 @@ | ||
<?php | ||
/** | ||
* @license Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file. | ||
* @copyright Copyright © 2019-present heidelpay GmbH. All rights reserved. | ||
* | ||
* @link http://dev.heidelpay.com/ | ||
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpay/magento2 | ||
*/ | ||
namespace Heidelpay\Gateway\Api\Data; | ||
|
||
interface TransactionInterface | ||
{ | ||
/** | ||
* @return string | ||
*/ | ||
public function getPaymentMethod(); | ||
|
||
/** | ||
* @param string $paymentMethod | ||
* @return $this | ||
*/ | ||
public function setPaymentMethod($paymentMethod); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getPaymentType(); | ||
|
||
/** | ||
* @param string $paymentType | ||
* @return $this | ||
*/ | ||
public function setPaymentType($paymentType); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getTransactionId(); | ||
|
||
/** | ||
* @param string $transactionId | ||
* @return $this | ||
*/ | ||
public function setTransactionId($transactionId); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getUniqueId(); | ||
|
||
/** | ||
* @param string $uniqueId | ||
* @return $this | ||
*/ | ||
public function setUniqueId($uniqueId); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getShortId(); | ||
|
||
/** | ||
* @param string $shortId | ||
* @return $this | ||
*/ | ||
public function setShortId($shortId); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getResult(); | ||
|
||
/** | ||
* @param string $result | ||
* @return $this | ||
*/ | ||
public function setResult($result); | ||
|
||
/** | ||
* @return integer | ||
*/ | ||
public function getStatusCode(); | ||
|
||
/** | ||
* @param integer $statusCode | ||
* @return $this | ||
*/ | ||
public function setStatusCode($statusCode); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getReturnMessage(); | ||
|
||
/** | ||
* @param string $returnMessage | ||
* @return $this | ||
*/ | ||
public function setReturnMessage($returnMessage); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getReturnCode(); | ||
|
||
/** | ||
* @param string $returnCode | ||
* @return $this | ||
*/ | ||
public function setReturnCode($returnCode); | ||
|
||
/** | ||
* @return array | ||
*/ | ||
public function getJsonResponse(); | ||
|
||
/** | ||
* @param string $jsonResponse | ||
* @return $this | ||
*/ | ||
public function setJsonResponse($jsonResponse); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getDatetime(); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getSource(); | ||
|
||
/** | ||
* @param string $source | ||
* @return $this | ||
*/ | ||
public function setSource($source); | ||
} |
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,29 @@ | ||
<?php | ||
/** @noinspection PhpUnnecessaryFullyQualifiedNameInspection */ | ||
/** | ||
* @license Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file. | ||
* @copyright Copyright © 2019-present heidelpay GmbH. All rights reserved. | ||
* | ||
* @link http://dev.heidelpay.com/ | ||
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpay/magento2 | ||
*/ | ||
namespace Heidelpay\Gateway\Api\Data; | ||
|
||
use Magento\Framework\Api\SearchResultsInterface; | ||
|
||
interface TransactionSearchResultInterface extends SearchResultsInterface | ||
{ | ||
/** | ||
* @return \Heidelpay\Gateway\Api\Data\TransactionInterface[] | ||
*/ | ||
public function getItems(); | ||
|
||
/** | ||
* @param \Heidelpay\Gateway\Api\Data\TransactionInterface[] $items | ||
* @return void | ||
*/ | ||
public function setItems(array $items); | ||
} |
Oops, something went wrong.