for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* PHP version 5.4 and 8
*
* @category RequestEntity
* @package Payever\Payments
* @author payever GmbH <[email protected]>
* @copyright 2017-2021 payever GmbH
* @license MIT <https://opensource.org/licenses/MIT>
* @link https://docs.payever.org/shopsystems/api/getting-started
*/
namespace Payever\ExternalIntegration\Payments\Http\RequestEntity;
use Payever\ExternalIntegration\Core\Http\RequestEntity;
* This class represents Refund Payment RequestInterface Entity
* @method float getAmount()
* @method self setAmount(float $amount)
class RefundPaymentRequest extends RequestEntity
{
/** @var float $amount */
protected $amount;
* {@inheritdoc}
public function isValid()
return parent::isValid() &&
(!$this->amount || is_numeric($this->amount))
;
}