Cleaned up Code Comments and added Type-Hinting to all Class/Functions closes #42

This commit is contained in:
Avi Das
2014-05-01 12:34:33 -05:00
30 changed files with 5670 additions and 3932 deletions

View File

@@ -1,28 +1,38 @@
<?php
namespace PayPal\Api;
use PayPal\Common\PPModel;
use PayPal\Rest\ApiContext;
class Transactions extends PPModel {
/**
* Amount being collected.
*
* @param PayPal\Api\Amount $amount
*/
public function setAmount($amount) {
$this->amount = $amount;
return $this;
}
/**
* Amount being collected.
*
* @return PayPal\Api\Amount
*/
public function getAmount() {
return $this->amount;
}
/**
* Class Transactions
*
* @property \PayPal\Api\Amount amount
*/
class Transactions extends PPModel
{
/**
* Set Amount
*
* @param \PayPal\Api\Amount $amount
*
* @return $this
*/
public function setAmount($amount)
{
$this->amount = $amount;
return $this;
}
/**
* Get Amount
*
* @return \PayPal\Api\Amount
*/
public function getAmount()
{
return $this->amount;
}
}