Completed
Push — sf/csv-headers ( 829ce9...de2c5f )
by Kiyotaka
06:12
created

OrderService::getAmount()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 2
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * This file is part of EC-CUBE
5
 *
6
 * Copyright(c) LOCKON CO.,LTD. All Rights Reserved.
7
 *
8
 * http://www.lockon.co.jp/
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Eccube\Service;
15
16
use Eccube\Entity\Cart;
17
use Eccube\Entity\Customer;
18
use Eccube\Entity\Order;
19
20
/**
21
 * @deprecated since 3.0.0, to be removed in 3.1
22
 */
23
class OrderService
24
{
25
    /**
26
     * @var ShoppingService
27
     */
28
    protected $shoppingService;
29
30
    /**
31
     * 販売種別を取得
32
     *
33
     * @param Order $Order
34
     *
35
     * @return \Eccube\Entity\Master\SaleType[]
36
     *
37
     * @deprecated since 3.0.0, to be removed in 3.1
38
     */
39
    public function getSaleTypes(Order $Order)
40
    {
41
        return $Order->getSaleTypes();
42
    }
43
}
44