| Total Complexity | 6 |
| Total Lines | 74 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 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() |
||
| 76 | } |
||
| 77 | |||
| 78 | /** |
||
| 79 | * @param string $file_format |
||
| 80 | * |
||
| 81 | * @return void |
||
| 82 | */ |
||
| 83 | public function setFileFormat($file_format) |
||
| 88 |