Skip to content

Commit

Permalink
v2.1.600
Browse files Browse the repository at this point in the history
  • Loading branch information
johnturnham committed Aug 9, 2024
1 parent ac6a7c5 commit 196c086
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/Model/WTAuthenticationRegister.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ Name | Type | Description | Notes
**ga_client_id** | **string** | | [optional]
**ga_measurement_id** | **string** | | [optional]
**recaptcha_token** | **string** | | [optional]
**affiliate_id** | **string** | | [optional]

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
46 changes: 40 additions & 6 deletions lib/Model/WTAuthenticationRegister.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ class WTAuthenticationRegister implements ModelInterface, ArrayAccess, \JsonSeri
'ein' => 'string',
'ga_client_id' => 'string',
'ga_measurement_id' => 'string',
'recaptcha_token' => 'string'
'recaptcha_token' => 'string',
'affiliate_id' => 'string'
];

/**
Expand Down Expand Up @@ -105,7 +106,8 @@ class WTAuthenticationRegister implements ModelInterface, ArrayAccess, \JsonSeri
'ein' => null,
'ga_client_id' => null,
'ga_measurement_id' => null,
'recaptcha_token' => null
'recaptcha_token' => null,
'affiliate_id' => null
];

/**
Expand All @@ -132,7 +134,8 @@ class WTAuthenticationRegister implements ModelInterface, ArrayAccess, \JsonSeri
'ein' => false,
'ga_client_id' => false,
'ga_measurement_id' => false,
'recaptcha_token' => false
'recaptcha_token' => false,
'affiliate_id' => false
];

/**
Expand Down Expand Up @@ -239,7 +242,8 @@ public function isNullableSetToNull(string $property): bool
'ein' => 'ein',
'ga_client_id' => 'ga_client_id',
'ga_measurement_id' => 'ga_measurement_id',
'recaptcha_token' => 'recaptcha_token'
'recaptcha_token' => 'recaptcha_token',
'affiliate_id' => 'affiliateID'
];

/**
Expand All @@ -266,7 +270,8 @@ public function isNullableSetToNull(string $property): bool
'ein' => 'setEin',
'ga_client_id' => 'setGaClientId',
'ga_measurement_id' => 'setGaMeasurementId',
'recaptcha_token' => 'setRecaptchaToken'
'recaptcha_token' => 'setRecaptchaToken',
'affiliate_id' => 'setAffiliateId'
];

/**
Expand All @@ -293,7 +298,8 @@ public function isNullableSetToNull(string $property): bool
'ein' => 'getEin',
'ga_client_id' => 'getGaClientId',
'ga_measurement_id' => 'getGaMeasurementId',
'recaptcha_token' => 'getRecaptchaToken'
'recaptcha_token' => 'getRecaptchaToken',
'affiliate_id' => 'getAffiliateId'
];

/**
Expand Down Expand Up @@ -372,6 +378,7 @@ public function __construct(array $data = null)
$this->setIfExists('ga_client_id', $data ?? [], null);
$this->setIfExists('ga_measurement_id', $data ?? [], null);
$this->setIfExists('recaptcha_token', $data ?? [], null);
$this->setIfExists('affiliate_id', $data ?? [], null);
}

/**
Expand Down Expand Up @@ -1095,6 +1102,33 @@ public function setRecaptchaToken($recaptcha_token)

return $this;
}

/**
* Gets affiliate_id
*
* @return string|null
*/
public function getAffiliateId()
{
return $this->container['affiliate_id'];
}

/**
* Sets affiliate_id
*
* @param string|null $affiliate_id affiliate_id
*
* @return self
*/
public function setAffiliateId($affiliate_id)
{
if (is_null($affiliate_id)) {
throw new \InvalidArgumentException('non-nullable affiliate_id cannot be null');
}
$this->container['affiliate_id'] = $affiliate_id;

return $this;
}
/**
* Returns true if offset exists. False otherwise.
*
Expand Down

0 comments on commit 196c086

Please sign in to comment.