handle(); } /** * @return array */ #[RequestMapping(path: "info", methods: "GET")] #[Scene(scene: "info")] public function info(): array { return (new OrderInfoService())->handle(); } /** * @return array */ #[RequestMapping(path: "finish", methods: "POST")] #[Scene(scene: "finish")] public function finish(): array { return (new FinishService())->handle(); } /** * @return array * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface */ #[RequestMapping(path: "refund_all", methods: "POST")] #[Scene(scene: "refund_all")] public function refundAll() { return (new RefundService)->handle(); } /** * @return array * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface */ #[RequestMapping(path: "refund_partial", methods: "GET")] #[Scene(scene: "refund_partial")] public function refundPartial() { return (new RefundService)->refundPartial(); } /** * @return array * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface */ #[RequestMapping(path: "refund_batch", methods: "POST")] #[Scene(scene: "refund_batch")] public function batchRefund() { return (new RefundService)->refundBatch(); } }