This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PayPal-PHP-SDK/tests/PayPal/Test/Common/ArrayClass.php
2015-01-08 22:51:21 -06:00

45 lines
709 B
PHP

<?php
namespace PayPal\Test\Common;
use PayPal\Common\PayPalModel;
class ArrayClass extends PayPalModel
{
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setTags($tags)
{
if (!is_array($tags)) {
$tags = array($tags);
}
$this->tags = $tags;
}
/**
* @return array
*/
public function getTags()
{
return $this->tags;
}
}