Completed
Push — master ( 589fec...539028 )
by Milan
07:58
created

Euro::setCountry()   A

Complexity

Conditions 3
Paths 2

Size

Total Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
c 0
b 0
f 0
rs 9.9666
cc 3
nc 2
nop 1
1
<?php declare(strict_types=1);
2
3
namespace h4kuna\Fio\Request\Pay\Payment;
4
5
class Euro extends Foreign
6
{
7
8
	use Symbols;
9
10
11
	public function getExpectedProperty(): array
12
	{
13
		return [
14
			'accountFrom' => true,
15
			'currency' => true,
16
			'amount' => true,
17
			'accountTo' => true,
18
			'ks' => false,
19
			'vs' => false,
20
			'ss' => false,
21
			'bic' => false,
22
			'date' => true,
23
			'comment' => false,
24
			'benefName' => true,
25
			'benefStreet' => false,
26
			'benefCity' => false,
27
			'benefCountry' => false,
28
			'remittanceInfo1' => false,
29
			'remittanceInfo2' => false,
30
			'remittanceInfo3' => false,
31
			'paymentReason' => false,
32
			'paymentType' => false,
33
		];
34
	}
35
36
37
	public function getStartXmlElement(): string
38
	{
39
		return 'T2Transaction';
40
	}
41
42
}
43