| 1 | <?php |
||
| 24 | class PaymentTotalLimitValidator extends ItemHolderPostValidator |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @var int |
||
| 28 | */ |
||
| 29 | private $maxTotalFee; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * PaymentTotalLimitValidator constructor. |
||
| 33 | * |
||
| 34 | * @param EccubeConfig $eccubeConfig |
||
| 35 | */ |
||
| 36 | 757 | public function __construct(EccubeConfig $eccubeConfig) |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @param ItemHolderInterface $itemHolder |
||
| 43 | * @param PurchaseContext $context |
||
| 44 | * |
||
| 45 | * @throws \Eccube\Service\PurchaseFlow\InvalidItemException |
||
| 46 | */ |
||
| 47 | 238 | protected function validate(ItemHolderInterface $itemHolder, PurchaseContext $context) |
|
| 54 | |||
| 55 | public function __toString() |
||
| 59 | } |
||
| 60 |