@@ -74,7 +74,8 @@ public function mada()
74
74
75
75
/**
76
76
* Add billing data to the payment body.
77
- * @param BillingInterface $billing;
77
+ *
78
+ * @param BillingInterface $billing;
78
79
*
79
80
* return $this
80
81
*/
@@ -88,12 +89,11 @@ public function addBilling(BillingInterface $billing)
88
89
/**
89
90
* Prepare the checkout.
90
91
*
91
- * @param array $trackable_data
92
- * @param Model $user
93
- * @param float $amount
94
- * @param string $brand
95
- * @param Request $request
96
- *
92
+ * @param array $trackable_data
93
+ * @param Model $user
94
+ * @param float $amount
95
+ * @param string $brand
96
+ * @param Request $request
97
97
* @return \GuzzleHttp\Psr7\Response
98
98
*/
99
99
public function checkout (array $ trackable_data , Model $ user , $ amount , $ brand , Request $ request )
@@ -115,10 +115,9 @@ public function checkout(array $trackable_data, Model $user, $amount, $brand, Re
115
115
* Define the data used to generate a successful
116
116
* response from hyperpay to generate the payment form.
117
117
*
118
- * @param Model $user
119
- * @param array $trackable_data
120
- * @param Request $request
121
- *
118
+ * @param Model $user
119
+ * @param array $trackable_data
120
+ * @param Request $request
122
121
* @return \GuzzleHttp\Psr7\Response
123
122
*/
124
123
protected function prepareCheckout (Model $ user , array $ trackable_data , $ request )
@@ -143,9 +142,8 @@ protected function prepareCheckout(Model $user, array $trackable_data, $request)
143
142
/**
144
143
* Check the payment status using $resourcePath and $checkout_id.
145
144
*
146
- * @param string $resourcePath
147
- * @param string $checkout_id
148
- *
145
+ * @param string $resourcePath
146
+ * @param string $checkout_id
149
147
* @return \GuzzleHttp\Psr7\Response
150
148
*/
151
149
public function paymentStatus (string $ resourcePath , string $ checkout_id )
@@ -165,8 +163,7 @@ public function paymentStatus(string $resourcePath, string $checkout_id)
165
163
/**
166
164
* Add merchantTransactionId.
167
165
*
168
- * @param string $id
169
- *
166
+ * @param string $id
170
167
* @return $this
171
168
*/
172
169
public function addMerchantTransactionId ($ id )
@@ -179,8 +176,7 @@ public function addMerchantTransactionId($id)
179
176
/**
180
177
* Add redirection url to the shopper to finalize the payment.
181
178
*
182
- * @param string $url
183
- *
179
+ * @param string $url
184
180
* @return $this
185
181
*/
186
182
public function addRedirectUrl ($ url )
0 commit comments