Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
Quote
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2/**
3 * Quote Entity.
4 *
5 * @package automattic/jetpack-crm
6 */
7
8namespace Automattic\Jetpack\CRM\Entities;
9
10/**
11 * Quote class.
12 *
13 * @since 6.2.0
14 */
15class Quote {
16
17    /**
18     * The DB ID of the object.
19     *
20     * @var int
21     */
22    public $id = -1;
23
24    /**
25     * The owner of the object.
26     *
27     * @var int
28     */
29    public $owner = -1;
30
31    /**
32     * The quote meta.
33     *
34     * @var array
35     */
36    public $meta = array();
37
38    /**
39     * The quote tags.
40     *
41     * @var array
42     */
43    public $tags = array();
44
45    /**
46     * The quote files.
47     *
48     * @var array
49     */
50    public $files = array();
51
52    /**
53     * The quote notes.
54     *
55     * @var string
56     */
57    public $notes = '';
58
59    /**
60     * The ID override of the quote.
61     *
62     * @var string
63     */
64    public $id_override = '';
65
66    /**
67     * The hash of the quote.
68     *
69     * @var string
70     */
71    public $hash = '';
72
73    /**
74     * The quote title.
75     *
76     * @var string
77     */
78    public $title = '';
79
80    /**
81     * The date property of the quote.
82     *
83     * @var int
84     */
85    public $date = -1;
86
87    /**
88     * The value of the quote.
89     *
90     * @var float
91     */
92    public $value = 0.0;
93
94    /**
95     * The currency of the quote.
96     *
97     * @var string ( see zeroBS_buildObjArr in ZeroBSCRM.Dal3.Helpers - currently building curr as str)
98     */
99    public $currency = '';
100
101    /**
102     * The content property of the quote.
103     *
104     * @var string
105     */
106    public $content = '';
107
108    /**
109     * The quote template property.
110     *
111     * @var string
112     */
113    public $template = '';
114
115    /**
116     * The send attachments property of the quote.
117     *
118     * @var bool
119     */
120    public $send_attachments = false;
121
122    /**
123     * The last viewed property of the quote.
124     *
125     * @var int
126     */
127    public $lastviewed = -1;
128
129    /**
130     * The viewed count property of the quote.
131     *
132     * @var int
133     */
134    public $viewed_count = 0;
135
136    /**
137     * The accepted property of the quote.
138     *
139     * @var int
140     */
141    public $accepted = -1;
142
143    /**
144     * The acceptedsigned property of the quote.
145     *
146     * @var string
147     */
148    public $acceptedsigned = '';
149
150    /**
151     * The acceptedip property of the quote.
152     *
153     * @var string
154     */
155    public $acceptedip = '';
156
157    /**
158     * The last updated property of the quote.
159     *
160     * @var int
161     */
162    public $lastupdated = -1;
163
164    /**
165     * The created property of the quote.
166     *
167     * @var int
168     */
169    public $created = -1;
170
171    /**
172     * Custom fields.
173     *
174     * @var array Custom fields.
175     */
176    private $custom_fields = array();
177}