d21d238cac280ace36fdbb75fb89d78a48e64b14
[WP-Plugins/glm-member-db.git] /
1 <?php
2 namespace PayPal\Api;
3
4 use PayPal\Common\PPModel;
5
6 class Payer extends PPModel {
7         /**
8          * Payment method being used - PayPal Wallet payment or Direct Credit card.
9          * @param string $payment_method
10          */
11         public function setPaymentMethod($payment_method) {
12                 $this->payment_method = $payment_method;
13                 return $this;
14         }
15
16         /**
17          * Payment method being used - PayPal Wallet payment or Direct Credit card.
18          * @return string
19          */
20         public function getPaymentMethod() {
21                 return $this->payment_method;
22         }
23
24         /**
25          * Payment method being used - PayPal Wallet payment or Direct Credit card.
26          * @param string $payment_method
27          * @deprecated. Instead use setPaymentMethod
28          */
29         public function setPayment_method($payment_method) {
30                 $this->payment_method = $payment_method;
31                 return $this;
32         }
33         /**
34          * Payment method being used - PayPal Wallet payment or Direct Credit card.
35          * @return string
36          * @deprecated. Instead use getPaymentMethod
37          */
38         public function getPayment_method() {
39                 return $this->payment_method;
40         }
41
42         /**
43          * List of funding instruments from where the funds of the current payment come from. Typically a credit card.
44          * @array
45          * @param PayPal\Api\FundingInstrument $funding_instruments
46          */
47         public function setFundingInstruments($funding_instruments) {
48                 $this->funding_instruments = $funding_instruments;
49                 return $this;
50         }
51
52         /**
53          * List of funding instruments from where the funds of the current payment come from. Typically a credit card.
54          * @return PayPal\Api\FundingInstrument
55          */
56         public function getFundingInstruments() {
57                 return $this->funding_instruments;
58         }
59
60         /**
61          * List of funding instruments from where the funds of the current payment come from. Typically a credit card.
62          * @array
63          * @param PayPal\Api\FundingInstrument $funding_instruments
64          * @deprecated. Instead use setFundingInstruments
65          */
66         public function setFunding_instruments($funding_instruments) {
67                 $this->funding_instruments = $funding_instruments;
68                 return $this;
69         }
70         /**
71          * List of funding instruments from where the funds of the current payment come from. Typically a credit card.
72          * @return PayPal\Api\FundingInstrument
73          * @deprecated. Instead use getFundingInstruments
74          */
75         public function getFunding_instruments() {
76                 return $this->funding_instruments;
77         }
78
79         /**
80          * Information related to the Payer. In case of PayPal Wallet payment, this information will be filled in by PayPal after the user approves the payment using their PayPal Wallet. 
81          * @param PayPal\Api\PayerInfo $payer_info
82          */
83         public function setPayerInfo($payer_info) {
84                 $this->payer_info = $payer_info;
85                 return $this;
86         }
87
88         /**
89          * Information related to the Payer. In case of PayPal Wallet payment, this information will be filled in by PayPal after the user approves the payment using their PayPal Wallet. 
90          * @return PayPal\Api\PayerInfo
91          */
92         public function getPayerInfo() {
93                 return $this->payer_info;
94         }
95
96         /**
97          * Information related to the Payer. In case of PayPal Wallet payment, this information will be filled in by PayPal after the user approves the payment using their PayPal Wallet. 
98          * @param PayPal\Api\PayerInfo $payer_info
99          * @deprecated. Instead use setPayerInfo
100          */
101         public function setPayer_info($payer_info) {
102                 $this->payer_info = $payer_info;
103                 return $this;
104         }
105         /**
106          * Information related to the Payer. In case of PayPal Wallet payment, this information will be filled in by PayPal after the user approves the payment using their PayPal Wallet. 
107          * @return PayPal\Api\PayerInfo
108          * @deprecated. Instead use getPayerInfo
109          */
110         public function getPayer_info() {
111                 return $this->payer_info;
112         }
113
114 }