PHP Class PayPal\Api\ShippingAddress

Extended Address object used as shipping address in a payment.
Inheritance: extends Address
Afficher le fichier Open project: paypal/rest-api-sdk-php Class Usage Examples

Méthodes publiques

Méthode Description
getDefaultAddress ( ) : boolean Default shipping address of the Payer.
getId ( ) : string Address ID assigned in PayPal system.
getPreferredAddress ( ) : boolean Shipping Address marked as preferred by Payer.
getRecipientName ( ) : string Name of the recipient at this address.
setDefaultAddress ( boolean $default_address ) Default shipping address of the Payer.
setId ( string $id ) Address ID assigned in PayPal system.
setPreferredAddress ( boolean $preferred_address ) Shipping Address marked as preferred by Payer.
setRecipientName ( string $recipient_name ) Name of the recipient at this address.

Method Details

getDefaultAddress() public méthode

Default shipping address of the Payer.
Deprecation: Not publicly available
public getDefaultAddress ( ) : boolean
Résultat boolean

getId() public méthode

Address ID assigned in PayPal system.
Deprecation: Not publicly available
public getId ( ) : string
Résultat string

getPreferredAddress() public méthode

Shipping Address marked as preferred by Payer.
Deprecation: Not publicly available
public getPreferredAddress ( ) : boolean
Résultat boolean

getRecipientName() public méthode

Name of the recipient at this address.
public getRecipientName ( ) : string
Résultat string

setDefaultAddress() public méthode

Default shipping address of the Payer.
Deprecation: Not publicly available
public setDefaultAddress ( boolean $default_address )
$default_address boolean

setId() public méthode

Address ID assigned in PayPal system.
Deprecation: Not publicly available
public setId ( string $id )
$id string

setPreferredAddress() public méthode

Shipping Address marked as preferred by Payer.
Deprecation: Not publicly available
public setPreferredAddress ( boolean $preferred_address )
$preferred_address boolean

setRecipientName() public méthode

Name of the recipient at this address.
public setRecipientName ( string $recipient_name )
$recipient_name string