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

PaymentOptionVariantEntity::getId()   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 0
1
<?php
2
/**
3
 * PHP version 5.4 and 7
4
 *
5
 * @package   Payever\Payments
6
 * @author    Hennadii.Shymanskyi <[email protected]>
7
 * @copyright 2017-2019 payever GmbH
8
 * @license   MIT <https://opensource.org/licenses/MIT>
9
 */
10
11
namespace Payever\ExternalIntegration\Payments\Http\MessageEntity;
12
13
use Payever\ExternalIntegration\Core\Base\MessageEntity;
14
15
/**
16
 * PHP version 5.4 and 7
17
 *
18
 * @package   Payever\Payments
19
 * @author    payever GmbH <[email protected]>
20
 * @author    Hennadii.Shymanskyi <[email protected]>
21
 * @copyright 2017-2019 payever GmbH
22
 * @license   MIT <https://opensource.org/licenses/MIT>
23
 *
24
 * @method string getVariantId()
25
 * @method null|string getName()
26
 * @method bool getAcceptFee()
27
 */
28
class PaymentOptionVariantEntity extends MessageEntity
29
{
30
    /** @var string - Variant UUID */
31
    protected $variantId;
32
33
    /** @var null|string - Variant name */
34
    protected $name;
35
36
    /** @var bool */
37
    protected $acceptFee;
38
39
    /**
40
     * @return string
41
     */
42
    public function getId()
43
    {
44
        return $this->variantId;
45
    }
46
}
47