Completed
Push — master ( 48da13...c8b756 )
by Sullivan
02:22
created

SubscriberUpdateRequest::getRequestType()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Nexy\PayboxDirect\Request;
4
5
/**
6
 * @author Sullivan Senechal <[email protected]>
7
 */
8
final class SubscriberUpdateRequest extends AbstractBearerTransactionRequest
9
{
10
    /**
11
     * @param string $subscriberRef
12
     * @param string $amount
13
     * @param string $bearer
14
     * @param string $validityDate
15
     */
16
    public function __construct($subscriberRef, $amount, $bearer, $validityDate)
17
    {
18
        parent::__construct($amount, $bearer, $validityDate, $subscriberRef);
19
    }
20
21
    /**
22
     * {@inheritdoc}
23
     */
24
    public function getRequestType()
25
    {
26
        return RequestInterface::SUBSCRIBER_UPDATE;
27
    }
28
}
29