mirror of
https://github.com/Karaka-Management/Resources.git
synced 2026-01-10 21:08:41 +00:00
40 lines
667 B
PHP
40 lines
667 B
PHP
<?php
|
|
|
|
namespace PayPal\Api;
|
|
|
|
/**
|
|
* Class InvoiceAddress
|
|
*
|
|
* Base Address object used as billing address in a payment or extended for Shipping Address.
|
|
*
|
|
* @package PayPal\Api
|
|
*
|
|
* @property \PayPal\Api\Phone phone
|
|
*/
|
|
class InvoiceAddress extends BaseAddress
|
|
{
|
|
/**
|
|
* Phone number in E.123 format.
|
|
*
|
|
* @param \PayPal\Api\Phone $phone
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setPhone($phone)
|
|
{
|
|
$this->phone = $phone;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Phone number in E.123 format.
|
|
*
|
|
* @return \PayPal\Api\Phone
|
|
*/
|
|
public function getPhone()
|
|
{
|
|
return $this->phone;
|
|
}
|
|
|
|
}
|