4 use PayPal\Common\PPModel;
6 class Payer extends PPModel {
8 * Payment method being used - PayPal Wallet payment or Direct Credit card.
9 * @param string $payment_method
11 public function setPaymentMethod($payment_method) {
12 $this->payment_method = $payment_method;
17 * Payment method being used - PayPal Wallet payment or Direct Credit card.
20 public function getPaymentMethod() {
21 return $this->payment_method;
25 * Payment method being used - PayPal Wallet payment or Direct Credit card.
26 * @param string $payment_method
27 * @deprecated. Instead use setPaymentMethod
29 public function setPayment_method($payment_method) {
30 $this->payment_method = $payment_method;
34 * Payment method being used - PayPal Wallet payment or Direct Credit card.
36 * @deprecated. Instead use getPaymentMethod
38 public function getPayment_method() {
39 return $this->payment_method;
43 * List of funding instruments from where the funds of the current payment come from. Typically a credit card.
45 * @param PayPal\Api\FundingInstrument $funding_instruments
47 public function setFundingInstruments($funding_instruments) {
48 $this->funding_instruments = $funding_instruments;
53 * List of funding instruments from where the funds of the current payment come from. Typically a credit card.
54 * @return PayPal\Api\FundingInstrument
56 public function getFundingInstruments() {
57 return $this->funding_instruments;
61 * List of funding instruments from where the funds of the current payment come from. Typically a credit card.
63 * @param PayPal\Api\FundingInstrument $funding_instruments
64 * @deprecated. Instead use setFundingInstruments
66 public function setFunding_instruments($funding_instruments) {
67 $this->funding_instruments = $funding_instruments;
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
75 public function getFunding_instruments() {
76 return $this->funding_instruments;
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
83 public function setPayerInfo($payer_info) {
84 $this->payer_info = $payer_info;
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
92 public function getPayerInfo() {
93 return $this->payer_info;
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
101 public function setPayer_info($payer_info) {
102 $this->payer_info = $payer_info;
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
110 public function getPayer_info() {
111 return $this->payer_info;