This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PayPal-PHP-SDK/lib/PayPal/Api/Address.php
japatel 24e0609e5b Fixing Invoice Phone Attribute
- Also updated the Update Invoice Sample
2014-11-20 17:07:12 -06:00

42 lines
649 B
PHP

<?php
namespace PayPal\Api;
use PayPal\Common\PPModel;
/**
* Class Address
*
* Base Address object used as billing address in a payment or extended for Shipping Address.
*
* @package PayPal\Api
*
* @property string phone
*/
class Address extends BaseAddress
{
/**
* Phone number in E.123 format.
*
* @param string $phone
*
* @return $this
*/
public function setPhone($phone)
{
$this->phone = $phone;
return $this;
}
/**
* Phone number in E.123 format.
*
* @return string
*/
public function getPhone()
{
return $this->phone;
}
}