Skip to content

Commit

Permalink
Added phpdoc to Payment facade class for IDE auto completion (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
alikhosravidev authored Mar 15, 2023
1 parent 869df15 commit bc76357
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Facade/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,24 @@
namespace Shetabit\Payment\Facade;

use Illuminate\Support\Facades\Facade;
use Shetabit\Multipay\Invoice;

/**
* Class Payment
*
* @method static config($key, $value = null)
* @method static callbackUrl($url = null)
* @method static resetCallbackUrl()
* @method static amount($amount)
* @method static detail($key, $value = null)
* @method static transactionId($id)
* @method static via($driver)
* @method static purchase(Invoice $invoice = null, $finalizeCallback = null)
* @method static pay($initializeCallback = null)
* @method static verify($finalizeCallback = null)
*
* @package Shetabit\Payment\Facade
* @see \Shetabit\Multipay\Payment
*/
class Payment extends Facade
{
Expand Down

0 comments on commit bc76357

Please sign in to comment.