Passed
Push — master ( f8ce69...b14078 )
by payever
03:35
created

ListPaymentOptionsResultEntity::setOptions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 1
1
<?php
2
/**
3
 * This class represents List Payment Options Result Entity
4
 *
5
 * PHP version 5.4
6
 *
7
 * @category  MessageEntity
8
 * @package   Payever\Payments
9
 * @author    payever GmbH <[email protected]>
10
 * @copyright 2017-2019 payever GmbH
11
 * @license   MIT <https://opensource.org/licenses/MIT>
12
 * @link      https://getpayever.com/shopsystem/
13
 */
14
15
namespace Payever\ExternalIntegration\Payments\Http\MessageEntity;
16
17
/**
18
 * This class represents List Payment Options Result Entity
19
 *
20
 * PHP version 5.4
21
 *
22
 * @category  MessageEntity
23
 * @package   Payever\Payments
24
 * @author    payever GmbH <[email protected]>
25
 * @copyright 2017-2019 payever GmbH
26
 * @license   MIT <https://opensource.org/licenses/MIT>
27
 * @link      https://getpayever.com/shopsystem/
28
 *
29
 * @method bool                             getAcceptFee()
30
 */
31
class ListPaymentOptionsResultEntity extends AbstractPaymentOptionEntity
32
{
33
    /** @var bool $acceptFee */
34
    protected $acceptFee;
35
36
    /**
37
     * Sets Accept Fee
38
     *
39
     * @param bool $acceptFee
40
     */
41
    public function setAcceptFee($acceptFee)
42
    {
43
        $this->acceptFee = filter_var($acceptFee, FILTER_VALIDATE_BOOLEAN);
44
    }
45
}
46