PaymentDetails::getCreditCardCompany()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the slince/shopify-api-php
5
 *
6
 * (c) Slince <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Slince\Shopify\Manager\Order;
13
14
class PaymentDetails
15
{
16
    /**
17
     * @var string
18
     */
19
    protected $creditCardBin;
20
21
    /**
22
     * @var string
23
     */
24
    protected $avsResultCode;
25
26
    /**
27
     * @var string
28
     */
29
    protected $cvvResultCode;
30
31
    /**
32
     * @var string
33
     */
34
    protected $creditCardNumber;
35
36
    /**
37
     * @var string
38
     */
39
    protected $creditCardCompany;
40
41
    /**
42
     * @return string
43
     */
44
    public function getCreditCardBin()
45
    {
46
        return $this->creditCardBin;
47
    }
48
49
    /**
50
     * @param string $creditCardBin
51
     *
52
     * @return PaymentDetails
53
     */
54
    public function setCreditCardBin($creditCardBin)
55
    {
56
        $this->creditCardBin = $creditCardBin;
57
58
        return $this;
59
    }
60
61
    /**
62
     * @return string
63
     */
64
    public function getAvsResultCode()
65
    {
66
        return $this->avsResultCode;
67
    }
68
69
    /**
70
     * @param string $avsResultCode
71
     *
72
     * @return PaymentDetails
73
     */
74
    public function setAvsResultCode($avsResultCode)
75
    {
76
        $this->avsResultCode = $avsResultCode;
77
78
        return $this;
79
    }
80
81
    /**
82
     * @return string
83
     */
84
    public function getCvvResultCode()
85
    {
86
        return $this->cvvResultCode;
87
    }
88
89
    /**
90
     * @param string $cvvResultCode
91
     *
92
     * @return PaymentDetails
93
     */
94
    public function setCvvResultCode($cvvResultCode)
95
    {
96
        $this->cvvResultCode = $cvvResultCode;
97
98
        return $this;
99
    }
100
101
    /**
102
     * @return string
103
     */
104
    public function getCreditCardNumber()
105
    {
106
        return $this->creditCardNumber;
107
    }
108
109
    /**
110
     * @param string $creditCardNumber
111
     *
112
     * @return PaymentDetails
113
     */
114
    public function setCreditCardNumber($creditCardNumber)
115
    {
116
        $this->creditCardNumber = $creditCardNumber;
117
118
        return $this;
119
    }
120
121
    /**
122
     * @return string
123
     */
124
    public function getCreditCardCompany()
125
    {
126
        return $this->creditCardCompany;
127
    }
128
129
    /**
130
     * @param string $creditCardCompany
131
     *
132
     * @return PaymentDetails
133
     */
134
    public function setCreditCardCompany($creditCardCompany)
135
    {
136
        $this->creditCardCompany = $creditCardCompany;
137
138
        return $this;
139
    }
140
}