Update Payouts to v1.2

This commit is contained in:
sdcoffey
2016-10-13 11:04:49 -07:00
parent 3f98d9f182
commit 0f3a5e6548
12 changed files with 177 additions and 153 deletions

View File

@@ -24,7 +24,7 @@ class Error extends PayPalModel
* Human readable, unique name of the error.
*
* @param string $name
*
*
* @return $this
*/
public function setName($name)
@@ -68,29 +68,6 @@ class Error extends PayPalModel
return $this->purchase_unit_reference_id;
}
/**
* Message describing the error.
*
* @param string $message
*
* @return $this
*/
public function setMessage($message)
{
$this->message = $message;
return $this;
}
/**
* Message describing the error.
*
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* PayPal internal error code.
*
@@ -116,11 +93,80 @@ class Error extends PayPalModel
return $this->code;
}
/**
* PayPal internal identifier used for correlation purposes.
*
* @param string $debug_id
*
* @return $this
*/
public function setDebugId($debug_id)
{
$this->debug_id = $debug_id;
return $this;
}
/**
* PayPal internal identifier used for correlation purposes.
*
* @return string
*/
public function getDebugId()
{
return $this->debug_id;
}
/**
* Message describing the error.
*
* @param string $message
*
* @return $this
*/
public function setMessage($message)
{
$this->message = $message;
return $this;
}
/**
* Message describing the error.
*
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* URI for detailed information related to this error for the developer.
*
* @param string $information_link
*
* @return $this
*/
public function setInformationLink($information_link)
{
$this->information_link = $information_link;
return $this;
}
/**
* URI for detailed information related to this error for the developer.
*
* @return string
*/
public function getInformationLink()
{
return $this->information_link;
}
/**
* Additional details of the error
*
* @param \PayPal\Api\ErrorDetails[] $details
*
*
* @return $this
*/
public function setDetails($details)
@@ -219,52 +265,6 @@ class Error extends PayPalModel
return $this->fmf_details;
}
/**
* URI for detailed information related to this error for the developer.
*
* @param string $information_link
*
* @return $this
*/
public function setInformationLink($information_link)
{
$this->information_link = $information_link;
return $this;
}
/**
* URI for detailed information related to this error for the developer.
*
* @return string
*/
public function getInformationLink()
{
return $this->information_link;
}
/**
* PayPal internal identifier used for correlation purposes.
*
* @param string $debug_id
*
* @return $this
*/
public function setDebugId($debug_id)
{
$this->debug_id = $debug_id;
return $this;
}
/**
* PayPal internal identifier used for correlation purposes.
*
* @return string
*/
public function getDebugId()
{
return $this->debug_id;
}
/**
* Sets Links
*
@@ -317,5 +317,4 @@ class Error extends PayPalModel
array_diff($this->getLinks(), array($links))
);
}
}