# storeengine/2.2.0/includes/classes/data/attribute-data.php

StoreEngine — Complete eCommerce Solution with Memberships, Licensing, Affiliates &amp; More, version 2.2.0. 30 lines.

- Page: https://pluginprobe.com/plugins/storeengine/2.2.0/code/includes/classes/data/attribute-data.php
- Raw: https://pluginprobe.com/plugins/storeengine/2.2.0/raw/includes/classes/data/attribute-data.php
- Modified: 2025-07-22T16:01:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/storeengine/2.2.0/code/includes/classes/data/attribute-data.php#L10-L20`.

```php
<?php

namespace StoreEngine\Classes\Data;

class AttributeData {

	public int $term_id;
	public int $term_taxonomy_id;
	public string $name;
	public string $slug;
	public string $description;
	public string $taxonomy;
	public int $count;
	public int $term_order;

	public function set_data( object $data ): self {
		$this->term_id          = (int) $data->term_id;
		$this->term_taxonomy_id = $data->term_taxonomy_id;
		$this->name             = $data->name;
		$this->slug             = $data->slug;
		$this->description      = $data->description;
		$this->taxonomy         = $data->taxonomy;
		$this->count            = (int) $data->count;
		$this->term_order       = (int) $data->term_order;

		return $this;
	}

}

```
