Completed
Push — master ( 548641...bdc867 )
by
unknown
14s
created

GetTransactionDetailsResponse::getClientId()   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
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace net\authorize\api\contract\v1;
4
5
/**
6
 * Class representing GetTransactionDetailsResponse
7
 */
8
class GetTransactionDetailsResponse extends ANetApiResponseType
9
{
10
11
    /**
12
     * @property \net\authorize\api\contract\v1\TransactionDetailsType $transaction
13
     */
14
    private $transaction = null;
15
16
    /**
17
     * @property string $clientId
18
     */
19
    private $clientId = null;
20
21
    /**
22
     * @property string $transrefId
23
     */
24
    private $transrefId = null;
25
26
    /**
27
     * Gets as transaction
28
     *
29
     * @return \net\authorize\api\contract\v1\TransactionDetailsType
30
     */
31
    public function getTransaction()
32
    {
33
        return $this->transaction;
34
    }
35
36
    /**
37
     * Sets a new transaction
38
     *
39
     * @param \net\authorize\api\contract\v1\TransactionDetailsType $transaction
40
     * @return self
41
     */
42
    public function setTransaction(\net\authorize\api\contract\v1\TransactionDetailsType $transaction)
43
    {
44
        $this->transaction = $transaction;
45
        return $this;
46
    }
47
48
    /**
49
     * Gets as clientId
50
     *
51
     * @return string
52
     */
53
    public function getClientId()
54
    {
55
        return $this->clientId;
56
    }
57
58
    /**
59
     * Sets a new clientId
60
     *
61
     * @param string $clientId
62
     * @return self
63
     */
64
    public function setClientId($clientId)
65
    {
66
        $this->clientId = $clientId;
67
        return $this;
68
    }
69
70
    /**
71
     * Gets as transrefId
72
     *
73
     * @return string
74
     */
75
    public function getTransrefId()
76
    {
77
        return $this->transrefId;
78
    }
79
80
    /**
81
     * Sets a new transrefId
82
     *
83
     * @param string $transrefId
84
     * @return self
85
     */
86
    public function setTransrefId($transrefId)
87
    {
88
        $this->transrefId = $transrefId;
89
        return $this;
90
    }
91
92
93
}
94