BusinessContainer   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 75
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 10
c 1
b 0
f 0
dl 0
loc 75
rs 10
wmc 6

6 Methods

Rating   Name   Duplication   Size   Complexity  
A setDocumentDate() 0 3 1
A getDocumentDate() 0 3 1
A setDueTime() 0 3 1
A getBookingDate() 0 3 1
A getDueTime() 0 3 1
A setBookingDate() 0 3 1
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\Authorization;
9
10
use SprykerEco\Zed\Payone\Business\Api\Request\Container\AbstractContainer;
11
12
class BusinessContainer extends AbstractContainer
13
{
14
    /**
15
     * (YYYYMMDD)
16
     *
17
     * @var string
18
     */
19
    protected $document_date;
20
21
    /**
22
     * (YYYYMMDD)
23
     *
24
     * @var string
25
     */
26
    protected $booking_date;
27
28
    /**
29
     * (Unixtimestamp)
30
     *
31
     * @var string
32
     */
33
    protected $due_time;
34
35
    /**
36
     * @param string $booking_date
37
     *
38
     * @return void
39
     */
40
    public function setBookingDate($booking_date)
41
    {
42
        $this->booking_date = $booking_date;
43
    }
44
45
    /**
46
     * @return string
47
     */
48
    public function getBookingDate()
49
    {
50
        return $this->booking_date;
51
    }
52
53
    /**
54
     * @param string $document_date
55
     *
56
     * @return void
57
     */
58
    public function setDocumentDate($document_date)
59
    {
60
        $this->document_date = $document_date;
61
    }
62
63
    /**
64
     * @return string
65
     */
66
    public function getDocumentDate()
67
    {
68
        return $this->document_date;
69
    }
70
71
    /**
72
     * @param string $due_time
73
     *
74
     * @return void
75
     */
76
    public function setDueTime($due_time)
77
    {
78
        $this->due_time = $due_time;
79
    }
80
81
    /**
82
     * @return string
83
     */
84
    public function getDueTime()
85
    {
86
        return $this->due_time;
87
    }
88
}
89