1 <?php
2
3 namespace PayPal\Api;
4
5 /**
6 * Class InvoiceAddress
7 *
8 * Base Address object used as billing address in a payment or extended for Shipping Address.
9 *
10 * @package PayPal\Api
11 *
12 * @property \PayPal\Api\Phone phone
13 */
14 class InvoiceAddress extends BaseAddress
15 {
16 /**
17 * Phone number in E.123 format.
18 *
19 * @param \PayPal\Api\Phone $phone
20 *
21 * @return $this
22 */
23 public function setPhone($phone)
24 {
25 $this->phone = $phone;
26 return $this;
27 }
28
29 /**
30 * Phone number in E.123 format.
31 *
32 * @return \PayPal\Api\Phone
33 */
34 public function getPhone()
35 {
36 return $this->phone;
37 }
38
39 }
40