From bca7fe72681d46f7d6d83f6ba3b83e9ba74d74d6 Mon Sep 17 00:00:00 2001 From: siddick Date: Wed, 23 Apr 2014 17:34:59 +0530 Subject: [PATCH] Added phone attribute --- lib/PayPal/Api/ShippingInfo.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/lib/PayPal/Api/ShippingInfo.php b/lib/PayPal/Api/ShippingInfo.php index df95dfb..267816d 100644 --- a/lib/PayPal/Api/ShippingInfo.php +++ b/lib/PayPal/Api/ShippingInfo.php @@ -122,6 +122,26 @@ class ShippingInfo extends PPModel { return $this->business_name; } + /** + * + * + * @param PayPal\Api\Phone $phone + */ + public function setPhone($phone) { + $this->phone = $phone; + return $this; + } + + /** + * + * + * @return PayPal\Api\Phone + */ + public function getPhone() { + return $this->phone; + } + + /** * Address of the invoice recipient. *