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

namespace PayPalApi;

use 
PayPalCommonPayPalModel;

/**
 * Class Participant
 *
 * Participant information.
 *
 * @package PayPalApi
 *
 * @property string email
 * @property string first_name
 * @property string last_name
 * @property string business_name
 * @property PayPalApiPhone phone
 * @property PayPalApiPhone fax
 * @property string website
 * @property string additional_info
 * @property PayPalApiAddress address
 */
class Participant extends PayPalModel
{
    
/**
     * The participant email address.
     *
     * @param string $email
     * 
     * @return $this
     */
    
public function setEmail($email)
    {
        
$this->email $email;
        return 
$this;
    }

    
/**
     * The participant email address.
     *
     * @return string
     */
    
public function getEmail()
    {
        return 
$this->email;
    }

    
/**
     * The participant first name.
     *
     * @param string $first_name
     * 
     * @return $this
     */
    
public function setFirstName($first_name)
    {
        
$this->first_name $first_name;
        return 
$this;
    }

    
/**
     * The participant first name.
     *
     * @return string
     */
    
public function getFirstName()
    {
        return 
$this->first_name;
    }

    
/**
     * The participant last name.
     *
     * @param string $last_name
     * 
     * @return $this
     */
    
public function setLastName($last_name)
    {
        
$this->last_name $last_name;
        return 
$this;
    }

    
/**
     * The participant last name.
     *
     * @return string
     */
    
public function getLastName()
    {
        return 
$this->last_name;
    }

    
/**
     * The participant company business name.
     *
     * @param string $business_name
     * 
     * @return $this
     */
    
public function setBusinessName($business_name)
    {
        
$this->business_name $business_name;
        return 
$this;
    }

    
/**
     * The participant company business name.
     *
     * @return string
     */
    
public function getBusinessName()
    {
        return 
$this->business_name;
    }

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

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

    
/**
     * The participant fax number.
     *
     * @param PayPalApiPhone $fax
     * 
     * @return $this
     */
    
public function setFax($fax)
    {
        
$this->fax $fax;
        return 
$this;
    }

    
/**
     * The participant fax number.
     *
     * @return PayPalApiPhone
     */
    
public function getFax()
    {
        return 
$this->fax;
    }

    
/**
     * The participant website.
     *
     * @param string $website
     * 
     * @return $this
     */
    
public function setWebsite($website)
    {
        
$this->website $website;
        return 
$this;
    }

    
/**
     * The participant website.
     *
     * @return string
     */
    
public function getWebsite()
    {
        return 
$this->website;
    }

    
/**
     * Additional information, such as business hours.
     *
     * @param string $additional_info
     * 
     * @return $this
     */
    
public function setAdditionalInfo($additional_info)
    {
        
$this->additional_info $additional_info;
        return 
$this;
    }

    
/**
     * Additional information, such as business hours.
     *
     * @return string
     */
    
public function getAdditionalInfo()
    {
        return 
$this->additional_info;
    }

    
/**
     * The participant address.
     *
     * @param PayPalApiAddress $address
     * 
     * @return $this
     */
    
public function setAddress($address)
    {
        
$this->address $address;
        return 
$this;
    }

    
/**
     * The participant address.
     *
     * @return PayPalApiAddress
     */
    
public function getAddress()
    {
        return 
$this->address;
    }

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