Completed
Push — master ( ee7786...e4569e )
by Nikolay
53:54 queued 26s
created

SubscriptionResponse::__construct()   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
declare(strict_types = 1);
4
5
namespace Korobovn\CloudPayments\Message\Response;
6
7
use Korobovn\CloudPayments\Message\Response\Model\ModelInterface;
8
use Korobovn\CloudPayments\Message\Response\Model\SubscriptionModel;
9
10
/**
11
 * @method SubscriptionModel getModel()
12
 *
13
 * @see https://developers.cloudpayments.ru/#sozdanie-podpiski-na-rekurrentnye-platezhi
14
 * @see https://developers.cloudpayments.ru/#zapros-informatsii-o-podpiske
15
 * @see https://developers.cloudpayments.ru/#izmenenie-podpiski-na-rekurrentnye-platezhi
16
 */
17
class SubscriptionResponse extends AbstractResponse
18
{
19
    /**
20
     * {@inheritDoc}
21
     */
22
    public function createModel(): ModelInterface
23
    {
24
        return new SubscriptionModel;
25
    }
26
}
27