Rev 33510 | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.service;public class OTPResponse {private long reference_id;private String message;private boolean result;private String otp;/*** True only when an SMS/email dispatch was actually attempted for this request. A request can be* successful (result=true) without anything being sent - the 2-minute resend throttle returns the* still-valid previous OTP without contacting the gateway. Callers that report "OTP sent" to a user* must check this, not result.*/private boolean sent;public long getReference_id() {return reference_id;}public void setReference_id(long reference_id) {this.reference_id = reference_id;}public String getMessage() {return message;}public void setMessage(String message) {this.message = message;}public boolean isResult() {return result;}public void setResult(boolean result) {this.result = result;}public String getOtp() {return otp;}public void setOtp(String otp) {this.otp = otp;}public boolean isSent() {return sent;}public void setSent(boolean sent) {this.sent = sent;}}