public class BankCardOCRResponse extends AbstractModel
Constructor and Description |
---|
BankCardOCRResponse() |
BankCardOCRResponse(BankCardOCRResponse source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getBankInfo()
Get Bank information
|
String |
getBorderCutImage()
Get Sliced image data
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getCardName()
Get Card name
|
String |
getCardNo()
Get Card number
|
String |
getCardNoImage()
Get Card number image data
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getCardType()
Get Card type
|
Long |
getQualityValue()
Get Image quality value, which is returned when `EnableQualityValue` is set to `true`.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
String |
getValidDate()
Get Expiration date.
|
Long[] |
getWarningCode()
Get Warning code:
-9110: the bank card date is invalid.
|
void |
setBankInfo(String BankInfo)
Set Bank information
|
void |
setBorderCutImage(String BorderCutImage)
Set Sliced image data
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setCardName(String CardName)
Set Card name
|
void |
setCardNo(String CardNo)
Set Card number
|
void |
setCardNoImage(String CardNoImage)
Set Card number image data
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setCardType(String CardType)
Set Card type
|
void |
setQualityValue(Long QualityValue)
Set Image quality value, which is returned when `EnableQualityValue` is set to `true`.
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setValidDate(String ValidDate)
Set Expiration date.
|
void |
setWarningCode(Long[] WarningCode)
Set Warning code:
-9110: the bank card date is invalid.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public BankCardOCRResponse()
public BankCardOCRResponse(BankCardOCRResponse source)
public String getCardNo()
public void setCardNo(String CardNo)
CardNo
- Card numberpublic String getBankInfo()
public void setBankInfo(String BankInfo)
BankInfo
- Bank informationpublic String getValidDate()
public void setValidDate(String ValidDate)
ValidDate
- Expiration date. Format: 07/2023public String getCardType()
public void setCardType(String CardType)
CardType
- Card typepublic String getCardName()
public void setCardName(String CardName)
CardName
- Card namepublic String getBorderCutImage()
public void setBorderCutImage(String BorderCutImage)
BorderCutImage
- Sliced image data
Note: this field may return `null`, indicating that no valid values can be obtained.public String getCardNoImage()
public void setCardNoImage(String CardNoImage)
CardNoImage
- Card number image data
Note: this field may return `null`, indicating that no valid values can be obtained.public Long[] getWarningCode()
public void setWarningCode(Long[] WarningCode)
WarningCode
- Warning code:
-9110: the bank card date is invalid.
-9111: the bank card border is incomplete.
-9112: the bank card image is reflective.
-9113: the bank card image is a photocopy.
-9114: the bank card image is a photograph.
Multiple warning codes may be returned at a time.
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getQualityValue()
public void setQualityValue(Long QualityValue)
QualityValue
- Image quality value, which is returned when `EnableQualityValue` is set to `true`. The smaller the value, the less clear the image is. Value range: 0−100 (a threshold greater than or equal to 50 is recommended.)
Note: This field may return `null`, indicating that no valid values can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2023. All rights reserved.