From ecda38f9e6d9dd35401ca6d3acf244dbe36128da Mon Sep 17 00:00:00 2001 From: johnturnham Date: Fri, 9 Aug 2024 03:44:16 +0000 Subject: [PATCH] v2.1.600 --- docs/Model/WTAuthenticationRegister.md | 2 + lib/Model/WTAuthenticationRegister.php | 80 ++++++++++++++++++++++++-- 2 files changed, 76 insertions(+), 6 deletions(-) diff --git a/docs/Model/WTAuthenticationRegister.md b/docs/Model/WTAuthenticationRegister.md index c25cd71..3f5f2fc 100644 --- a/docs/Model/WTAuthenticationRegister.md +++ b/docs/Model/WTAuthenticationRegister.md @@ -24,5 +24,7 @@ Name | Type | Description | Notes **ga_measurement_id** | **string** | | [optional] **recaptcha_token** | **string** | | [optional] **affiliate_id** | **string** | | [optional] +**first_promoter_tracking_id** | **string** | | [optional] +**first_promoter_affiliate_id** | **string** | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/lib/Model/WTAuthenticationRegister.php b/lib/Model/WTAuthenticationRegister.php index 633977f..c817804 100644 --- a/lib/Model/WTAuthenticationRegister.php +++ b/lib/Model/WTAuthenticationRegister.php @@ -77,7 +77,9 @@ class WTAuthenticationRegister implements ModelInterface, ArrayAccess, \JsonSeri 'ga_client_id' => 'string', 'ga_measurement_id' => 'string', 'recaptcha_token' => 'string', - 'affiliate_id' => 'string' + 'affiliate_id' => 'string', + 'first_promoter_tracking_id' => 'string', + 'first_promoter_affiliate_id' => 'string' ]; /** @@ -107,7 +109,9 @@ class WTAuthenticationRegister implements ModelInterface, ArrayAccess, \JsonSeri 'ga_client_id' => null, 'ga_measurement_id' => null, 'recaptcha_token' => null, - 'affiliate_id' => null + 'affiliate_id' => null, + 'first_promoter_tracking_id' => null, + 'first_promoter_affiliate_id' => null ]; /** @@ -135,7 +139,9 @@ class WTAuthenticationRegister implements ModelInterface, ArrayAccess, \JsonSeri 'ga_client_id' => false, 'ga_measurement_id' => false, 'recaptcha_token' => false, - 'affiliate_id' => false + 'affiliate_id' => false, + 'first_promoter_tracking_id' => false, + 'first_promoter_affiliate_id' => false ]; /** @@ -243,7 +249,9 @@ public function isNullableSetToNull(string $property): bool 'ga_client_id' => 'ga_client_id', 'ga_measurement_id' => 'ga_measurement_id', 'recaptcha_token' => 'recaptcha_token', - 'affiliate_id' => 'affiliateID' + 'affiliate_id' => 'affiliateID', + 'first_promoter_tracking_id' => 'firstPromoterTrackingID', + 'first_promoter_affiliate_id' => 'firstPromoterAffiliateID' ]; /** @@ -271,7 +279,9 @@ public function isNullableSetToNull(string $property): bool 'ga_client_id' => 'setGaClientId', 'ga_measurement_id' => 'setGaMeasurementId', 'recaptcha_token' => 'setRecaptchaToken', - 'affiliate_id' => 'setAffiliateId' + 'affiliate_id' => 'setAffiliateId', + 'first_promoter_tracking_id' => 'setFirstPromoterTrackingId', + 'first_promoter_affiliate_id' => 'setFirstPromoterAffiliateId' ]; /** @@ -299,7 +309,9 @@ public function isNullableSetToNull(string $property): bool 'ga_client_id' => 'getGaClientId', 'ga_measurement_id' => 'getGaMeasurementId', 'recaptcha_token' => 'getRecaptchaToken', - 'affiliate_id' => 'getAffiliateId' + 'affiliate_id' => 'getAffiliateId', + 'first_promoter_tracking_id' => 'getFirstPromoterTrackingId', + 'first_promoter_affiliate_id' => 'getFirstPromoterAffiliateId' ]; /** @@ -379,6 +391,8 @@ public function __construct(array $data = null) $this->setIfExists('ga_measurement_id', $data ?? [], null); $this->setIfExists('recaptcha_token', $data ?? [], null); $this->setIfExists('affiliate_id', $data ?? [], null); + $this->setIfExists('first_promoter_tracking_id', $data ?? [], null); + $this->setIfExists('first_promoter_affiliate_id', $data ?? [], null); } /** @@ -1129,6 +1143,60 @@ public function setAffiliateId($affiliate_id) return $this; } + + /** + * Gets first_promoter_tracking_id + * + * @return string|null + */ + public function getFirstPromoterTrackingId() + { + return $this->container['first_promoter_tracking_id']; + } + + /** + * Sets first_promoter_tracking_id + * + * @param string|null $first_promoter_tracking_id first_promoter_tracking_id + * + * @return self + */ + public function setFirstPromoterTrackingId($first_promoter_tracking_id) + { + if (is_null($first_promoter_tracking_id)) { + throw new \InvalidArgumentException('non-nullable first_promoter_tracking_id cannot be null'); + } + $this->container['first_promoter_tracking_id'] = $first_promoter_tracking_id; + + return $this; + } + + /** + * Gets first_promoter_affiliate_id + * + * @return string|null + */ + public function getFirstPromoterAffiliateId() + { + return $this->container['first_promoter_affiliate_id']; + } + + /** + * Sets first_promoter_affiliate_id + * + * @param string|null $first_promoter_affiliate_id first_promoter_affiliate_id + * + * @return self + */ + public function setFirstPromoterAffiliateId($first_promoter_affiliate_id) + { + if (is_null($first_promoter_affiliate_id)) { + throw new \InvalidArgumentException('non-nullable first_promoter_affiliate_id cannot be null'); + } + $this->container['first_promoter_affiliate_id'] = $first_promoter_affiliate_id; + + return $this; + } /** * Returns true if offset exists. False otherwise. *