Cleaned up Code Comments and added Type-Hinting to all Class/Functions

This commit is contained in:
Sammie S. Taunton
2013-12-03 14:29:00 -06:00
parent caa71466fe
commit e63d28723e
30 changed files with 5686 additions and 3407 deletions

View File

@@ -1,42 +1,69 @@
<?php
namespace PayPal\Api;
use PayPal\Common\PPModel;
class ShippingAddress extends Address {
/**
* Name of the recipient at this address.
* @param string $recipient_name
*/
public function setRecipientName($recipient_name) {
$this->recipient_name = $recipient_name;
return $this;
}
/**
* Class ShippingAddress
*
* @property string recipient_name
*/
class ShippingAddress extends Address
{
/**
* Set Recipient Name
* Name of the recipient at this address
*
* @param string $recipient_name
*
* @return $this
*/
public function setRecipientName($recipient_name)
{
$this->recipient_name = $recipient_name;
/**
* Name of the recipient at this address.
* @return string
*/
public function getRecipientName() {
return $this->recipient_name;
}
return $this;
}
/**
* Name of the recipient at this address.
* @param string $recipient_name
* @deprecated. Instead use setRecipientName
*/
public function setRecipient_name($recipient_name) {
$this->recipient_name = $recipient_name;
return $this;
}
/**
* Name of the recipient at this address.
* @return string
* @deprecated. Instead use getRecipientName
*/
public function getRecipient_name() {
return $this->recipient_name;
}
/**
* Get Recipient Name
* Name of the recipient at this address
*
* @return string
*/
public function getRecipientName()
{
return $this->recipient_name;
}
/**
* Set Recipient Name
* Name of the recipient at this address
*
* @param string $recipient_name
*
* @deprecated Use setRecipientName
*
* @return $this
*/
public function setRecipient_name($recipient_name)
{
$this->recipient_name = $recipient_name;
return $this;
}
/**
* Get Recipient Name
* Name of the recipient at this address
*
* @deprecated Use getRecipientName
*
* @return string
*/
public function getRecipient_name()
{
return $this->recipient_name;
}
}