public function checkCoupon($code, $articleNumber)
    {
        $requestData = new Check\RequestData($code, $articleNumber);
        $request = new Check\Request($requestData);

        return $this->sendRequest($request, Check\ApiResponse::class);
    }
public function checkCoupon($code, $articleNumber)
    {
        $requestData = new Check\RequestData($code, $articleNumber);
        $request = new Check\Request($requestData);

        return $this->sendRequest($request, Check\ApiResponse::class);
    }
public function checkCoupon ( $ code , $ articleNumber ) { $ requestData = new Check \ RequestData ( $ code , $ articleNumber ) ; $ request = new Check \ Request ( $ requestData ) ; return $ this -> sendRequest ( $ request , Check \ ApiResponse :: class ) ; }
Check a coupon.

@param string $code The code to check.
@param string $articleNumber The article number.
@return Check\ApiResponse
Check a coupon .