1 | <?php |
||
18 | class ChargeLimit extends Constraint |
||
19 | { |
||
20 | public $minMessage = 'Amount must be greater than or equal to {{ amount }} ({{ currency }}).'; |
||
21 | public $maxMessage = 'Amount must be less than or equal to {{ amount }} ({{ currency }}).'; |
||
22 | public $amountField = 'amount'; |
||
23 | public $currencyField = 'currencyCode'; |
||
24 | public $divisor = 0; |
||
25 | |||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | */ |
||
29 | public function getTargets() |
||
33 | } |
||
34 |