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

namespace PayPalApi;

use 
PayPalCommonPayPalModel;

/**
 * Class OverrideChargeModel
 *
 * A resource representing an override_charge_model to be used during creation of the agreement.
 *
 * @package PayPalApi
 *
 * @property string charge_id
 * @property PayPalApiCurrency amount
 */
class OverrideChargeModel extends PayPalModel
{
    
/**
     * ID of charge model.
     *
     * @param string $charge_id
     * 
     * @return $this
     */
    
public function setChargeId($charge_id)
    {
        
$this->charge_id $charge_id;
        return 
$this;
    }

    
/**
     * ID of charge model.
     *
     * @return string
     */
    
public function getChargeId()
    {
        return 
$this->charge_id;
    }

    
/**
     * Updated Amount to be associated with this charge model.
     *
     * @param PayPalApiCurrency $amount
     * 
     * @return $this
     */
    
public function setAmount($amount)
    {
        
$this->amount $amount;
        return 
$this;
    }

    
/**
     * Updated Amount to be associated with this charge model.
     *
     * @return PayPalApiCurrency
     */
    
public function getAmount()
    {
        return 
$this->amount;
    }

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