1 <?php
2
3 namespace PayPal\Api;
4
5 use PayPal\Common\PayPalModel;
6
7 /**
8 * Class AgreementStateDescriptor
9 *
10 * Description of the current state of the agreement.
11 *
12 * @package PayPal\Api
13 *
14 * @property string note
15 * @property \PayPal\Api\Currency amount
16 */
17 class AgreementStateDescriptor extends PayPalModel
18 {
19 /**
20 * Reason for changing the state of the agreement.
21 *
22 * @param string $note
23 *
24 * @return $this
25 */
26 public function setNote($note)
27 {
28 $this->note = $note;
29 return $this;
30 }
31
32 /**
33 * Reason for changing the state of the agreement.
34 *
35 * @return string
36 */
37 public function getNote()
38 {
39 return $this->note;
40 }
41
42 /**
43 * The amount and currency of the agreement.
44 *
45 * @param \PayPal\Api\Currency $amount
46 *
47 * @return $this
48 */
49 public function setAmount($amount)
50 {
51 $this->amount = $amount;
52 return $this;
53 }
54
55 /**
56 * The amount and currency of the agreement.
57 *
58 * @return \PayPal\Api\Currency
59 */
60 public function getAmount()
61 {
62 return $this->amount;
63 }
64
65 }
66