-
Notifications
You must be signed in to change notification settings - Fork 54
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 #731 from mollie/release/2.33.0
Release/2.33.0
- Loading branch information
Showing
89 changed files
with
1,762 additions
and
270 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM cypress/included:12.1.0 | ||
FROM cypress/included:13.6.2 | ||
|
||
WORKDIR /e2e | ||
|
||
|
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,81 @@ | ||
<?php | ||
/* | ||
* Copyright Magmodules.eu. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
# Merge the config.php file generated by Magento with our own scopes to create multiple store views. | ||
|
||
$magentoConfig = require('app/etc/config.php'); | ||
$magentoConfig['scopes'] = [ | ||
'websites' => [ | ||
'admin' => [ | ||
'website_id' => '0', | ||
'code' => 'admin', | ||
'name' => 'Admin', | ||
'sort_order' => '0', | ||
'default_group_id' => '0', | ||
'is_default' => '0' | ||
], | ||
'base' => [ | ||
'website_id' => '1', | ||
'code' => 'base', | ||
'name' => 'Main Website', | ||
'sort_order' => '0', | ||
'default_group_id' => '1', | ||
'is_default' => '1' | ||
] | ||
], | ||
'groups' => [ | ||
[ | ||
'group_id' => '0', | ||
'website_id' => '0', | ||
'name' => 'Default', | ||
'root_category_id' => '0', | ||
'default_store_id' => '0', | ||
'code' => 'default' | ||
], | ||
[ | ||
'group_id' => '1', | ||
'website_id' => '1', | ||
'name' => 'Main Website Store', | ||
'root_category_id' => '2', | ||
'default_store_id' => '1', | ||
'code' => 'main_website_store' | ||
] | ||
], | ||
'stores' => [ | ||
'admin' => [ | ||
'store_id' => '0', | ||
'code' => 'admin', | ||
'website_id' => '0', | ||
'group_id' => '0', | ||
'name' => 'Admin', | ||
'sort_order' => '0', | ||
'is_active' => '1' | ||
], | ||
'default' => [ | ||
'store_id' => '1', | ||
'code' => 'default', | ||
'website_id' => '1', | ||
'group_id' => '1', | ||
'name' => 'Default Store View', | ||
'sort_order' => '0', | ||
'is_active' => '1' | ||
], | ||
'ch' => [ | ||
'store_id' => '2', | ||
'code' => 'ch', | ||
'website_id' => '1', | ||
'group_id' => '1', | ||
'name' => 'Swiss', | ||
'sort_order' => '0', | ||
'is_active' => '1' | ||
] | ||
] | ||
]; | ||
|
||
file_put_contents( | ||
'app/etc/config.php', | ||
'<?php return ' . var_export($magentoConfig, true) . ';' . PHP_EOL | ||
); |
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,45 @@ | ||
<?php | ||
/* | ||
* Copyright Magmodules.eu. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Mollie\Payment\Api\Data; | ||
|
||
interface IssuerInterface | ||
{ | ||
/** | ||
* @return string | ||
*/ | ||
public function getId(): string; | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getName(): string; | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getImage(): string; | ||
|
||
/** | ||
* @return array | ||
*/ | ||
public function getImages(): array; | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getImage1x(): string; | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getImage2x(): string; | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getImageSvg(): 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
/* | ||
* Copyright Magmodules.eu. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Mollie\Payment\Api\Data; | ||
|
||
interface MethodMetaInterface | ||
{ | ||
/** | ||
* @return string | ||
*/ | ||
public function getCode(): string; | ||
|
||
/** | ||
* @return \Mollie\Payment\Api\Data\IssuerInterface[] | ||
*/ | ||
public function getIssuers(): array; | ||
|
||
/** | ||
* @return \Mollie\Payment\Api\Data\TerminalInterface[] | ||
*/ | ||
public function getTerminals(): array; | ||
} |
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,35 @@ | ||
<?php | ||
/* | ||
* Copyright Magmodules.eu. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Mollie\Payment\Api\Data; | ||
|
||
interface TerminalInterface | ||
{ | ||
/** | ||
* @return string | ||
*/ | ||
public function getId(): string; | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getBrand(): string; | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getModel(): string; | ||
|
||
/** | ||
* @return string|null | ||
*/ | ||
public function getSerialNumber(): ?string; | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getDescription(): 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
/* | ||
* Copyright Magmodules.eu. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Mollie\Payment\Api\Webapi; | ||
|
||
interface PaymentInformationMetaInterface | ||
{ | ||
/** | ||
* @return \Mollie\Payment\Api\Data\MethodMetaInterface[] | ||
*/ | ||
public function getPaymentMethodsMeta(): array; | ||
} |
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.