Completed
Push — master ( adf073...dae176 )
by Taosikai
13:53
created

CustomerInvite::getTo()   A

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\Customer;
13
14
use Slince\Shopify\Common\Model\Model;
15
16
class CustomerInvite extends Model
17
{
18
    /**
19
     * @var string
20
     */
21
    protected $to;
22
23
    /**
24
     * @var string
25
     */
26
    protected $from;
27
28
    /**
29
     * @var string
30
     */
31
    protected $subject;
32
33
    /**
34
     * @var array
35
     */
36
    protected $bcc;
37
38
    /**
39
     * @var string
40
     */
41
    protected $customMessage;
42
43
    /**
44
     * @return string
45
     */
46
    public function getTo()
47
    {
48
        return $this->to;
49
    }
50
51
    /**
52
     * @param string $to
53
     *
54
     * @return CustomerInvite
55
     */
56
    public function setTo($to)
57
    {
58
        $this->to = $to;
59
60
        return $this;
61
    }
62
63
    /**
64
     * @return string
65
     */
66
    public function getFrom()
67
    {
68
        return $this->from;
69
    }
70
71
    /**
72
     * @param string $from
73
     *
74
     * @return CustomerInvite
75
     */
76
    public function setFrom($from)
77
    {
78
        $this->from = $from;
79
80
        return $this;
81
    }
82
83
    /**
84
     * @return string
85
     */
86
    public function getSubject()
87
    {
88
        return $this->subject;
89
    }
90
91
    /**
92
     * @param string $subject
93
     *
94
     * @return CustomerInvite
95
     */
96
    public function setSubject($subject)
97
    {
98
        $this->subject = $subject;
99
100
        return $this;
101
    }
102
103
    /**
104
     * @return array
105
     */
106
    public function getBcc()
107
    {
108
        return $this->bcc;
109
    }
110
111
    /**
112
     * @param array $bcc
113
     *
114
     * @return CustomerInvite
115
     */
116
    public function setBcc($bcc)
117
    {
118
        $this->bcc = $bcc;
119
120
        return $this;
121
    }
122
123
    /**
124
     * @return string
125
     */
126
    public function getCustomMessage()
127
    {
128
        return $this->customMessage;
129
    }
130
131
    /**
132
     * @param string $customMessage
133
     *
134
     * @return CustomerInvite
135
     */
136
    public function setCustomMessage($customMessage)
137
    {
138
        $this->customMessage = $customMessage;
139
140
        return $this;
141
    }
142
}