PHP Class PayPal\Api\Address

Inheritance: extends Resource
Afficher le fichier Open project: paypal/rest-api-sdk-php Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

getType() public méthode

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

setPhone() public méthode

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

setType() public méthode

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