ApplierInterface.php 586 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Braintree\Model\Report\ConditionAppliers;
  7. /**
  8. * Braintree filter condition applier interface
  9. */
  10. interface ApplierInterface
  11. {
  12. const EQ = 'eq';
  13. const QTEQ = 'gteq';
  14. const LTEQ = 'lteq';
  15. const IN = 'in';
  16. const LIKE = 'like';
  17. /**
  18. * Apply filter condition
  19. *
  20. * @param object $field
  21. * @param string $condition
  22. * @param mixed $value
  23. * @return bool
  24. */
  25. public function apply($field, $condition, $value);
  26. }