Subversion Repositories SmartDukaan

Rev

Rev 2601 | Rev 2615 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2601 Rev 2612
Line 267... Line 267...
267
     */
267
     */
268
    public boolean acceptDoa(long orderId) throws TransactionServiceException, TException;
268
    public boolean acceptDoa(long orderId) throws TransactionServiceException, TException;
269
 
269
 
270
    /**
270
    /**
271
     * Used to validate the DOA certificate for an order in the DOA_RECEIVED state. If the certificate is valid,
271
     * Used to validate the DOA certificate for an order in the DOA_RECEIVED state. If the certificate is valid,
272
     * the order state is changed to DOA_PENDING.
272
     * the order state is changed to DOA_CERT_VALID.
273
     * If the certificate is invalid, the order state is changed to DOA_CERT_INVALID.
273
     * If the certificate is invalid, the order state is changed to DOA_CERT_INVALID.
274
     * If the order is in any other state, it returns false.
274
     * If the order is in any other state, it returns false.
275
     * Throws an exception if the order with the given id couldn't be found.
275
     * Throws an exception if the order with the given id couldn't be found.
276
     * 
276
     * 
277
     * @param orderId
277
     * @param orderId