7e97776cd467b56490063acd55bfaaf172c0f427
[WP-Plugins/glm-member-db-registrations.git] /
1 <?php
2 namespace PayPal\Api;
3
4 use PayPal\Common\PPModel;
5
6 class RelatedResources extends PPModel {
7         /**
8          * A sale transaction
9          * @param PayPal\Api\Sale $sale
10          */
11         public function setSale($sale) {
12                 $this->sale = $sale;
13                 return $this;
14         }
15
16         /**
17          * A sale transaction
18          * @return PayPal\Api\Sale
19          */
20         public function getSale() {
21                 return $this->sale;
22         }
23
24
25         /**
26          * An authorization transaction
27          * @param PayPal\Api\Authorization $authorization
28          */
29         public function setAuthorization($authorization) {
30                 $this->authorization = $authorization;
31                 return $this;
32         }
33
34         /**
35          * An authorization transaction
36          * @return PayPal\Api\Authorization
37          */
38         public function getAuthorization() {
39                 return $this->authorization;
40         }
41
42
43         /**
44          * A capture transaction
45          * @param PayPal\Api\Capture $capture
46          */
47         public function setCapture($capture) {
48                 $this->capture = $capture;
49                 return $this;
50         }
51
52         /**
53          * A capture transaction
54          * @return PayPal\Api\Capture
55          */
56         public function getCapture() {
57                 return $this->capture;
58         }
59
60
61         /**
62          * A refund transaction
63          * @param PayPal\Api\Refund $refund
64          */
65         public function setRefund($refund) {
66                 $this->refund = $refund;
67                 return $this;
68         }
69
70         /**
71          * A refund transaction
72          * @return PayPal\Api\Refund
73          */
74         public function getRefund() {
75                 return $this->refund;
76         }
77
78
79 }