PayPalApiMeasurement

Class Measurement.

Defined (1)

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

/classes/lib/PayPal/Api/Measurement.php  
  1. class Measurement extends PayPalModel 
  2. /** 
  3. * Value this measurement represents. 
  4. * @param string $value 
  5. *  
  6. * @return $this 
  7. */ 
  8. public function setValue($value) 
  9. $this->value = $value; 
  10. return $this; 
  11.  
  12. /** 
  13. * Value this measurement represents. 
  14. * @return string 
  15. */ 
  16. public function getValue() 
  17. return $this->value; 
  18.  
  19. /** 
  20. * Unit in which the value is represented. 
  21. * @param string $unit 
  22. *  
  23. * @return $this 
  24. */ 
  25. public function setUnit($unit) 
  26. $this->unit = $unit; 
  27. return $this; 
  28.  
  29. /** 
  30. * Unit in which the value is represented. 
  31. * @return string 
  32. */ 
  33. public function getUnit() 
  34. return $this->unit; 
  35.