BuyNowPayLater
3 years ago
DigitalWallets
2 years ago
ThreeDSecure
3 years ago
AbstractRequest.php
2 years ago
AuthorizationRequest.php
3 years ago
CaptureAuthorizationRequest.php
3 years ago
CreateManifestRequest.php
3 years ago
CreateTransactionKeyRequest.php
3 years ago
GetAccessTokenRequest.php
3 years ago
RefundRequest.php
3 years ago
RequestArg.php
2 years ago
RequestInterface.php
3 years ago
ReversalRequest.php
3 years ago
SaleRequest.php
3 years ago
TransactionDetailRequest.php
3 years ago
VerifyRequest.php
3 years ago
RequestInterface.php
38 lines
| 1 | <?php |
| 2 | |
| 3 | namespace GlobalPayments\WooCommercePaymentGatewayProvider\Gateways\Requests; |
| 4 | |
| 5 | use WC_Order; |
| 6 | |
| 7 | interface RequestInterface { |
| 8 | /** |
| 9 | * Instantiates a new request |
| 10 | * |
| 11 | * @param string $gateway_id |
| 12 | * @param WC_Order $order |
| 13 | * @param array $config |
| 14 | */ |
| 15 | public function __construct( $gateway_id, WC_Order $order = null, array $config = array() ); |
| 16 | |
| 17 | /** |
| 18 | * Gets transaction type for the request |
| 19 | * |
| 20 | * @return string |
| 21 | */ |
| 22 | public function get_transaction_type(); |
| 23 | |
| 24 | /** |
| 25 | * Gets request specific args |
| 26 | * |
| 27 | * @return array |
| 28 | */ |
| 29 | public function get_args(); |
| 30 | |
| 31 | /** |
| 32 | * Gets default request args |
| 33 | * |
| 34 | * @return array |
| 35 | */ |
| 36 | public function get_default_args(); |
| 37 | } |
| 38 |