PayPalApiNameValuePair

Class NameValuePair.

Defined (1)

The class is defined in the following location(s).

/classes/lib/PayPal/Api/NameValuePair.php  
  1. class NameValuePair extends PayPalModel 
  2. /** 
  3. * Key for the name value pair. The value name types should be correlated  
  4. * @param string $name 
  5. *  
  6. * @return $this 
  7. */ 
  8. public function setName($name) 
  9. $this->name = $name; 
  10. return $this; 
  11.  
  12. /** 
  13. * Key for the name value pair. The value name types should be correlated  
  14. * @return string 
  15. */ 
  16. public function getName() 
  17. return $this->name; 
  18.  
  19. /** 
  20. * Value for the name value pair. 
  21. * @param string $value 
  22. *  
  23. * @return $this 
  24. */ 
  25. public function setValue($value) 
  26. $this->value = $value; 
  27. return $this; 
  28.  
  29. /** 
  30. * Value for the name value pair. 
  31. * @return string 
  32. */ 
  33. public function getValue() 
  34. return $this->value; 
  35.