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

UpdateHeldTransactionResponse   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 34
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getTransactionResponse() 0 4 1
A setTransactionResponse() 0 5 1
1
<?php
2
3
namespace net\authorize\api\contract\v1;
4
5
/**
6
 * Class representing UpdateHeldTransactionResponse
7
 */
8
class UpdateHeldTransactionResponse extends ANetApiResponseType
9
{
10
11
    /**
12
     * @property \net\authorize\api\contract\v1\TransactionResponseType
13
     * $transactionResponse
14
     */
15
    private $transactionResponse = null;
16
17
    /**
18
     * Gets as transactionResponse
19
     *
20
     * @return \net\authorize\api\contract\v1\TransactionResponseType
21
     */
22
    public function getTransactionResponse()
23
    {
24
        return $this->transactionResponse;
25
    }
26
27
    /**
28
     * Sets a new transactionResponse
29
     *
30
     * @param \net\authorize\api\contract\v1\TransactionResponseType
31
     * $transactionResponse
32
     * @return self
33
     */
34
    public function setTransactionResponse(\net\authorize\api\contract\v1\TransactionResponseType $transactionResponse)
35
    {
36
        $this->transactionResponse = $transactionResponse;
37
        return $this;
38
    }
39
40
41
}
42
43