updating stubs to have fluent setters and retaining deprecated methods

This commit is contained in:
Ganesh Hegde
2013-05-28 10:15:29 +05:30
parent 50b09bdbde
commit 86643ec2df
26 changed files with 1388 additions and 404 deletions

View File

@@ -9,8 +9,9 @@ class Payee extends \PPModel {
*/
public function setEmail($email) {
$this->email = $email;
}
return $this;
}
/**
* Email Address associated with the Payee's PayPal Account. If the provided email address is not associated with any PayPal Account, the payee can only receiver PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
* @return string
@@ -18,15 +19,17 @@ class Payee extends \PPModel {
public function getEmail() {
return $this->email;
}
/**
* Encrypted PayPal Account identifier for the Payee.
* @param string $merchant_id
*/
public function setMerchantId($merchant_id) {
$this->merchant_id = $merchant_id;
}
return $this;
}
/**
* Encrypted PayPal Account identifier for the Payee.
* @return string
@@ -34,15 +37,30 @@ class Payee extends \PPModel {
public function getMerchantId() {
return $this->merchant_id;
}
/**
* Deprecated method
*/
public function setMerchant_id($merchant_id) {
$this->merchant_id = $merchant_id;
return $this;
}
/**
* Deprecated method
*/
public function getMerchant_id() {
return $this->merchant_id;
}
/**
* Phone number (in E.123 format) associated with the Payee's PayPal Account. If the provided phont number is not associated with any PayPal Account, the payee can only receiver PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
* @param string $phone
*/
public function setPhone($phone) {
$this->phone = $phone;
}
return $this;
}
/**
* Phone number (in E.123 format) associated with the Payee's PayPal Account. If the provided phont number is not associated with any PayPal Account, the payee can only receiver PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
* @return string
@@ -50,5 +68,6 @@ class Payee extends \PPModel {
public function getPhone() {
return $this->phone;
}
}