Enabled Billing Plans and Agreements APIs

- Added API Classes, Samples, and Tests
- Updated Functional Tests
- Updated Documentation with new SDK Name
- Updated Few Samples to use newer nicer result page
This commit is contained in:
japatel
2014-10-31 10:16:13 -05:00
parent f55fd3d984
commit 4d481ad104
192 changed files with 13310 additions and 1045 deletions

View File

@@ -0,0 +1,65 @@
<?php
namespace PayPal\Api;
use PayPal\Common\PPModel;
/**
* Class AgreementStateDescriptor
*
* Description of the current state of the agreement.
*
* @package PayPal\Api
*
* @property string note
* @property \PayPal\Api\Currency amount
*/
class AgreementStateDescriptor extends PPModel
{
/**
* Reason for changing the state of the agreement.
*
* @param string $note
*
* @return $this
*/
public function setNote($note)
{
$this->note = $note;
return $this;
}
/**
* Reason for changing the state of the agreement.
*
* @return string
*/
public function getNote()
{
return $this->note;
}
/**
* The amount and currency of the agreement.
*
* @param \PayPal\Api\Currency $amount
*
* @return $this
*/
public function setAmount($amount)
{
$this->amount = $amount;
return $this;
}
/**
* The amount and currency of the agreement.
*
* @return \PayPal\Api\Currency
*/
public function getAmount()
{
return $this->amount;
}
}