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

namespace PayPalApi;

use 
PayPalCommonPayPalModel;

/**
 * Class Measurement
 *
 * Measurement to represent item dimensions like length, width, height and weight etc.
 *
 * @package PayPalApi
 *
 * @property string value
 * @property string unit
 */
class Measurement extends PayPalModel
{
    
/**
     * Value this measurement represents.
     *
     * @param string $value
     * 
     * @return $this
     */
    
public function setValue($value)
    {
        
$this->value $value;
        return 
$this;
    }

    
/**
     * Value this measurement represents.
     *
     * @return string
     */
    
public function getValue()
    {
        return 
$this->value;
    }

    
/**
     * Unit in which the value is represented.
     *
     * @param string $unit
     * 
     * @return $this
     */
    
public function setUnit($unit)
    {
        
$this->unit $unit;
        return 
$this;
    }

    
/**
     * Unit in which the value is represented.
     *
     * @return string
     */
    
public function getUnit()
    {
        return 
$this->unit;
    }

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