GetFileContainer::setFileType()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
/**
4
 * MIT License
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Zed\Payone\Business\Api\Request\Container;
9
10
use SprykerEco\Shared\Payone\PayoneApiConstants;
11
12
class GetFileContainer extends AbstractRequestContainer
13
{
14
    /**
15
     * @var string
16
     */
17
    protected $request = PayoneApiConstants::REQUEST_TYPE_GETFILE;
18
19
    /**
20
     * @var string
21
     */
22
    protected $file_reference;
23
24
    /**
25
     * @var string
26
     */
27
    protected $file_type;
28
29
    /**
30
     * @var string
31
     */
32
    protected $file_format;
33
34
    /**
35
     * @return string
36
     */
37
    public function getFileReference()
38
    {
39
        return $this->file_reference;
40
    }
41
42
    /**
43
     * @param string $file_reference
44
     *
45
     * @return void
46
     */
47
    public function setFileReference($file_reference)
48
    {
49
        $this->file_reference = $file_reference;
50
    }
51
52
    /**
53
     * @return string
54
     */
55
    public function getFileType()
56
    {
57
        return $this->file_type;
58
    }
59
60
    /**
61
     * @param string $file_type
62
     *
63
     * @return void
64
     */
65
    public function setFileType($file_type)
66
    {
67
        $this->file_type = $file_type;
68
    }
69
70
    /**
71
     * @return string
72
     */
73
    public function getFileFormat()
74
    {
75
        return $this->file_format;
76
    }
77
78
    /**
79
     * @param string $file_format
80
     *
81
     * @return void
82
     */
83
    public function setFileFormat($file_format)
84
    {
85
        $this->file_format = $file_format;
86
    }
87
}
88