-
Notifications
You must be signed in to change notification settings - Fork 53
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 #748 from mollie/release/2.35.0
Release/2.35.0
- Loading branch information
Showing
63 changed files
with
1,683 additions
and
213 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,20 @@ | ||
<?php | ||
/* | ||
* Copyright Magmodules.eu. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Mollie\Payment\Api\Data; | ||
|
||
interface PaymentLinkRedirectResultInterface | ||
{ | ||
/** | ||
* @return bool | ||
*/ | ||
public function isAlreadyPaid(): bool; | ||
|
||
/** | ||
* @return string|null | ||
*/ | ||
public function getRedirectUrl(): ?string; | ||
} |
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,32 @@ | ||
<?php | ||
/* | ||
* Copyright Magmodules.eu. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Mollie\Payment\Api\Data; | ||
|
||
interface TransactionToProcessInterface | ||
{ | ||
/** | ||
* @param string $id | ||
* @return \Mollie\Payment\Api\Data\TransactionToProcessInterface | ||
*/ | ||
public function setTransactionId(string $id): TransactionToProcessInterface; | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getTransactionId(): ?string; | ||
|
||
/** | ||
* @param int $id | ||
* @return \Mollie\Payment\Api\Data\TransactionToProcessInterface | ||
*/ | ||
public function setOrderId(int $id): TransactionToProcessInterface; | ||
|
||
/** | ||
* @return int|null | ||
*/ | ||
public function getOrderId(): ?int; | ||
} |
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,18 @@ | ||
<?php | ||
/* | ||
* Copyright Magmodules.eu. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Mollie\Payment\Api\Webapi; | ||
|
||
use Mollie\Payment\Api\Data\PaymentLinkRedirectResultInterface; | ||
|
||
interface GetPaymentLinkRedirectInterface | ||
{ | ||
/** | ||
* @param string $hash | ||
* @return \Mollie\Payment\Api\Data\PaymentLinkRedirectResultInterface | ||
*/ | ||
public function byHash(string $hash): PaymentLinkRedirectResultInterface; | ||
} |
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,24 @@ | ||
<?php | ||
/* | ||
* Copyright Magmodules.eu. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Mollie\Payment\Block\Adminhtml\System\Config\Form; | ||
|
||
use Magento\Config\Block\System\Config\Form\Field; | ||
|
||
class DisabledInput extends Field | ||
{ | ||
/** | ||
* @param \Magento\Framework\Data\Form\Element\AbstractElement $element | ||
* @return string | ||
*/ | ||
protected function _getElementHtml(\Magento\Framework\Data\Form\Element\AbstractElement $element) | ||
{ | ||
$element->setReadonly(true, true); | ||
return parent::_getElementHtml($element); | ||
} | ||
} |
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.