PaymentTotalLimitValidator extends ItemHolderPostValidator
購入金額上限チェック.
Table of Contents
$maxTotalFee | int | |
---|---|---|
__construct() | PaymentTotalLimitValidator constructor. | mixed |
validate() | mixed | |
execute() | ProcessResult | |
validate() | mixed | |
throwInvalidItemException() | mixed |
Properties
$maxTotalFee
private
int
$maxTotalFee
Methods
__construct()
PaymentTotalLimitValidator constructor.
public
__construct(
$eccubeConfig :
EccubeConfig
)
: mixed
Parameters
- $eccubeConfig : EccubeConfig
Return values
mixedvalidate()
protected
validate(
$itemHolder :
ItemHolderInterface
, $context :
PurchaseContext
)
: mixed
Parameters
- $itemHolder : ItemHolderInterface
- $context : PurchaseContext
Tags
Return values
mixedexecute()
public
final execute(
$itemHolder :
ItemHolderInterface
, $context :
PurchaseContext
)
: ProcessResult
Parameters
- $itemHolder : ItemHolderInterface
- $context : PurchaseContext
Return values
ProcessResultvalidate()
protected
abstract validate(
$itemHolder :
ItemHolderInterface
, $context :
PurchaseContext
)
: mixed
Parameters
- $itemHolder : ItemHolderInterface
- $context : PurchaseContext
Tags
Return values
mixedthrowInvalidItemException()
protected
throwInvalidItemException(
$errorCode :
[, $ProductClass :
ProductClass
= null ]
[, $warning :
mixed
= false ]
)
: mixed
Parameters
- $errorCode :
- $ProductClass : ProductClass = null
- $warning : mixed = false