1 <?php
2
3 namespace PayPal\Api;
4
5 use PayPal\Common\PayPalModel;
6
7 /**
8 * Class PaymentSummary
9 *
10 * Payment/Refund break up
11 *
12 * @package PayPal\Api
13 *
14 * @property \PayPal\Api\Currency paypal
15 * @property \PayPal\Api\Currency other
16 */
17 class PaymentSummary extends PayPalModel
18 {
19 /**
20 * Total Amount paid/refunded via PayPal.
21 *
22 * @param \PayPal\Api\Currency $paypal
23 *
24 * @return $this
25 */
26 public function setPaypal($paypal)
27 {
28 $this->paypal = $paypal;
29 return $this;
30 }
31
32 /**
33 * Total Amount paid/refunded via PayPal.
34 *
35 * @return \PayPal\Api\Currency
36 */
37 public function getPaypal()
38 {
39 return $this->paypal;
40 }
41
42 /**
43 * Total Amount paid/refunded via other sources.
44 *
45 * @param \PayPal\Api\Currency $other
46 *
47 * @return $this
48 */
49 public function setOther($other)
50 {
51 $this->other = $other;
52 return $this;
53 }
54
55 /**
56 * Total Amount paid/refunded via other sources.
57 *
58 * @return \PayPal\Api\Currency
59 */
60 public function getOther()
61 {
62 return $this->other;
63 }
64
65 }
66