Completed
Push — development ( a928ed...ed05a0 )
by Claudio
02:29
created

PurchaseParam::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 3
1
<?php
2
3
namespace App\Models;
4
5
/**
6
 * Class PurchaseParam
7
 * @package App\Models
8
 */
9
class PurchaseParam
10
{
11
    /**
12
     * Country Id
13
     *
14
     * @var int
15
     */
16
    public $countryId;
17
18
    /**
19
     * Price Point Id
20
     *
21
     * @var int
22
     */
23
    public $pricePointId;
24
25
    /**
26
     * Payment Method Id
27
     *
28
     * @var int
29
     */
30
    public $paymentMethodId;
31
32
    /**
33
     * Create a new Purchase Param
34
     *
35
     * @param int $countryId
36
     * @param int $pricePointId
37
     * @param int $paymentMethodId [
38
     */
39
    public function __construct(int $countryId, int $pricePointId, int $paymentMethodId)
40
    {
41
        $this->countryId = $countryId;
42
        $this->pricePointId = $pricePointId;
43
        $this->paymentMethodId = $paymentMethodId;
44
    }
45
}
46