Correct shipping address set/get docs

The document comments actually power what classes are instantiated when parsing the API responses
This commit is contained in:
Mike Tramontano
2014-07-09 14:18:32 -04:00
parent 100c5f17b1
commit 9a46b27e44

View File

@@ -241,7 +241,7 @@ class PayerInfo extends PPModel
* Set Shipping Address * Set Shipping Address
* Shipping address of the Payer from their PayPal Account * Shipping address of the Payer from their PayPal Account
* *
* @param \PayPal\Api\Address $shipping_address * @param \PayPal\Api\ShippingAddress $shipping_address
* *
* @return $this * @return $this
*/ */
@@ -256,7 +256,7 @@ class PayerInfo extends PPModel
* Get Shipping Address * Get Shipping Address
* Shipping address of the Payer from their PayPal Account * Shipping address of the Payer from their PayPal Account
* *
* @return \PayPal\Api\Address * @return \PayPal\Api\ShippingAddress
*/ */
public function getShippingAddress() public function getShippingAddress()
{ {
@@ -267,7 +267,7 @@ class PayerInfo extends PPModel
* Set Shipping Address * Set Shipping Address
* Shipping address of the Payer from their PayPal Account * Shipping address of the Payer from their PayPal Account
* *
* @param \PayPal\Api\Address $shipping_address * @param \PayPal\Api\ShippingAddress $shipping_address
* *
* @deprecated Use setShippingAddress * @deprecated Use setShippingAddress
* *
@@ -286,7 +286,7 @@ class PayerInfo extends PPModel
* *
* @deprecated Use getShippingAddress * @deprecated Use getShippingAddress
* *
* @return \PayPal\Api\Address * @return \PayPal\Api\ShippingAddress
*/ */
public function getShipping_address() public function getShipping_address()
{ {