-
Notifications
You must be signed in to change notification settings - Fork 1
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
492701d
commit 2cb2631
Showing
6 changed files
with
81 additions
and
75 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace CommerceWeavers\SyliusTpayPlugin\Tpay; | ||
|
||
class GatewayName | ||
{ | ||
public const APPLE_PAY = 'tpay_apple_pay'; | ||
|
||
public const BLIK = 'tpay_blik'; | ||
|
||
public const CARD = 'tpay_card'; | ||
|
||
public const GOOGLE_PAY = 'tpay_google_pay'; | ||
|
||
public const PAY_BY_LINK = 'tpay_pay_by_link'; | ||
|
||
public const REDIRECT = 'tpay_redirect'; | ||
|
||
public const VISA_MOBILE = 'tpay_visa_mobile'; | ||
|
||
/** | ||
* @return string[] | ||
*/ | ||
public static function all(): array | ||
{ | ||
return [ | ||
self::APPLE_PAY, | ||
self::BLIK, | ||
self::CARD, | ||
self::GOOGLE_PAY, | ||
self::PAY_BY_LINK, | ||
self::REDIRECT, | ||
self::VISA_MOBILE, | ||
]; | ||
} | ||
} |
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