//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.tencent.ocr.sdk.entity;
import com.google.gson.annotations.SerializedName;
public abstract class OcrResult {
@SerializedName("RequestId")
public String requestId = "";
public OcrResult() {
}
public void setRequestId(String var1) {
this.requestId = var1;
}
public String getRequestId() {
return this.requestId;
}
}
package com.tencent.ocr.sdk.entity;
import com.google.gson.annotations.SerializedName;
public class BankCardOcrResult extends OcrResult {
@SerializedName("BankInfo")
public String bankInfo = "";
@SerializedName("ValidDate")
public String validDate = "";
@SerializedName("CardNo")
public String cardNo = "";
public BankCardOcrResult() {
}
public String getBankInfo() {
return this.bankInfo;
}
public void setBankInfo(String var1) {
this.bankInfo = var1;
}
public String getValidDate() {
return this.validDate;
}
public void setValidDate(String var1) {
this.validDate = var1;
}
public String getCardNo() {
return this.cardNo;
}
public void setCardNo(String var1) {
this.cardNo = var1;
}
public String toString() {
return "BankCardOcrResult{bankInfo='" + this.bankInfo + '\'' + ", validDate='" + this.validDate + '\'' + ", cardNo='" + this.cardNo + '\'' + '}';
}
}
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.tencent.ocr.sdk.entity;
import com.google.gson.annotations.SerializedName;
public class IdCardOcrResult extends OcrResult {
@SerializedName("Name")
public String name = "";
@SerializedName("IdNum")
public String idNum = "";
@SerializedName("Sex")
public String sex = "";
@SerializedName("Nation")
public String nation = "";
@SerializedName("Birth")
public String birth = "";
@SerializedName("Address")
public String address = "";
@SerializedName("Authority")
public String authority = "";
@SerializedName("ValidDate")
public String validDate = "";
public IdCardOcrResult() {
}
public String getName() {
return this.name;
}
public void setName(String var1) {
this.name = var1;
}
public String getSex() {
return this.sex;
}
public void setSex(String var1) {
this.sex = var1;
}
public String getNation() {
return this.nation;
}
public void setNation(String var1) {
this.nation = var1;
}
public String getBirth() {
return this.birth;
}
public void setBirth(String var1) {
this.birth = var1;
}
public String getAddress() {
return this.address;
}
public void setAddress(String var1) {
this.address = var1;
}
public String getAuthority() {
return this.authority;
}
public void setAuthority(String var1) {
this.authority = var1;
}
public String getValidDate() {
return this.validDate;
}
public void setValidDate(String var1) {
this.validDate = var1;
}
public String getIdNum() {
return this.idNum;
}
public void setIdNum(String var1) {
this.idNum = var1;
}
public String toString() {
return "IdCardOcrResult{name='" + this.name + '\'' + ", sex='" + this.sex + '\'' + ", idNum='" + this.idNum + '\'' + ", nation='" + this.nation + '\'' + ", birth='" + this.birth + '\'' + ", address='" + this.address + '\'' + ", authority='" + this.authority + '\'' + ", validDate='" + this.validDate + '\'' + '}';
}
}