Completed
Push — master ( 6fb948...9654c5 )
by Marcus
08:56
created

VoucherGet::validate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace MarcusJaschen\Collmex\Type;
6
7
/**
8
 * Collmex Voucher Get Type.
9
 *
10
 * @author   Marcus Jaschen <[email protected]>
11
 *
12
 * @property $type_identifier
13
 * @property $voucher_id
14
 * @property $client_id
15
 * @property $customer_id
16
 * @property $agent_id
17
 * @property $voucher_desc
18
 * @property $show_expired
19
 * @property $only_changed
20
 * @property $system_name
21
 */
22
class VoucherGet extends AbstractType implements TypeInterface
23
{
24
    /**
25
     * @var array
26
     */
27
    protected $template = [
28
        'type_identifier' => 'VOUCHER_GET',
29
        'voucher_id' => null,
30
        'client_id' => null,
31
        'customer_id' => null,
32
        'agent_id' => null,
33
        'voucher_desc' => null,
34
        'show_expired' => null,
35
        'only_changed' => null,
36
        'system_name' => null,
37
    ];
38
39
    /**
40
     * Formally validates the type data in $data attribute.
41
     *
42
     * @return bool Validation success
43
     */
44
    public function validate(): bool
45
    {
46
        return true;
47
    }
48
}
49