Completed
Push — master ( 4b89b9...dd9abc )
by Jens
10:35
created

TaxedItemPrice   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 10
ccs 0
cts 7
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A fieldDefinitions() 0 7 1
1
<?php
2
/**
3
 * @author @jayS-de <[email protected]>
4
 */
5
6
namespace Commercetools\Core\Model\Common;
7
8
/**
9
 * @package Commercetools\Core\Model\Common
10
 *
11
 * @method Money getTotalNet()
12
 * @method TaxedItemPrice setTotalNet(Money $totalNet = null)
13
 * @method Money getTotalGross()
14
 * @method TaxedItemPrice setTotalGross(Money $totalGross = null)
15
 */
16
class TaxedItemPrice extends JsonObject
17
{
18
    public function fieldDefinitions()
19
    {
20
        return [
21
            'totalNet' => [static::TYPE => '\Commercetools\Core\Model\Common\Money'],
22
            'totalGross' => [static::TYPE => '\Commercetools\Core\Model\Common\Money'],
23
        ];
24
    }
25
}
26