Passed
Pull Request — feature/ECO-948-renaming-and-r... (#7)
by Andrey
04:36 queued 01:50
created

IpnOrderReferenceClosedHandler::getStatusName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
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\Business\Payment\Handler\Ipn\OrderReference;
9
10
use SprykerEco\Shared\AmazonPay\AmazonPayConfig;
11
12
class IpnOrderReferenceClosedHandler extends IpnAbstractOrderReferenceHandler
13
{
14
    /**
15
     * @return string
16
     */
17
    protected function getOmsEventId()
18
    {
19
        return AmazonPayConfig::OMS_EVENT_UPDATE_AUTH_STATUS;
20
    }
21
22
    /**
23
     * @return string
24
     */
25
    protected function getStatusName()
26
    {
27
        return AmazonPayConfig::STATUS_DECLINED;
28
    }
29
}
30