PHP Класс PayPal\Api\ShippingInfo

Shipping information for the invoice recipient.
Наследование: extends PayPal\Common\PayPalModel
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
getAddress ( ) : InvoiceAddress The invoice recipient address.
getBusinessName ( ) : string The invoice recipient company business name. Maximum length is 100 characters.
getEmail ( ) : string
getFirstName ( ) : string The invoice recipient first name. Maximum length is 30 characters.
getLastName ( ) : string The invoice recipient last name. Maximum length is 30 characters.
getPhone ( ) : Phone
setAddress ( InvoiceAddress $address ) Address of the invoice recipient.
setBusinessName ( string $business_name ) The invoice recipient company business name. Maximum length is 100 characters.
setEmail ( string $email )
setFirstName ( string $first_name ) The invoice recipient first name. Maximum length is 30 characters.
setLastName ( string $last_name ) The invoice recipient last name. Maximum length is 30 characters.
setPhone ( Phone $phone )

Описание методов

getAddress() публичный Метод

The invoice recipient address.
public getAddress ( ) : InvoiceAddress
Результат InvoiceAddress

getBusinessName() публичный Метод

The invoice recipient company business name. Maximum length is 100 characters.
public getBusinessName ( ) : string
Результат string

getEmail() публичный Метод

Устаревший: Not used anymore
public getEmail ( ) : string
Результат string

getFirstName() публичный Метод

The invoice recipient first name. Maximum length is 30 characters.
public getFirstName ( ) : string
Результат string

getLastName() публичный Метод

The invoice recipient last name. Maximum length is 30 characters.
public getLastName ( ) : string
Результат string

getPhone() публичный Метод

public getPhone ( ) : Phone
Результат Phone

setAddress() публичный Метод

Address of the invoice recipient.
public setAddress ( InvoiceAddress $address )
$address InvoiceAddress

setBusinessName() публичный Метод

The invoice recipient company business name. Maximum length is 100 characters.
public setBusinessName ( string $business_name )
$business_name string

setEmail() публичный Метод

Устаревший: Not used anymore
public setEmail ( string $email )
$email string

setFirstName() публичный Метод

The invoice recipient first name. Maximum length is 30 characters.
public setFirstName ( string $first_name )
$first_name string

setLastName() публичный Метод

The invoice recipient last name. Maximum length is 30 characters.
public setLastName ( string $last_name )
$last_name string

setPhone() публичный Метод

public setPhone ( Phone $phone )
$phone Phone