Completed
Push — master ( b41f42...905377 )
by Gregorio
02:32
created

AbstractPaymentMethodRequest::setAllowBlankDate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1.125

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 4
cp 0.5
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
crap 1.125
1
<?php
2
3
namespace Omnipay\Spreedly\Message;
4
5
/**
6
 * @method Response send()
7
 */
8
abstract class AbstractPaymentMethodRequest extends AbstractRequest
9
{
10 16
    public function getPaymentMethodToken()
11
    {
12 16
        return $this->getParameter('payment_method_token');
13
    }
14
15 16
    public function setPaymentMethodToken($value)
16
    {
17 16
        return $this->setParameter('payment_method_token', $value);
18
    }
19
20 8
    public function getAllowBlankName()
21
    {
22 8
        return $this->getParameter('allow_blank_name');
23
    }
24
25 4
    public function setAllowBlankName($value)
26
    {
27 4
        return $this->setParameter('allow_blank_name', $value);
28
    }
29
30 8
    public function getAllowExpiredDate()
31
    {
32 8
        return $this->getParameter('allow_expired_date');
33
    }
34
35 4
    public function setAllowExpiredDate($value)
36
    {
37 4
        return $this->setParameter('allow_expired_date', $value);
38
    }
39
40 8
    public function getAllowBlankDate()
41
    {
42 8
        return $this->getParameter('allow_blank_date');
43
    }
44
45 4
    public function setAllowBlankDate($value)
46
    {
47 4
        return $this->setParameter('allow_blank_date', $value);
48
    }
49
50 8
    public function getExtra()
51
    {
52 8
        return $this->getParameter('extra');
53
    }
54
55 2
    public function setExtra($value)
56
    {
57 2
        return $this->setParameter('extra', $value);
58
    }
59
}
60