forked from LiveCarta/PayPal-PHP-SDK
- Updated OpenId classes to be in API namespace - Updated PP Naming Convention to PayPal Naming Convention - FormatConverter Class got its own namespace - Handlers are grouped in Handler namespace - Samples and Tests Updated Accordingly
42 lines
672 B
PHP
42 lines
672 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;
|
|
}
|
|
|
|
public function getTags()
|
|
{
|
|
return $this->tags;
|
|
}
|
|
}
|