DeliveryFeePreprocessor implements ItemHolderPreprocessor
送料明細追加.
Table of Contents
$BaseInfo | BaseInfo | |
---|---|---|
$entityManager | EntityManagerInterface | |
$taxRuleRepository | TaxRuleRepository | |
$deliveryFeeRepository | DeliveryFeeRepository | |
__construct() | DeliveryFeePreprocessor constructor. | mixed |
process() | 受注データ調整処理。 | mixed |
removeDeliveryFeeItem() | mixed | |
saveDeliveryFeeItem() | mixed |
Properties
$BaseInfo
protected
BaseInfo
$BaseInfo
$entityManager
protected
EntityManagerInterface
$entityManager
$taxRuleRepository
protected
TaxRuleRepository
$taxRuleRepository
$deliveryFeeRepository
protected
DeliveryFeeRepository
$deliveryFeeRepository
Methods
__construct()
DeliveryFeePreprocessor constructor.
public
__construct(
$baseInfoRepository :
BaseInfoRepository
, $entityManager :
EntityManagerInterface
, $taxRuleRepository :
TaxRuleRepository
, $deliveryFeeRepository :
DeliveryFeeRepository
)
: mixed
Parameters
- $baseInfoRepository : BaseInfoRepository
- $entityManager : EntityManagerInterface
- $taxRuleRepository : TaxRuleRepository
- $deliveryFeeRepository : DeliveryFeeRepository
Return values
mixedprocess()
受注データ調整処理。
public
process(
$itemHolder :
ItemHolderInterface
, $context :
PurchaseContext
)
: mixed
Parameters
- $itemHolder : ItemHolderInterface
- $context : PurchaseContext
Tags
Return values
mixedremoveDeliveryFeeItem()
private
removeDeliveryFeeItem(
$itemHolder :
ItemHolderInterface
)
: mixed
Parameters
- $itemHolder : ItemHolderInterface
Return values
mixedsaveDeliveryFeeItem()
private
saveDeliveryFeeItem(
$itemHolder :
ItemHolderInterface
)
: mixed
Parameters
- $itemHolder : ItemHolderInterface