| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function createPaypalAccount(CreatePaypalAccountRequest $request, CreatePaypalAccountAction $action) |
||
| 24 | { |
||
| 25 | $paypalAccount = $action->run( |
||
| 26 | $request->user(), |
||
| 27 | 'some_id' // TODO: To Be Continue... |
||
| 28 | ); |
||
| 29 | |||
| 30 | return $this->response->accepted(null, [ |
||
| 31 | 'message' => 'Paypal account created successfully.', |
||
| 32 | 'paypal_account_id' => $paypalAccount->id, |
||
| 33 | ]); |
||
| 34 | } |
||
| 35 | |||
| 37 |