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

namespace PayPalApi;

use 
PayPalCommonPayPalModel;

/**
 * Class NameValuePair
 *
 * Used to define a type for name-value pairs.  The use of name value pairs in an API should be limited and approved by architecture.
 *
 * @package PayPalApi
 *
 * @property string name
 * @property string value
 */
class NameValuePair extends PayPalModel
{
    
/**
     * Key for the name value pair.  The value name types should be correlated 
     *
     * @param string $name
     * 
     * @return $this
     */
    
public function setName($name)
    {
        
$this->name $name;
        return 
$this;
    }

    
/**
     * Key for the name value pair.  The value name types should be correlated 
     *
     * @return string
     */
    
public function getName()
    {
        return 
$this->name;
    }

    
/**
     * Value for the name value pair.
     *
     * @param string $value
     * 
     * @return $this
     */
    
public function setValue($value)
    {
        
$this->value $value;
        return 
$this;
    }

    
/**
     * Value for the name value pair.
     *
     * @return string
     */
    
public function getValue()
    {
        return 
$this->value;
    }

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