-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Nova regra de ativação para o 3ds.
- Loading branch information
Showing
5 changed files
with
144 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
/** | ||
* PagBank Payment Magento Module. | ||
* | ||
* Copyright © 2023 PagBank. All rights reserved. | ||
* | ||
* @author Bruno Elisei <brunoelisei@o2ti.com> | ||
* @license See LICENSE for license details. | ||
*/ | ||
|
||
namespace PagBank\PaymentMagento\Model\Adminhtml\Source; | ||
|
||
use Magento\Framework\Option\ArrayInterface; | ||
|
||
/** | ||
* Class Times - Defines possible times for rule 3ds. | ||
*/ | ||
class Times implements ArrayInterface | ||
{ | ||
/** | ||
* Returns Options. | ||
* | ||
* @return array | ||
*/ | ||
public function toOptionArray(): array | ||
{ | ||
return [ | ||
'0' => __('Do not apply rule'), | ||
'24' => __('1 day'), | ||
'48' => __('2 days - recommended'), | ||
'72' => __('3 days'), | ||
'168' => __('1 week'), | ||
'720' => __('1 month'), | ||
]; | ||
} | ||
} |
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