com.aiwiown.face.domain.lite.IdCardInfo Maven / Gradle / Ivy
package com.aiwiown.face.domain.lite;
import com.aiwiown.face.ApiObject;
import com.aiwiown.face.domain.orc.OCRCardQuality;
import com.aiwiown.face.domain.orc.OCRCardSide;
import com.aiwiown.face.internal.mapping.ApiField;
/**
*
*
* IdCardInfo
* Date: 2020/4/24 0024
* Time: 15:28
*
* @author [email protected]
*/
public class IdCardInfo extends ApiObject {
private static final long serialVersionUID = -4533061211944521004L;
/**
* 表示 get_token 时选择的 idcard_mode;
*/
@ApiField("idcard_mode")
private String idcardMode;
/**
* 表示 get_token 是选择的 idcard_uneditable_feild;
*/
@ApiField("idcard_uneditable_feild")
private String idcardUneditableFeild;
/**
* 该字段仅在idcard_mode=4时返回,表示用户选择的身份证信息录入模式
* 0:选择拍摄身份证人像面;
* 1:选择手输身份证信息;
*/
@ApiField("idcard_mode_user")
private String idcardModeUser;
/**
* 表示最终经过用户确认的身份证号 (根据idcard_uneditable_feild可能被修改过);
*/
@ApiField("idcard_number")
private String idcardNumber;
/**
* 表示最终经过用户确认的姓名 (根据idcard_uneditable_feild可能被修改过);
*/
@ApiField("idcard_name")
private String idcardName;
/**
* 表示最终经过用户确认的身份证有效期 (根据idcard_uneditable_field可能被修改过,如果不用拍摄身份证国徽面则不返回此字段);
*/
@ApiField("idcard_valid_date")
private String idcardValidDate;
/**
* 表示最终经过用户确认的身份证签发机关
*/
@ApiField("idcard_issued_by")
private String idcardIssuedBy;
/**
* 身份证人像面的识别结果(如果不用拍摄身份证人像面则不返回此字段);
*/
@ApiField("front_side")
private OCRCardSide frontSide;
/**
* 份证国徽面的识别结果(如果不用拍摄身份证国徽面则不返回此字段);
*/
@ApiField("back_side")
private OCRCardSide backSide;
/**
* 身份证人像面各字段质量判断及逻辑判断结果;(该字段仅在浅色主题下进行返回)
*/
@ApiField("ocr_front_quality")
private OCRCardQuality ocrFrontQuality;
/**
* 身份证国徽面各字段质量判断及逻辑判断结果;(该字段仅在浅色主题下进行返回)
*/
@ApiField("ocr_back_quality")
private OCRCardQuality ocrBackQuality;
public String getIdcardMode() {
return idcardMode;
}
public void setIdcardMode(String idcardMode) {
this.idcardMode = idcardMode;
}
public String getIdcardUneditableFeild() {
return idcardUneditableFeild;
}
public void setIdcardUneditableFeild(String idcardUneditableFeild) {
this.idcardUneditableFeild = idcardUneditableFeild;
}
public String getIdcardModeUser() {
return idcardModeUser;
}
public void setIdcardModeUser(String idcardModeUser) {
this.idcardModeUser = idcardModeUser;
}
public String getIdcardNumber() {
return idcardNumber;
}
public void setIdcardNumber(String idcardNumber) {
this.idcardNumber = idcardNumber;
}
public String getIdcardName() {
return idcardName;
}
public void setIdcardName(String idcardName) {
this.idcardName = idcardName;
}
public String getIdcardValidDate() {
return idcardValidDate;
}
public void setIdcardValidDate(String idcardValidDate) {
this.idcardValidDate = idcardValidDate;
}
public String getIdcardIssuedBy() {
return idcardIssuedBy;
}
public void setIdcardIssuedBy(String idcardIssuedBy) {
this.idcardIssuedBy = idcardIssuedBy;
}
public OCRCardSide getFrontSide() {
return frontSide;
}
public void setFrontSide(OCRCardSide frontSide) {
this.frontSide = frontSide;
}
public OCRCardSide getBackSide() {
return backSide;
}
public void setBackSide(OCRCardSide backSide) {
this.backSide = backSide;
}
public OCRCardQuality getOcrFrontQuality() {
return ocrFrontQuality;
}
public void setOcrFrontQuality(OCRCardQuality ocrFrontQuality) {
this.ocrFrontQuality = ocrFrontQuality;
}
public OCRCardQuality getOcrBackQuality() {
return ocrBackQuality;
}
public void setOcrBackQuality(OCRCardQuality ocrBackQuality) {
this.ocrBackQuality = ocrBackQuality;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy