First Update on Invoicing APIs

This commit is contained in:
japatel
2014-11-18 12:12:35 -06:00
parent f0ccc950ad
commit e6fb968509
25 changed files with 2729 additions and 552 deletions

View File

@@ -1,15 +1,27 @@
<?php
namespace PayPal\Api;
use PayPal\Common\PPModel;
use PayPal\Rest\ApiContext;
/**
* Class ErrorDetails
*
* Details about a specific error.
*
* @package PayPal\Api
*
* @property string field
* @property string issue
*/
class ErrorDetails extends PPModel
{
/**
* Name of the field that caused the error.
*
* @param string $field
*
* @return $this
*/
public function setField($field)
{
@@ -27,11 +39,12 @@ class ErrorDetails extends PPModel
return $this->field;
}
/**
* Reason for the error.
*
* @param string $issue
*
* @return $this
*/
public function setIssue($issue)
{
@@ -49,5 +62,4 @@ class ErrorDetails extends PPModel
return $this->issue;
}
}