Passed
Push — master ( e689f4...c0f464 )
by Gabriel
12:33
created

Purchase   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 2
c 1
b 0
f 1
dl 0
loc 16
rs 10
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getPaymentMethod() 0 2 1
A getName() 0 2 1
A getPurchaseAmount() 0 2 1
1
<?php
2
3
namespace ByTIC\Payments\Models\Purchases;
4
5
use ByTIC\Payments\Models\Methods\Traits\RecordTrait;
6
use ByTIC\Payments\Models\Purchase\Traits\IsPurchasableModelTrait;
7
use Nip\Records\Record;
8
9
/**
10
 * Class Purchase
11
 * @package ByTIC\Payments\Models\Purchases
12
 */
13
class Purchase extends Record
14
{
15
    use IsPurchasableModelTrait;
16
17
    public function getPaymentMethod()
18
    {
19
        // TODO: Implement getPaymentMethod() method.
20
    }
21
22
    public function getPurchaseAmount()
23
    {
24
        // TODO: Implement getPurchaseAmount() method.
25
    }
26
27
    public function getName()
28
    {
29
        // TODO: Implement getName() method.
30
    }
31
}
32