OutputOptions
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 42
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 42
c 0
b 0
f 0
wmc 0
1
<?php
2
3
namespace Pronamic\WordPress\Pay\Gateways\PayNL;
4
5
/**
6
 * Title: Pay.nl output options
7
 * Description:
8
 * Copyright: 2005-2021 Pronamic
9
 * Company: Pronamic
10
 *
11
 * @author  Remco Tolsma
12
 * @version 2.0.0
13
 * @since   1.0.0
14
 * @see     https://admin.pay.nl/docpanel/api
15
 */
16
class OutputOptions {
17
	/**
18
	 * Output XML
19
	 *
20
	 * @var string
21
	 */
22
	const OUTPUT_XML = 'xml';
23
24
	/**
25
	 * Output text
26
	 *
27
	 * @var string
28
	 */
29
	const OUTPUT_TXT = 'txt';
30
31
	/**
32
	 * Output array
33
	 *
34
	 * @var string
35
	 */
36
	const OUTPUT_ARRAY = 'array';
37
38
	/**
39
	 * Output serialized array
40
	 *
41
	 * @var string
42
	 */
43
	const OUTPUT_ARRAY_SERIALIZE = 'array_serialize';
44
45
	/**
46
	 * Output JSON
47
	 *
48
	 * @var string
49
	 */
50
	const OUTPUT_JSON = 'json';
51
52
	/**
53
	 * Output JSONP
54
	 *
55
	 * @var string
56
	 */
57
	const OUTPUT_JSONP = 'jsonp';
58
}
59