← All changes
|
src/DonationForms/DataTransferObjects/DonateControllerData.php
+7
-0
4.15.3
→
4.16.9
View file →
| @@ -127,10 +127,15 @@ | ||
| 127 | 127 | /** |
| 128 | 128 | * @var string|null |
| 129 | 129 | */ |
| 130 | 130 | public $comment; |
| 131 | + /** | |
| 132 | + * @var string|null | |
| 133 | + */ | |
| 134 | + public $levelId; | |
| 131 | 135 | |
| 132 | 136 | /** |
| 137 | + * @since 4.16.5 Added levelId property | |
| 133 | 138 | * @since 3.9.0 Added phone property |
| 134 | 139 | * @since 3.2.0 added honorific property |
| 135 | 140 | * @since 3.0.0 |
| 136 | 141 | */ |
| @@ -154,8 +159,9 @@ | ||
| 154 | 159 | 'company' => $this->company, |
| 155 | 160 | 'comment' => $this->comment, |
| 156 | 161 | 'type' => DonationType::SINGLE(), |
| 157 | 162 | 'billingAddress' => $this->getBillingAddress(), |
| 163 | + 'levelId' => $this->levelId, | |
| 158 | 164 | ]); |
| 159 | 165 | } |
| 160 | 166 | |
| 161 | 167 | /** |
| @@ -182,8 +188,9 @@ | ||
| 182 | 188 | 'comment' => $this->comment, |
| 183 | 189 | 'type' => DonationType::SUBSCRIPTION(), |
| 184 | 190 | 'subscriptionId' => $subscriptionId, |
| 185 | 191 | 'billingAddress' => $this->getBillingAddress(), |
| 192 | + 'levelId' => $this->levelId, | |
| 186 | 193 | ]); |
| 187 | 194 | } |
| 188 | 195 | |
| 189 | 196 | /** |