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

namespace PayPalApi;

use 
PayPalCommonPayPalModel;

/**
 * Class MerchantInfo
 *
 * Merchant business information that appears on the invoice.
 *
 * @package PayPalApi
 *
 * @property string email
 * @property string first_name
 * @property string last_name
 * @property PayPalApiInvoiceAddress address
 * @property string business_name
 * @property PayPalApiPhone phone
 * @property PayPalApiPhone fax
 * @property string website
 * @property string tax_id
 * @property string additional_info_label
 * @property string additional_info
 */
class MerchantInfo extends PayPalModel
{
    
/**
     * The merchant email address. Maximum length is 260 characters.
     *
     * @param string $email
     * 
     * @return $this
     */
    
public function setEmail($email)
    {
        
$this->email $email;
        return 
$this;
    }

    
/**
     * The merchant email address. Maximum length is 260 characters.
     *
     * @return string
     */
    
public function getEmail()
    {
        return 
$this->email;
    }

    
/**
     * The merchant 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 merchant first name. Maximum length is 30 characters.
     *
     * @return string
     */
    
public function getFirstName()
    {
        return 
$this->first_name;
    }

    
/**
     * The merchant 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 merchant last name. Maximum length is 30 characters.
     *
     * @return string
     */
    
public function getLastName()
    {
        return 
$this->last_name;
    }

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

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

    
/**
     * The merchant 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 merchant company business name. Maximum length is 100 characters.
     *
     * @return string
     */
    
public function getBusinessName()
    {
        return 
$this->business_name;
    }

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

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

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

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

    
/**
     * The merchant website. Maximum length is 2048 characters.
     *
     * @param string $website
     * 
     * @return $this
     */
    
public function setWebsite($website)
    {
        
$this->website $website;
        return 
$this;
    }

    
/**
     * The merchant website. Maximum length is 2048 characters.
     *
     * @return string
     */
    
public function getWebsite()
    {
        return 
$this->website;
    }

    
/**
     * The merchant tax ID. Maximum length is 100 characters.
     *
     * @param string $tax_id
     * 
     * @return $this
     */
    
public function setTaxId($tax_id)
    {
        
$this->tax_id $tax_id;
        return 
$this;
    }

    
/**
     * The merchant tax ID. Maximum length is 100 characters.
     *
     * @return string
     */
    
public function getTaxId()
    {
        return 
$this->tax_id;
    }

    
/**
     * Option to provide a label to the additional_info field. 40 characters max.
     *
     * @param string $additional_info_label
     * 
     * @return $this
     */
    
public function setAdditionalInfoLabel($additional_info_label)
    {
        
$this->additional_info_label $additional_info_label;
        return 
$this;
    }

    
/**
     * Option to provide a label to the additional_info field. 40 characters max.
     *
     * @return string
     */
    
public function getAdditionalInfoLabel()
    {
        return 
$this->additional_info_label;
    }

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

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

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