Location: PHPKode > scripts > PayPal PHP SDK > rest-api-sdk-php-0.7.0/tests/PayPal/Test/Common/ArrayClass.php
<?php
namespace PayPal\Test\Common;
use PayPal\Common\PPModel;
class ArrayClass extends PPModel {

	public function setName($name) {
		$this->name = $name;
	}
	public function getName() {
		return $this->name;
	}

	public function setDescription($desc) {
		$this->desc = $desc;
	}
	public function getDescription() {
		return $this->desc;
	}
	
	public function setTags($tags) {
		if(!is_array($tags)) {
			$tags = array($tags);
		}
		$this->tags = $tags;
	}
	public function getTags() {
		return $this->tags;
	}
}
Return current item: PayPal PHP SDK