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

namespace PayPalApi;

use 
PayPalCommonPayPalModel;

/**
 * Class AgreementStateDescriptor
 *
 * Description of the current state of the agreement.
 *
 * @package PayPalApi
 *
 * @property string note
 * @property PayPalApiCurrency amount
 */
class AgreementStateDescriptor extends PayPalModel
{
    
/**
     * Reason for changing the state of the agreement.
     *
     * @param string $note
     * 
     * @return $this
     */
    
public function setNote($note)
    {
        
$this->note $note;
        return 
$this;
    }

    
/**
     * Reason for changing the state of the agreement.
     *
     * @return string
     */
    
public function getNote()
    {
        return 
$this->note;
    }

    
/**
     * The amount and currency of the agreement.
     *
     * @param PayPalApiCurrency $amount
     * 
     * @return $this
     */
    
public function setAmount($amount)
    {
        
$this->amount $amount;
        return 
$this;
    }

    
/**
     * The amount and currency of the agreement.
     *
     * @return PayPalApiCurrency
     */
    
public function getAmount()
    {
        return 
$this->amount;
    }

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