PaymentChargePreprocessor implements ItemHolderPreprocessor
Table of Contents
$orderItemTypeRepository | OrderItemTypeRepository | |
---|---|---|
$taxDisplayTypeRepository | TaxDisplayTypeRepository | |
$taxTypeRepository | TaxTypeRepository | |
__construct() | PaymentChargePreprocessor constructor. | mixed |
process() | 受注データ調整処理。 | mixed |
addChargeItem() | Add charge item to item holder | mixed |
Properties
$orderItemTypeRepository
protected
OrderItemTypeRepository
$orderItemTypeRepository
$taxDisplayTypeRepository
protected
TaxDisplayTypeRepository
$taxDisplayTypeRepository
$taxTypeRepository
protected
TaxTypeRepository
$taxTypeRepository
Methods
__construct()
PaymentChargePreprocessor constructor.
public
__construct(
$orderItemTypeRepository :
OrderItemTypeRepository
, $taxDisplayTypeRepository :
TaxDisplayTypeRepository
, $taxTypeRepository :
TaxTypeRepository
)
: mixed
Parameters
- $orderItemTypeRepository : OrderItemTypeRepository
- $taxDisplayTypeRepository : TaxDisplayTypeRepository
- $taxTypeRepository : TaxTypeRepository
Return values
mixedprocess()
受注データ調整処理。
public
process(
$itemHolder :
ItemHolderInterface
, $context :
PurchaseContext
)
: mixed
Parameters
- $itemHolder : ItemHolderInterface
- $context : PurchaseContext
Return values
mixedaddChargeItem()
Add charge item to item holder
protected
addChargeItem(
$itemHolder :
ItemHolderInterface
)
: mixed
Parameters
- $itemHolder : ItemHolderInterface