← All changes
|
src/Subscriptions/DataTransferObjects/SubscriptionQueryData.php
+0
-6
4.16.5.1
→
3.19.4
View file →
| @@ -12,9 +12,8 @@ | ||
| 12 | 12 | |
| 13 | 13 | /** |
| 14 | 14 | * Class SubscriptionObjectData |
| 15 | 15 | * |
| 16 | - * @since 4.11.0 add campaign_id prop | |
| 17 | 16 | * @since 2.19.6 |
| 18 | 17 | */ |
| 19 | 18 | final class SubscriptionQueryData |
| 20 | 19 | { |
| @@ -77,12 +76,8 @@ | ||
| 77 | 76 | /** |
| 78 | 77 | * @var int |
| 79 | 78 | */ |
| 80 | 79 | public $donationFormId; |
| 81 | - /** | |
| 82 | - * @var int | |
| 83 | - */ | |
| 84 | - public $campaignId; | |
| 85 | 80 | |
| 86 | 81 | /** |
| 87 | 82 | * Convert data from Subscription Object to Subscription Model |
| 88 | 83 | * |
| @@ -109,9 +104,8 @@ | ||
| 109 | 104 | $self->status = new SubscriptionStatus($subscriptionQueryObject->status); |
| 110 | 105 | $self->gatewayId = $subscriptionQueryObject->gatewayId; |
| 111 | 106 | $self->gatewaySubscriptionId = $subscriptionQueryObject->gatewaySubscriptionId; |
| 112 | 107 | $self->donationFormId = (int)$subscriptionQueryObject->donationFormId; |
| 113 | - $self->campaignId = (int)$subscriptionQueryObject->campaignId; | |
| 114 | 108 | |
| 115 | 109 | return $self; |
| 116 | 110 | } |
| 117 | 111 | |