Skip to content

Commit

Permalink
getReply
Browse files Browse the repository at this point in the history
  • Loading branch information
recca0120 committed Nov 14, 2023
1 parent 23cf65c commit 2c36e0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .phpunit.result.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":1,"defects":{"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCompletePurchaseParameters":4,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCompletePurchaseParameters":4},"times":{"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testPurchase":0.012,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCompletePurchase":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testPayout":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testGetNameNotEmpty":0.001,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testGetShortNameNotEmpty":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testGetDefaultParametersReturnsArray":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testDefaultParametersHaveMatchingMethods":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testTestMode":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCurrency":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsAuthorize":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsCompleteAuthorize":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsCapture":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsPurchase":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsCompletePurchase":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsRefund":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsVoid":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsCreateCard":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsDeleteCard":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsUpdateCard":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testAuthorizeParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCompleteAuthorizeParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCaptureParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testPurchaseParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCompletePurchaseParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testRefundParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testVoidParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCreateCardParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testDeleteCardParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testUpdateCardParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testPurchase":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCompletePurchase":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testPayout":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testGetNameNotEmpty":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testGetShortNameNotEmpty":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testGetDefaultParametersReturnsArray":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testDefaultParametersHaveMatchingMethods":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testTestMode":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCurrency":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsAuthorize":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsCompleteAuthorize":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsCapture":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsPurchase":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsCompletePurchase":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsRefund":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsVoid":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsCreateCard":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsDeleteCard":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsUpdateCard":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testAuthorizeParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCompleteAuthorizeParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCaptureParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testPurchaseParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCompletePurchaseParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testRefundParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testVoidParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCreateCardParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testDeleteCardParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testUpdateCardParameters":0,"Omnipay\\Aerotow\\Tests\\Message\\AcceptNotificationRequestTest::testAtmGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\AcceptNotificationRequestTest::testAtmSend":0.001,"Omnipay\\Aerotow\\Tests\\Message\\AcceptNotificationRequestTest::testCvsGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\AcceptNotificationRequestTest::testCvsSend":0,"Omnipay\\Aerotow\\Tests\\Message\\CompletePurchaseRequestTest::testAtmGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\CompletePurchaseRequestTest::testAtmSend":0,"Omnipay\\Aerotow\\Tests\\Message\\CompletePurchaseRequestTest::testCvsGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\CompletePurchaseRequestTest::testCvsSend":0,"Omnipay\\Aerotow\\Tests\\Message\\PayoutRequestTest::testAtmGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\PayoutRequestTest::testAtmSend":0,"Omnipay\\Aerotow\\Tests\\Message\\PayoutRequestTest::testCvsGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\PayoutRequestTest::testCvsSend":0,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testAtmGetData":0.001,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testAtmSend":0,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testCvsGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testCvsSend":0}}
5 changes: 5 additions & 0 deletions src/Message/PayoutResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,9 @@ public function getRedirectUrl()
{
return $this->data['mobileUrl'];
}

public function getReply()
{
return $this->isSuccessful() ? 'OK' : 'FAIL';
}
}

0 comments on commit 2c36e0b

Please sign in to comment.