mirror of
https://github.com/Karaka-Management/Resources.git
synced 2026-01-10 21:08:41 +00:00
66 lines
1.1 KiB
PHP
66 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace PayPal\Api;
|
|
|
|
use PayPal\Common\PayPalModel;
|
|
|
|
/**
|
|
* Class AgreementStateDescriptor
|
|
*
|
|
* Description of the current state of the agreement.
|
|
*
|
|
* @package PayPal\Api
|
|
*
|
|
* @property string note
|
|
* @property \PayPal\Api\Currency amount
|
|
*/
|
|
class AgreementStateDescriptor extends PayPalModel
|
|
{
|
|
/**
|
|
* 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;
|
|
}
|
|
|
|
}
|