PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
← All changes | src/Session/SessionDonation/SessionObjects/FormEntry.php +98 -0 2.30.04.16.9 View file →
@@ -4,8 +4,10 @@
4 4
5 5 use Give\Framework\Exceptions\Primitives\InvalidArgumentException;
6 6 use Give\Helpers\ArrayDataSet;
7 7 use Give\Session\Objects;
8 +use Give\ValueObjects\CardInfo;
9 +use Give\ValueObjects\DonorInfo;
8 10
9 11 /**
10 12 * Class FormEntry
11 13 *
@@ -12,8 +14,9 @@
12 14 * This class use to represent donation form entries as object.
13 15 *
14 16 * @package Give\Session\SessionDonation\SessionObjects
15 17 */
18 +#[\AllowDynamicProperties]
16 19 class FormEntry implements Objects
17 20 {
18 21 /**
19 22 * Form Id.
@@ -90,8 +93,103 @@
90 93 *
91 94 * @var string
92 95 */
93 96 public $paymentGateway;
97 +
98 + /**
99 + * Donation-related session objects.
100 + *
101 + * @since 3.18.0
102 + * @var FormEntry
103 + */
104 + public $formEntry;
105 +
106 + /**
107 + * Donor information.
108 + *
109 + * @since 3.18.0
110 + * @var DonorInfo
111 + */
112 + public $donorInfo;
113 +
114 + /**
115 + * Card information.
116 + *
117 + * @since 3.18.0
118 + * @var CardInfo
119 + */
120 + public $cardInfo;
121 +
122 + /**
123 + * Honeypot value to detect spam submissions.
124 + *
125 + * @var string|null
126 + */
127 + public $honeypot;
128 +
129 + /**
130 + * Form ID prefix.
131 + *
132 + * @var string|null
133 + */
134 + public $formIdPrefix;
135 +
136 + /**
137 + * Form URL.
138 + *
139 + * @var string|null
140 + */
141 + public $formUrl;
142 +
143 + /**
144 + * Minimum donation amount.
145 + *
146 + * @var float|null
147 + */
148 + public $formMinimum;
149 +
150 + /**
151 + * Maximum donation amount.
152 + *
153 + * @var float|null
154 + */
155 + public $formMaximum;
156 +
157 + /**
158 + * Form hash.
159 + *
160 + * @var string|null
161 + */
162 + public $formHash;
163 +
164 + /**
165 + * Payment mode.
166 + *
167 + * @var string|null
168 + */
169 + public $paymentMode;
170 +
171 + /**
172 + * Stripe Payment Method.
173 + *
174 + * @var string|null
175 + */
176 + public $stripePaymentMethod;
177 + /*
178 +
179 + /**
180 + * Constant Contact signup status.
181 + *
182 + * @var bool|null
183 + */
184 + public $constantContactSignup;
185 +
186 + /**
187 + * Action property.
188 + *
189 + * @var string|null
190 + */
191 + public $action;
94 192
95 193 /**
96 194 * Take array and return object.
97 195 *