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

GetTransactionListRequest::setPaging()   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 GetTransactionListRequest
7
 */
8
class GetTransactionListRequest extends ANetApiRequestType
9
{
10
11
    /**
12
     * @property string $batchId
13
     */
14
    private $batchId = null;
15
16
    /**
17
     * @property \net\authorize\api\contract\v1\TransactionListSortingType $sorting
18
     */
19
    private $sorting = null;
20
21
    /**
22
     * @property \net\authorize\api\contract\v1\PagingType $paging
23
     */
24
    private $paging = null;
25
26
    /**
27
     * Gets as batchId
28
     *
29
     * @return string
30
     */
31
    public function getBatchId()
32
    {
33
        return $this->batchId;
34
    }
35
36
    /**
37
     * Sets a new batchId
38
     *
39
     * @param string $batchId
40
     * @return self
41
     */
42
    public function setBatchId($batchId)
43
    {
44
        $this->batchId = $batchId;
45
        return $this;
46
    }
47
48
    /**
49
     * Gets as sorting
50
     *
51
     * @return \net\authorize\api\contract\v1\TransactionListSortingType
52
     */
53
    public function getSorting()
54
    {
55
        return $this->sorting;
56
    }
57
58
    /**
59
     * Sets a new sorting
60
     *
61
     * @param \net\authorize\api\contract\v1\TransactionListSortingType $sorting
62
     * @return self
63
     */
64
    public function setSorting(\net\authorize\api\contract\v1\TransactionListSortingType $sorting)
65
    {
66
        $this->sorting = $sorting;
67
        return $this;
68
    }
69
70
    /**
71
     * Gets as paging
72
     *
73
     * @return \net\authorize\api\contract\v1\PagingType
74
     */
75
    public function getPaging()
76
    {
77
        return $this->paging;
78
    }
79
80
    /**
81
     * Sets a new paging
82
     *
83
     * @param \net\authorize\api\contract\v1\PagingType $paging
84
     * @return self
85
     */
86
    public function setPaging(\net\authorize\api\contract\v1\PagingType $paging)
87
    {
88
        $this->paging = $paging;
89
        return $this;
90
    }
91
92
93
}
94
95