@ Override @ Deprecated public ContentResult fetchOrderContent ( OrderItem orderItem ) throws IOException { String downloadUri = Objects . requireNonNull ( Objects . requireNonNull ( orderItem , "Missing order item" ) . getUri ( LINK_DOWNLOAD ) , "Missing download URI" ) ; String fetchUri = restClient . uri ( downloadUri ) . addParameter ( "downloadToken" , "" ) . build ( ) ; return restClient . get ( fetchUri , contentResultFactory ) ; }
Fetch the content for the specified order item .