Passed
Pull Request — master (#29)
by Aleksey
08:31 queued 03:27
created

getPaymentStatus()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
/**
4
 * Apache OSL-2
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Zed\AmazonPay\Communication\Plugin\Oms\Condition;
9
10
use SprykerEco\Shared\AmazonPay\AmazonPayConfig;
11
12
class IsPaymentMethodInvalidConditionPlugin extends AbstractByOrderItemConditionPlugin
13
{
14
    /**
15
     * @return string
16
     */
17
    protected function getPaymentStatus()
18
    {
19
        return AmazonPayConfig::STATUS_PAYMENT_METHOD_INVALID;
20
    }
21
}
22