b7048ebf84820e23f377a5beda2ca503fed63c42
[WP-Plugins/glm-member-db.git] /
1 <?php
2 namespace PayPal\Api;
3
4 use PayPal\Common\PPModel;
5
6 class PaymentExecution extends PPModel {
7         /**
8          * PayPal assigned Payer ID returned in the approval return url.
9          * @param string $payer_id
10          */
11         public function setPayerId($payer_id) {
12                 $this->payer_id = $payer_id;
13                 return $this;
14         }
15
16         /**
17          * PayPal assigned Payer ID returned in the approval return url.
18          * @return string
19          */
20         public function getPayerId() {
21                 return $this->payer_id;
22         }
23
24         /**
25          * PayPal assigned Payer ID returned in the approval return url.
26          * @param string $payer_id
27          * @deprecated. Instead use setPayerId
28          */
29         public function setPayer_id($payer_id) {
30                 $this->payer_id = $payer_id;
31                 return $this;
32         }
33         /**
34          * PayPal assigned Payer ID returned in the approval return url.
35          * @return string
36          * @deprecated. Instead use getPayerId
37          */
38         public function getPayer_id() {
39                 return $this->payer_id;
40         }
41
42         /**
43          * If the amount needs to be updated after obtaining the PayPal Payer info (eg. shipping address), it can be updated using this element.
44          * @array
45          * @param PayPal\Api\Transactions $transactions
46          */
47         public function setTransactions($transactions) {
48                 $this->transactions = $transactions;
49                 return $this;
50         }
51
52         /**
53          * If the amount needs to be updated after obtaining the PayPal Payer info (eg. shipping address), it can be updated using this element.
54          * @return PayPal\Api\Transactions
55          */
56         public function getTransactions() {
57                 return $this->transactions;
58         }
59
60
61 }