File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Paypal/Model/Payflow Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Paypal \Model \Payflow ;
7
7
8
+ use Magento \Framework \DataObject ;
8
9
use Magento \Framework \Exception \LocalizedException ;
9
10
use Magento \Framework \Exception \State \InvalidTransitionException ;
10
11
use Magento \Payment \Model \InfoInterface ;
14
15
use Magento \Paypal \Model \Payflow \Service \Response \Handler \HandlerInterface ;
15
16
use Magento \Paypal \Model \Payflow \Service \Response \Validator \ResponseValidator ;
16
17
use Magento \Paypal \Model \Payflowpro ;
17
- use Magento \Sales \Model \Order \Payment ;
18
18
19
19
/**
20
20
* Payflow Pro payment gateway model
@@ -120,7 +120,7 @@ public function validate()
120
120
*/
121
121
public function authorize (InfoInterface $ payment , $ amount )
122
122
{
123
- /** @var Payment $payment */
123
+ /** @var DataObject $request */
124
124
$ request = $ this ->buildBasicRequest ();
125
125
126
126
/** @var \Magento\Sales\Model\Order $order */
You can’t perform that action at this time.
0 commit comments