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

namespace PayPalApi;

use 
PayPalCommonPayPalModel;

/**
 * Class Credit
 *
 * A resource representing a credit instrument.
 *
 * @package PayPalApi
 *
 * @property string id
 * @property string type
 */
class Credit extends PayPalModel
{
    
/**
     * Unique identifier of credit resource.
     *
     * @param string $id
     * 
     * @return $this
     */
    
public function setId($id)
    {
        
$this->id $id;
        return 
$this;
    }

    
/**
     * Unique identifier of credit resource.
     *
     * @return string
     */
    
public function getId()
    {
        return 
$this->id;
    }

    
/**
     * specifies type of credit
     * Valid Values: ["BILL_ME_LATER", "PAYPAL_EXTRAS_MASTERCARD", "EBAY_MASTERCARD", "PAYPAL_SMART_CONNECT"]
     *
     * @param string $type
     * 
     * @return $this
     */
    
public function setType($type)
    {
        
$this->type $type;
        return 
$this;
    }

    
/**
     * specifies type of credit
     *
     * @return string
     */
    
public function getType()
    {
        return 
$this->type;
    }

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