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 ShippingAddress extends Address {
*/
public function setRecipientName($recipient_name) {
$this->recipient_name = $recipient_name;
}
return $this;
}
/**
* Name of the recipient at this address.
* @return string
@@ -18,5 +19,19 @@ class ShippingAddress extends Address {
public function getRecipientName() {
return $this->recipient_name;
}
/**
* Deprecated method
*/
public function setRecipient_name($recipient_name) {
$this->recipient_name = $recipient_name;
return $this;
}
/**
* Deprecated method
*/
public function getRecipient_name() {
return $this->recipient_name;
}
}