OrderItemCollection extends ArrayCollection
Table of Contents
| $type | ||
|---|---|---|
| __construct() | mixed | |
| reduce() | mixed | |
| getProductClasses() | mixed | |
| getDeliveryFees() | mixed | |
| getCharges() | mixed | |
| getDiscounts() | mixed | |
| hasProductByName() | 同名の明細が存在するかどうか. | mixed |
| hasItemByOrderItemType() | 指定した受注明細区分の明細が存在するかどうか | bool |
| getType() | mixed |
Properties
$type
protected
mixed
$type
Methods
__construct()
public
__construct(
$OrderItems :
mixed
[, $type :
mixed
= null ]
)
: mixed
Parameters
- $OrderItems : mixed
- $type : mixed = null
Return values
mixedreduce()
public
reduce(
$func :
Closure
[, $initial :
mixed
= null ]
)
: mixed
Parameters
- $func : Closure
- $initial : mixed = null
Return values
mixedgetProductClasses()
public
getProductClasses(
)
: mixed
Return values
mixedgetDeliveryFees()
public
getDeliveryFees(
)
: mixed
Return values
mixedgetCharges()
public
getCharges(
)
: mixed
Return values
mixedgetDiscounts()
public
getDiscounts(
)
: mixed
Return values
mixedhasProductByName()
同名の明細が存在するかどうか.
public
hasProductByName(
$productName :
mixed
)
: mixed
TODO 暫定対応. 本来は明細種別でチェックする.
Parameters
- $productName : mixed
Return values
mixedhasItemByOrderItemType()
指定した受注明細区分の明細が存在するかどうか
public
hasItemByOrderItemType(
$OrderItemType :
OrderItemType
)
: bool
Parameters
- $OrderItemType : OrderItemType
受注区分
Return values
boolgetType()
public
getType(
)
: mixed