class OrderService

deprecated since 3.0.0, to be removed in 3.1

Properties

Application $app

Methods

__construct(Application $app)

No description

int
getTotalQuantity(Order $Order) deprecated

合計数量を取得

int
getSubTotal(Order $Order) deprecated

小計を取得

int
getTotalTax(Order $Order) deprecated

消費税のみの小計を取得

array
getProductTypes(Order $Order) deprecated

商品種別を取得

newOrder() deprecated

下位互換用関数

registerPreOrderFromCartItems($cartItems, Customer $Customer = null, $preOrderId) deprecated

下位互換用関数

getAmount(Order $Order, Cart $Cart) deprecated

下位互換用関数

bool
isOrderProduct($em, Order $Order) deprecated

下位互換用関数

setOrderUpdate($em, Order $Order, $formData) deprecated

下位互換用関数

setStockUpdate($em, Order $Order) deprecated

下位互換用関数

setCustomerUpdate($em, Order $Order, Customer $user) deprecated

下位互換用関数

Details

at line 39
__construct(Application $app)

Parameters

Application $app

at line 51
int getTotalQuantity(Order $Order) deprecated

deprecated since 3.0.0, to be removed in 3.1

合計数量を取得

Parameters

Order $Order

Return Value

int

at line 63
int getSubTotal(Order $Order) deprecated

deprecated since 3.0.0, to be removed in 3.1

小計を取得

Parameters

Order $Order

Return Value

int

at line 75
int getTotalTax(Order $Order) deprecated

deprecated since 3.0.0, to be removed in 3.1

消費税のみの小計を取得

Parameters

Order $Order

Return Value

int

at line 87
array getProductTypes(Order $Order) deprecated

deprecated since 3.0.0, to be removed in 3.1

商品種別を取得

Parameters

Order $Order

Return Value

array

at line 101
Order newOrder() deprecated

deprecated since 3.0.0, to be removed in 3.1

下位互換用関数

Return Value

Order

See also

ShoppingService::newOrder()

at line 118
Order registerPreOrderFromCartItems($cartItems, Customer $Customer = null, $preOrderId) deprecated

deprecated since 3.0.0, to be removed in 3.1

下位互換用関数

Parameters

$cartItems
Customer $Customer
$preOrderId

Return Value

Order

See also

ShoppingService::createOrder()

at line 134
Order getAmount(Order $Order, Cart $Cart) deprecated

deprecated since 3.0.0, to be removed in 3.1

下位互換用関数

Parameters

Order $Order
Cart $Cart

Return Value

Order

See also

ShoppingService::getAmount()

at line 150
bool isOrderProduct($em, Order $Order) deprecated

deprecated since 3.0.0, to be removed in 3.1

下位互換用関数

Parameters

$em トランザクション制御されているEntityManager
Order $Order 受注情報

Return Value

bool true : 成功、false : 失敗

See also

ShoppingService::isOrderProduct()

at line 166
setOrderUpdate($em, Order $Order, $formData) deprecated

deprecated since 3.0.0, to be removed in 3.1

下位互換用関数

Parameters

$em トランザクション制御されているEntityManager
Order $Order 受注情報
$formData フォームデータ

See also

ShoppingService::setOrderUpdate()

at line 181
setStockUpdate($em, Order $Order) deprecated

deprecated since 3.0.0, to be removed in 3.1

下位互換用関数

Parameters

$em トランザクション制御されているEntityManager
Order $Order 受注情報

See also

ShoppingService::setStockUpdate()

at line 197
setCustomerUpdate($em, Order $Order, Customer $user) deprecated

deprecated since 3.0.0, to be removed in 3.1

下位互換用関数

Parameters

$em トランザクション制御されているEntityManager
Order $Order 受注情報
Customer $user ログインユーザ

See also

ShoppingService::setCustomerUpdate()