Subversion Repositories SmartDukaan

Rev

Rev 33510 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33510 Rev 37194
Line 4... Line 4...
4
 
4
 
5
    private long reference_id;
5
    private long reference_id;
6
    private String message;
6
    private String message;
7
    private boolean result;
7
    private boolean result;
8
    private String otp;
8
    private String otp;
-
 
9
    /**
-
 
10
     * True only when an SMS/email dispatch was actually attempted for this request. A request can be
-
 
11
     * successful (result=true) without anything being sent - the 2-minute resend throttle returns the
-
 
12
     * still-valid previous OTP without contacting the gateway. Callers that report "OTP sent" to a user
-
 
13
     * must check this, not result.
-
 
14
     */
-
 
15
    private boolean sent;
9
 
16
 
10
    public long getReference_id() {
17
    public long getReference_id() {
11
        return reference_id;
18
        return reference_id;
12
    }
19
    }
13
 
20
 
Line 37... Line 44...
37
 
44
 
38
    public void setOtp(String otp) {
45
    public void setOtp(String otp) {
39
        this.otp = otp;
46
        this.otp = otp;
40
    }
47
    }
41
 
48
 
-
 
49
    public boolean isSent() {
-
 
50
        return sent;
-
 
51
    }
-
 
52
 
-
 
53
    public void setSent(boolean sent) {
-
 
54
        this.sent = sent;
-
 
55
    }
-
 
56
 
42
}
57
}
43
58