%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : addictionfreeind ( 1003)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/addictionfreeind/www/admin1/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/addictionfreeind/www/admin1/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/NameValuePair.php
<?php

namespace PayPal\Api;

use PayPal\Common\PayPalModel;

/**
 * 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 PayPal\Api
 *
 * @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;
    }

}

VaKeR 2022