PHP Class PayPal\Api\Address

Inheritance: extends Resource
Show file Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
getPhone ( ) : string Phone number in E.123 format. 50 characters max.
getType ( ) : string Type of address (e.g., HOME_OR_WORK, GIFT etc).
setPhone ( string $phone ) Phone number in E.123 format. 50 characters max.
setType ( string $type ) Type of address (e.g., HOME_OR_WORK, GIFT etc).

Method Details

getPhone() public method

Phone number in E.123 format. 50 characters max.
public getPhone ( ) : string
return string

getType() public method

Type of address (e.g., HOME_OR_WORK, GIFT etc).
public getType ( ) : string
return string

setPhone() public method

Phone number in E.123 format. 50 characters max.
public setPhone ( string $phone )
$phone string

setType() public method

Type of address (e.g., HOME_OR_WORK, GIFT etc).
public setType ( string $type )
$type string