-
Notifications
You must be signed in to change notification settings - Fork 55
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
16 changed files
with
100 additions
and
172 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
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
36 changes: 36 additions & 0 deletions
36
src/PaymentMethods/PaymentFieldsStrategies/AbstractPaymentFieldsRenderer.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,36 @@ | ||
<?php | ||
|
||
namespace Mollie\WooCommerce\PaymentMethods\PaymentFieldsStrategies; | ||
|
||
use Inpsyde\PaymentGateway\PaymentFieldsRendererInterface; | ||
use Inpsyde\PaymentGateway\PaymentGateway; | ||
use Mollie\WooCommerce\Gateway\MolliePaymentGatewayHandler; | ||
use Mollie\WooCommerce\PaymentMethods\PaymentMethodI; | ||
use Mollie\WooCommerce\Shared\Data; | ||
|
||
class AbstractPaymentFieldsRenderer implements PaymentFieldsRendererInterface | ||
{ | ||
protected MolliePaymentGatewayHandler $deprecatedHelperGateway; | ||
|
||
protected string $gatewayDescription; | ||
/** | ||
* @var mixed | ||
*/ | ||
protected Data $dataHelper; | ||
|
||
public function __construct($deprecatedHelperGateway, $gateway, $dataHelper) | ||
{ | ||
|
||
$this->deprecatedHelperGateway = $deprecatedHelperGateway; | ||
$this->gatewayDescription = $gateway; | ||
$this->dataHelper = $dataHelper; | ||
} | ||
|
||
/** | ||
* @inheritDoc | ||
*/ | ||
public function renderFields(): string | ||
{ | ||
return ''; | ||
} | ||
} |
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.