Completed
Push — master ( 9d24ed...186a0b )
by
unknown
29:37
created

GetHostedPaymentPageResponse::setToken()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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