type = new TicketAttributeType(); $this->value = new TicketAttributeValue(); } /** * Get id * * @return int * * @since 1.0.0 */ public function getId() : int { return $this->id; } /** * {@inheritdoc} */ public function toArray() : array { return [ 'id' => $this->id, 'ticket' => $this->ticket, 'type' => $this->type, 'value' => $this->value, ]; } /** * {@inheritdoc} */ public function jsonSerialize() { return $this->toArray(); } }