Skip to content

Commit bc76357

Browse files
Added phpdoc to Payment facade class for IDE auto completion (#274)
1 parent 869df15 commit bc76357

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/Facade/Payment.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,24 @@
33
namespace Shetabit\Payment\Facade;
44

55
use Illuminate\Support\Facades\Facade;
6+
use Shetabit\Multipay\Invoice;
67

78
/**
89
* Class Payment
910
*
11+
* @method static config($key, $value = null)
12+
* @method static callbackUrl($url = null)
13+
* @method static resetCallbackUrl()
14+
* @method static amount($amount)
15+
* @method static detail($key, $value = null)
16+
* @method static transactionId($id)
17+
* @method static via($driver)
18+
* @method static purchase(Invoice $invoice = null, $finalizeCallback = null)
19+
* @method static pay($initializeCallback = null)
20+
* @method static verify($finalizeCallback = null)
21+
*
1022
* @package Shetabit\Payment\Facade
23+
* @see \Shetabit\Multipay\Payment
1124
*/
1225
class Payment extends Facade
1326
{

0 commit comments

Comments
 (0)