PaymentTotalNegativeValidator extends ItemHolderPostValidator
合計金額のマイナスチェック.
Table of Contents
validate() | mixed | |
---|---|---|
execute() | ProcessResult | |
validate() | mixed | |
throwInvalidItemException() | mixed |
Methods
validate()
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