Completed
Push — master ( 8e28ab...2236d8 )
by Taosikai
15:04
created

PaymentDetails::setCreditCardCompany()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 6
rs 9.4285
c 1
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of the slince/shopify-api-php
5
 *
6
 * (c) Taosikai <[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
     * @return PaymentDetails
52
     */
53
    public function setCreditCardBin($creditCardBin)
54
    {
55
        $this->creditCardBin = $creditCardBin;
56
57
        return $this;
58
    }
59
60
    /**
61
     * @return string
62
     */
63
    public function getAvsResultCode()
64
    {
65
        return $this->avsResultCode;
66
    }
67
68
    /**
69
     * @param string $avsResultCode
70
     * @return PaymentDetails
71
     */
72
    public function setAvsResultCode($avsResultCode)
73
    {
74
        $this->avsResultCode = $avsResultCode;
75
76
        return $this;
77
    }
78
79
    /**
80
     * @return string
81
     */
82
    public function getCvvResultCode()
83
    {
84
        return $this->cvvResultCode;
85
    }
86
87
    /**
88
     * @param string $cvvResultCode
89
     * @return PaymentDetails
90
     */
91
    public function setCvvResultCode($cvvResultCode)
92
    {
93
        $this->cvvResultCode = $cvvResultCode;
94
95
        return $this;
96
    }
97
98
    /**
99
     * @return string
100
     */
101
    public function getCreditCardNumber()
102
    {
103
        return $this->creditCardNumber;
104
    }
105
106
    /**
107
     * @param string $creditCardNumber
108
     * @return PaymentDetails
109
     */
110
    public function setCreditCardNumber($creditCardNumber)
111
    {
112
        $this->creditCardNumber = $creditCardNumber;
113
114
        return $this;
115
    }
116
117
    /**
118
     * @return string
119
     */
120
    public function getCreditCardCompany()
121
    {
122
        return $this->creditCardCompany;
123
    }
124
125
    /**
126
     * @param string $creditCardCompany
127
     * @return PaymentDetails
128
     */
129
    public function setCreditCardCompany($creditCardCompany)
130
    {
131
        $this->creditCardCompany = $creditCardCompany;
132
133
        return $this;
134
    }
135
}