Enabled EC Parameters support

- Updated Api to enabled EC Parameters
- Updated Tests
- Updated Logging Manager
- Added a feature to do validation on accessors.
This commit is contained in:
japatel
2014-10-09 11:30:12 -05:00
parent 459293838e
commit 61a52e4623
99 changed files with 9148 additions and 3609 deletions

View File

@@ -8,33 +8,37 @@ use PayPal\Rest\ApiContext;
/**
* Class HyperSchema
*
*
*
* @package PayPal\Api
*
* @property \PayPal\Api\Links links
* @property string fragmentResolution
* @property bool readonly
* @property string contentEncoding
* @property string pathStart
* @property string mediaType
* @property string fragmentResolution
* @property bool readonly
* @property string contentEncoding
* @property string pathStart
* @property string mediaType
*/
class HyperSchema extends PPModel
{
/**
* Set Links
* Sets Links
*
*
* @param \PayPal\Api\Links $links
*
*
* @return $this
*/
public function setLinks($links)
{
$this->links = $links;
return $this;
}
/**
* Get Links
* Gets Links
*
* @return \PayPal\Api\Links
* @return \PayPal\Api\Links[]
*/
public function getLinks()
{
@@ -42,21 +46,21 @@ class HyperSchema extends PPModel
}
/**
* Set Fragment Resolution
* Sets FragmentResolution
*
*
* @param string $fragmentResolution
*
*
* @return $this
*/
public function setFragmentResolution($fragmentResolution)
{
$this->fragmentResolution = $fragmentResolution;
return $this;
}
/**
* Get Fragment Resolution
* Gets FragmentResolution
*
* @return string
*/
@@ -66,21 +70,21 @@ class HyperSchema extends PPModel
}
/**
* Set Read Only
* Sets Readonly
*
*
* @param bool $readonly
*
*
* @return $this
*/
public function setReadonly($readonly)
{
$this->readonly = $readonly;
return $this;
}
/**
* Get Read Only
* Gets Readonly
*
* @return bool
*/
@@ -90,21 +94,21 @@ class HyperSchema extends PPModel
}
/**
* Set Content Encoding
* Sets ContentEncoding
*
*
* @param string $contentEncoding
*
*
* @return $this
*/
public function setContentEncoding($contentEncoding)
{
$this->contentEncoding = $contentEncoding;
return $this;
}
/**
* Get Content Encoding
* Gets ContentEncoding
*
* @return string
*/
@@ -114,21 +118,21 @@ class HyperSchema extends PPModel
}
/**
* Set Path Start
* Sets PathStart
*
*
* @param string $pathStart
*
*
* @return $this
*/
public function setPathStart($pathStart)
{
$this->pathStart = $pathStart;
return $this;
}
/**
* Get Path Start
* Gets PathStart
*
* @return string
*/
@@ -138,21 +142,21 @@ class HyperSchema extends PPModel
}
/**
* Set Media Type
* Sets MediaType
*
*
* @param string $mediaType
*
*
* @return $this
*/
public function setMediaType($mediaType)
{
$this->mediaType = $mediaType;
return $this;
}
/**
* Get Media Type
* Gets MediaType
*
* @return string
*/
@@ -160,4 +164,5 @@ class HyperSchema extends PPModel
{
return $this->mediaType;
}
}