Вход Регистрация
Файл: sngine-v2.8/Script/includes/libs/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Api/Address.php
Строк: 44
<?php

namespace PayPalApi;

/**
 * Class Address
 *
 * Base Address object used as billing address in a payment or extended for Shipping Address.
 *
 * @package PayPalApi
 *
 * @property string phone
 * @property string type
 */
class Address extends BaseAddress
{
    
/**
     * Phone number in E.123 format. 50 characters max.
     *
     * @param string $phone
     * 
     * @return $this
     */
    
public function setPhone($phone)
    {
        
$this->phone $phone;
        return 
$this;
    }

    
/**
     * Phone number in E.123 format. 50 characters max.
     *
     * @return string
     */
    
public function getPhone()
    {
        return 
$this->phone;
    }

    
/**
     * Type of address (e.g., HOME_OR_WORK, GIFT etc).
     *
     * @param string $type
     *
     * @return $this
     */
    
public function setType($type)
    {
        
$this->type $type;
        return 
$this;
    }

    
/**
     * Type of address (e.g., HOME_OR_WORK, GIFT etc).
     *
     * @return string
     */
    
public function getType()
    {
        return 
$this->type;
    }
}
Онлайн: 0
Реклама