$this->account_type, 'account_id' => $this->account_id, 'user' => $this->account_type === 'user' && $this->user ? $this->actor($this->user) : null, 'delta' => $this->delta, 'kind' => $this->kind, 'bucket' => $this->bucket, 'source' => $this->source, 'ref' => $this->ref, 'day' => $this->day->toDateString(), 'policy_version' => (int) $this->policy_version, 'client_ip' => $this->client_ip, 'note' => $this->note, 'operator' => $this->operator ? $this->actor($this->operator) : null, 'created_at' => $this->created_at->toIso8601ZuluString(), 'updated_at' => $this->updated_at->toIso8601ZuluString(), ]; } }