GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

OrderItem::getProductName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Magium\Magento\Extractors\Admin\Order;
4
5
class OrderItem
6
{
7
    const EXTRACTOR = 'Admin\Order\OrderItem';
8
    protected $productName;
9
    protected $sku;
10
    protected $status;
11
    protected $originalPrice;
12
    protected $price;
13
    protected $qtyOrdered;
14
    protected $qtyInvoiced;
15
    protected $qtyShipped;
16
    protected $subTotal;
17
    protected $taxAmount;
18
    protected $taxPercent;
19
    protected $discountAmount;
20
    protected $rowTotal;
21
22
    /**
23
     * OrderItem constructor.
24
     * @param $productName
25
     * @param $sku
26
     * @param $status
27
     * @param $originalPrice
28
     * @param $price
29
     * @param $qtyOrdered
30
     * @param $qtyInvoiced
31
     * @param $qtyShipped
32
     * @param $subTotal
33
     * @param $taxAmount
34
     * @param $taxPercent
35
     * @param $discountAmount
36
     * @param $rowTotal
37
     */
38
    public function __construct($productName, $sku, $status, $originalPrice, $price, $qtyOrdered, $qtyInvoiced, $qtyShipped, $subTotal, $taxAmount, $taxPercent, $discountAmount, $rowTotal)
39
    {
40
        $this->productName = $productName;
41
        $this->sku = $sku;
42
        $this->status = $status;
43
        $this->originalPrice = $originalPrice;
44
        $this->price = $price;
45
        $this->qtyOrdered = $qtyOrdered;
46
        $this->qtyInvoiced = $qtyInvoiced;
47
        $this->qtyShipped = $qtyShipped;
48
        $this->subTotal = $subTotal;
49
        $this->taxAmount = $taxAmount;
50
        $this->taxPercent = $taxPercent;
51
        $this->discountAmount = $discountAmount;
52
        $this->rowTotal = $rowTotal;
53
    }
54
55
    /**
56
     * @return mixed
57
     */
58
    public function getProductName()
59
    {
60
        return $this->productName;
61
    }
62
63
    /**
64
     * @return mixed
65
     */
66
    public function getSku()
67
    {
68
        return $this->sku;
69
    }
70
71
    /**
72
     * @return mixed
73
     */
74
    public function getStatus()
75
    {
76
        return $this->status;
77
    }
78
79
    /**
80
     * @return mixed
81
     */
82
    public function getOriginalPrice()
83
    {
84
        return $this->originalPrice;
85
    }
86
87
    /**
88
     * @return mixed
89
     */
90
    public function getPrice()
91
    {
92
        return $this->price;
93
    }
94
95
    /**
96
     * @return mixed
97
     */
98
    public function getQtyOrdered()
99
    {
100
        return $this->qtyOrdered;
101
    }
102
103
    /**
104
     * @return mixed
105
     */
106
    public function getQtyInvoiced()
107
    {
108
        return $this->qtyInvoiced;
109
    }
110
111
    /**
112
     * @return mixed
113
     */
114
    public function getQtyShipped()
115
    {
116
        return $this->qtyShipped;
117
    }
118
119
    /**
120
     * @return mixed
121
     */
122
    public function getSubTotal()
123
    {
124
        return $this->subTotal;
125
    }
126
127
    /**
128
     * @return mixed
129
     */
130
    public function getTaxAmount()
131
    {
132
        return $this->taxAmount;
133
    }
134
135
    /**
136
     * @return mixed
137
     */
138
    public function getTaxPercent()
139
    {
140
        return $this->taxPercent;
141
    }
142
143
    /**
144
     * @return mixed
145
     */
146
    public function getDiscountAmount()
147
    {
148
        return $this->discountAmount;
149
    }
150
151
    /**
152
     * @return mixed
153
     */
154
    public function getRowTotal()
155
    {
156
        return $this->rowTotal;
157
    }
158
159
160
}