IpnOrderReferenceSuspendedHandler   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 16
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getStatusName() 0 3 1
A getOmsEventId() 0 3 1
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 IpnOrderReferenceSuspendedHandler 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_SUSPENDED;
28
    }
29
}
30