Completed
Pull Request — master (#4)
by Andrey
10:46 queued 03:14
created

IpnOrderReferenceSuspendedHandler   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 17
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getOmsStatusName() 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;
9
10
use SprykerEco\Shared\Amazonpay\AmazonpayConstants;
11
12
class IpnOrderReferenceSuspendedHandler extends IpnAbstractOrderReferenceHandler
13
{
14
15
    /**
16
     * @return string
17
     */
18
    protected function getOmsEventId()
19
    {
20
        return AmazonpayConstants::OMS_EVENT_UPDATE_AUTH_STATUS;
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    protected function getOmsStatusName()
27
    {
28
        return AmazonpayConstants::OMS_STATUS_AUTH_SUSPENDED;
29
    }
30
31
}
32