Updated stubs to support namespace

This commit is contained in:
Ganesh Hegde
2013-05-29 14:37:22 +05:30
parent 479730d1c4
commit 50d2c56f8b
37 changed files with 530 additions and 324 deletions

View File

@@ -1,8 +1,9 @@
<?php
namespace PayPal\Api;
use PayPal\Common\PPModel;
class PayerInfo extends \PPModel {
class PayerInfo extends PPModel {
/**
* Email address representing the Payer.
* @param string $email
@@ -39,14 +40,18 @@ class PayerInfo extends \PPModel {
}
/**
* Deprecated method
* First Name of the Payer from their PayPal Account.
* @param string $first_name
* @deprecated. Instead use setFirstName
*/
public function setFirst_name($first_name) {
$this->first_name = $first_name;
return $this;
}
/**
* Deprecated method
* First Name of the Payer from their PayPal Account.
* @return string
* @deprecated. Instead use getFirstName
*/
public function getFirst_name() {
return $this->first_name;
@@ -70,14 +75,18 @@ class PayerInfo extends \PPModel {
}
/**
* Deprecated method
* Last Name of the Payer from their PayPal Account.
* @param string $last_name
* @deprecated. Instead use setLastName
*/
public function setLast_name($last_name) {
$this->last_name = $last_name;
return $this;
}
/**
* Deprecated method
* Last Name of the Payer from their PayPal Account.
* @return string
* @deprecated. Instead use getLastName
*/
public function getLast_name() {
return $this->last_name;
@@ -101,14 +110,18 @@ class PayerInfo extends \PPModel {
}
/**
* Deprecated method
* PayPal assigned Payer ID.
* @param string $payer_id
* @deprecated. Instead use setPayerId
*/
public function setPayer_id($payer_id) {
$this->payer_id = $payer_id;
return $this;
}
/**
* Deprecated method
* PayPal assigned Payer ID.
* @return string
* @deprecated. Instead use getPayerId
*/
public function getPayer_id() {
return $this->payer_id;
@@ -150,14 +163,18 @@ class PayerInfo extends \PPModel {
}
/**
* Deprecated method
* Shipping address of the Payer from their PayPal Account.
* @param PayPal\Api\Address $shipping_address
* @deprecated. Instead use setShippingAddress
*/
public function setShipping_address($shipping_address) {
$this->shipping_address = $shipping_address;
return $this;
}
/**
* Deprecated method
* Shipping address of the Payer from their PayPal Account.
* @return PayPal\Api\Address
* @deprecated. Instead use getShippingAddress
*/
public function getShipping_address() {
return $this->shipping_address;