-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor to use Patreon abstract library
- Loading branch information
1 parent
000f43e
commit 7a465b5
Showing
26 changed files
with
58 additions
and
1,082 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
|
||
namespace Gregoriohc\Moneta\Common; | ||
|
||
use Gregoriohc\Protean\Common\AbstractGateway; | ||
|
||
/** | ||
* @method bool supportsAuthorize() | ||
* @method bool supportsCapture() | ||
* @method bool supportsPurchase() | ||
* @method bool supportsRefund() | ||
* @method bool supportsVoid() | ||
* @method bool supportsCreatePaymentMethod() | ||
* @method bool supportsDeletePaymentMethod() | ||
* @method bool supportsUpdatePaymentMethod() | ||
* @method bool supportsAcceptNotification() | ||
*/ | ||
abstract class AbstractPaymentGateway extends AbstractGateway | ||
{ | ||
|
||
protected $requestMethods = [ | ||
'authorize', | ||
'capture', | ||
'purchase', | ||
'refund', | ||
'void', | ||
'createPaymentMethod', | ||
'deletePaymentMethod', | ||
'updatePaymentMethod', | ||
]; | ||
|
||
protected $webhookMethods = [ | ||
'acceptNotification', | ||
]; | ||
} |
Oops, something went wrong.