Вход Регистрация
Файл: vendor/razorpay/razorpay/src/Addon.php
Строк: 25
<?php

namespace RazorpayApi;

class 
Addon extends Entity
{
    
// To create an Addon,
    // use the createAddon method of the Subscription class

    
public function fetch($id)
    {
        return 
parent::fetch($id);
    }

    public function 
delete()
    {
        
$entityUrl $this->getEntityUrl();

        return 
$this->request('DELETE'$entityUrl $this->id);
    }

    public function 
fetchAll($attributes = array())
    {
        
$entityUrl $this->getEntityUrl(); 

        return 
$this->request('GET'$entityUrl $attributes);
    }
}
Онлайн: 1
Реклама