関数
Middleware::isOrderAssociated()
Returns a GenericError
if the orderId is not associated with an Amazon Pay purchase
戻り値 戻り値
ファイル: src/Admin/API/Middleware.php
public function isOrderAssociated() { return function ($args) { $orderId = (int)$args['orderId']; if (!$this->module->isOrderAssociated($orderId)) { return $this->module->errors->getErrorResponse( GenericErrorStore::AMAZON_PAY_ORDER_NOT_FOUND, [$orderId] ); } }; }