Completed
Push — master ( cb9cb0...a2a2e1 )
by
unknown
43:00 queued 13:11
created

ARBGetSubscriptionResponse::getSubscription()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
ccs 0
cts 0
cp 0
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace net\authorize\api\contract\v1;
4
5
/**
6
 * Class representing ARBGetSubscriptionResponse
7
 */
8
class ARBGetSubscriptionResponse extends ANetApiResponseType
9
{
10
11
    /**
12
     * @property \net\authorize\api\contract\v1\ARBSubscriptionMaskedType $subscription
13
     */
14
    private $subscription = null;
15
16
    /**
17
     * Gets as subscription
18
     *
19
     * @return \net\authorize\api\contract\v1\ARBSubscriptionMaskedType
20
     */
21
    public function getSubscription()
22
    {
23
        return $this->subscription;
24
    }
25
26
    /**
27
     * Sets a new subscription
28
     *
29
     * @param \net\authorize\api\contract\v1\ARBSubscriptionMaskedType $subscription
30
     * @return self
31
     */
32 1
    public function setSubscription(\net\authorize\api\contract\v1\ARBSubscriptionMaskedType $subscription)
33
    {
34 1
        $this->subscription = $subscription;
35 1
        return $this;
36
    }
37
38
39
}
40
41