3 declare(strict_types=1);
99 if (is_null($this->isPlatformClient)) {
101 $data = $this->
raw(self::FIELD_IS_PLATFORM_CLIENT);
102 if (is_null($data)) {
105 $this->isPlatformClient = (bool) $data;
120 if (is_null($this->
id)) {
122 $data = $this->
raw(self::FIELD_ID);
123 if (is_null($data)) {
126 $this->
id = (string) $data;
145 if (is_null($this->type)) {
147 $data = $this->
raw(self::FIELD_TYPE);
148 if (is_null($data)) {
151 $this->type = (string) $data;
166 if (is_null($this->clientId)) {
168 $data = $this->
raw(self::FIELD_CLIENT_ID);
169 if (is_null($data)) {
172 $this->clientId = (string) $data;
186 if (is_null($this->anonymousId)) {
188 $data = $this->
raw(self::FIELD_ANONYMOUS_ID);
189 if (is_null($data)) {
192 $this->anonymousId = (string) $data;
207 if (is_null($this->customer)) {
209 $data = $this->
raw(self::FIELD_CUSTOMER);
210 if (is_null($data)) {
228 if (is_null($this->associate)) {
230 $data = $this->
raw(self::FIELD_ASSOCIATE);
231 if (is_null($data)) {
__construct(?bool $isPlatformClient=null, ?string $id=null, ?string $type=null, ?string $clientId=null, ?string $anonymousId=null, ?Reference $customer=null, ?Reference $associate=null)
setCustomer(?Reference $customer)
setAssociate(?Reference $associate)
setAnonymousId(?string $anonymousId)
setClientId(?string $clientId)
setIsPlatformClient(?bool $isPlatformClient)