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

namespace PayPalApi;

use 
PayPalCommonPayPalModel;

/**
 * Class ShippingInfo
 *
 * Shipping information for the invoice recipient.
 *
 * @package PayPalApi
 *
 * @property string first_name
 * @property string last_name
 * @property string business_name
 * @property PayPalApiPhone phone
 * @property PayPalApiInvoiceAddress address
 */
class ShippingInfo extends PayPalModel
{
    
/**
     * The invoice recipient first name. Maximum length is 30 characters.
     *
     * @param string $first_name
     * 
     * @return $this
     */
    
public function setFirstName($first_name)
    {
        
$this->first_name $first_name;
        return 
$this;
    }

    
/**
     * The invoice recipient first name. Maximum length is 30 characters.
     *
     * @return string
     */
    
public function getFirstName()
    {
        return 
$this->first_name;
    }

    
/**
     * The invoice recipient last name. Maximum length is 30 characters.
     *
     * @param string $last_name
     * 
     * @return $this
     */
    
public function setLastName($last_name)
    {
        
$this->last_name $last_name;
        return 
$this;
    }

    
/**
     * The invoice recipient last name. Maximum length is 30 characters.
     *
     * @return string
     */
    
public function getLastName()
    {
        return 
$this->last_name;
    }

    
/**
     * The invoice recipient company business name. Maximum length is 100 characters.
     *
     * @param string $business_name
     * 
     * @return $this
     */
    
public function setBusinessName($business_name)
    {
        
$this->business_name $business_name;
        return 
$this;
    }

    
/**
     * The invoice recipient company business name. Maximum length is 100 characters.
     *
     * @return string
     */
    
public function getBusinessName()
    {
        return 
$this->business_name;
    }

    
/**
     *
     *
     * @param PayPalApiPhone $phone
     * @return $this
     */
    
public function setPhone($phone)
    {
        
$this->phone $phone;
        return 
$this;
    }

    
/**
     *
     *
     * @return PayPalApiPhone
     */
    
public function getPhone()
    {
        return 
$this->phone;
    }

    
/**
     * @deprecated Not used anymore
     *
     * @param string $email
     * @return $this
     */
    
public function setEmail($email)
    {
        
$this->email $email;
        return 
$this;
    }

    
/**
     * @deprecated Not used anymore
     *
     * @return string
     */
    
public function getEmail()
    {
        return 
$this->email;
    }

    
/**
     * Address of the invoice recipient.
     *
     * @param PayPalApiInvoiceAddress $address
     * 
     * @return $this
     */
    
public function setAddress($address)
    {
        
$this->address $address;
        return 
$this;
    }

    
/**
     * The invoice recipient address.
     *
     * @return PayPalApiInvoiceAddress
     */
    
public function getAddress()
    {
        return 
$this->address;
    }

}
Онлайн: 2
Реклама