Skip to content

Commit c177106

Browse files
committed
ACP2E-1964: fix static errors
1 parent ea20244 commit c177106

File tree

1 file changed

+9
-12
lines changed
  • app/code/Magento/Paypal/Model/Payflow/Service/Response/Validator

1 file changed

+9
-12
lines changed

app/code/Magento/Paypal/Model/Payflow/Service/Response/Validator/CVV2Match.php

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,41 +9,38 @@
99
use Magento\Paypal\Model\Payflow\Service\Response\ValidatorInterface;
1010
use Magento\Paypal\Model\Payflow\Transparent;
1111

12-
/**
13-
* Class CVV2Match
14-
*/
1512
class CVV2Match implements ValidatorInterface
1613
{
1714
/**
1815
* Result of the card security code (CVV2) check
1916
*/
20-
const CVV2MATCH = 'cvv2match';
17+
public const CVV2MATCH = 'cvv2match';
2118

2219
/**
2320
* This field returns the transaction amount, or if performing a partial authorization,
2421
* the amount approved for the partial authorization.
2522
*/
26-
const AMT = 'amt';
23+
public const AMT = 'amt';
2724

2825
/**
2926
* Message if validation fail
3027
*/
31-
const ERROR_MESSAGE = 'Card security code does not match.';
28+
public const ERROR_MESSAGE = 'Card security code does not match.';
3229

3330
/**#@+ Values of the response */
34-
const RESPONSE_YES = 'y';
31+
public const RESPONSE_YES = 'y';
3532

36-
const RESPONSE_NO = 'n';
33+
public const RESPONSE_NO = 'n';
3734

38-
const RESPONSE_NOT_SUPPORTED = 'x';
35+
public const RESPONSE_NOT_SUPPORTED = 'x';
3936
/**#@-*/
4037

4138
/**#@+ Validation settings payments */
42-
const CONFIG_ON = 1;
39+
public const CONFIG_ON = 1;
4340

44-
const CONFIG_OFF = 0;
41+
public const CONFIG_OFF = 0;
4542

46-
const CONFIG_NAME = 'avs_security_code';
43+
public const CONFIG_NAME = 'avs_security_code';
4744
/**#@-*/
4845

4946
/**

0 commit comments

Comments
 (0)