This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PayPal-PHP-SDK/lib/PayPal/Api/PaymentExecution.php
2013-05-29 14:37:22 +05:30

62 lines
1.4 KiB
PHP

<?php
namespace PayPal\Api;
use PayPal\Common\PPModel;
class PaymentExecution extends PPModel {
/**
* PayPal assigned Payer ID returned in the approval return url.
* @param string $payer_id
*/
public function setPayerId($payer_id) {
$this->payer_id = $payer_id;
return $this;
}
/**
* PayPal assigned Payer ID returned in the approval return url.
* @return string
*/
public function getPayerId() {
return $this->payer_id;
}
/**
* PayPal assigned Payer ID returned in the approval return url.
* @param string $payer_id
* @deprecated. Instead use setPayerId
*/
public function setPayer_id($payer_id) {
$this->payer_id = $payer_id;
return $this;
}
/**
* PayPal assigned Payer ID returned in the approval return url.
* @return string
* @deprecated. Instead use getPayerId
*/
public function getPayer_id() {
return $this->payer_id;
}
/**
* If the amount needs to be updated after obtaining the PayPal Payer info (eg. shipping address), it can be updated using this element.
* @array
* @param PayPal\Api\Transactions $transactions
*/
public function setTransactions($transactions) {
$this->transactions = $transactions;
return $this;
}
/**
* If the amount needs to be updated after obtaining the PayPal Payer info (eg. shipping address), it can be updated using this element.
* @return PayPal\Api\Transactions
*/
public function getTransactions() {
return $this->transactions;
}
}