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
1 parent
3eb2f8c
commit 5a42741
Showing
3 changed files
with
5 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
<?php | ||
namespace Dfe\GingerPayments\Source; | ||
use GingerPayments\Payment\Order\Transaction\PaymentMethod as M; | ||
// 2017-03-01 | ||
// [Ginger Payments] Available payment options: https://mage2.pro/t/3463 | ||
/** @method static Option s() */ | ||
final class Option extends \Df\GingerPaymentsBase\Source\Option { | ||
/** | ||
* 2017-03-01 | ||
* What is SOFORT and how does it work? https://mage2.pro/t/3425 | ||
* @override | ||
* @see \Df\GingerPaymentsBase\Source\Option::mapExtra() | ||
* @used-by \Df\GingerPaymentsBase\Source\Option::map() | ||
* @return array(string => string) | ||
*/ | ||
protected function mapExtra() {return [ | ||
// 2017-03-01 | ||
// What is SOFORT and how does it work? https://mage2.pro/t/3425 | ||
M::SOFORT => 'SOFORT' | ||
];} | ||
protected function mapExtra() {return ['sofort' => 'SOFORT'];} | ||
} |
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