Class VatInvoiceOCRResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ocr.v20181119.models.VatInvoiceOCRResponse
-
public class VatInvoiceOCRResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description VatInvoiceOCRResponse()VatInvoiceOCRResponse(VatInvoiceOCRResponse 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatgetAngle()Get 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本VatInvoiceItem[]getItems()Get 明细条目。VatInvoiceInfos中关于明细项的具体条目。LonggetPdfPageSize()Get 默认值为0。如果图片为PDF时,返回PDF的总页数。StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。TextVatInvoice[]getVatInvoiceInfos()Get 检测到的文本信息,具体内容请点击左侧链接。voidsetAngle(Float Angle)Set 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本voidsetItems(VatInvoiceItem[] Items)Set 明细条目。VatInvoiceInfos中关于明细项的具体条目。voidsetPdfPageSize(Long PdfPageSize)Set 默认值为0。如果图片为PDF时,返回PDF的总页数。voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetVatInvoiceInfos(TextVatInvoice[] VatInvoiceInfos)Set 检测到的文本信息,具体内容请点击左侧链接。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
VatInvoiceOCRResponse
public VatInvoiceOCRResponse()
-
VatInvoiceOCRResponse
public VatInvoiceOCRResponse(VatInvoiceOCRResponse 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.
-
-
Method Detail
-
getVatInvoiceInfos
public TextVatInvoice[] getVatInvoiceInfos()
Get 检测到的文本信息,具体内容请点击左侧链接。- Returns:
- VatInvoiceInfos 检测到的文本信息,具体内容请点击左侧链接。
-
setVatInvoiceInfos
public void setVatInvoiceInfos(TextVatInvoice[] VatInvoiceInfos)
Set 检测到的文本信息,具体内容请点击左侧链接。- Parameters:
VatInvoiceInfos- 检测到的文本信息,具体内容请点击左侧链接。
-
getItems
public VatInvoiceItem[] getItems()
Get 明细条目。VatInvoiceInfos中关于明细项的具体条目。- Returns:
- Items 明细条目。VatInvoiceInfos中关于明细项的具体条目。
-
setItems
public void setItems(VatInvoiceItem[] Items)
Set 明细条目。VatInvoiceInfos中关于明细项的具体条目。- Parameters:
Items- 明细条目。VatInvoiceInfos中关于明细项的具体条目。
-
getPdfPageSize
public Long getPdfPageSize()
Get 默认值为0。如果图片为PDF时,返回PDF的总页数。- Returns:
- PdfPageSize 默认值为0。如果图片为PDF时,返回PDF的总页数。
-
setPdfPageSize
public void setPdfPageSize(Long PdfPageSize)
Set 默认值为0。如果图片为PDF时,返回PDF的总页数。- Parameters:
PdfPageSize- 默认值为0。如果图片为PDF时,返回PDF的总页数。
-
getAngle
public Float getAngle()
Get 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本- Returns:
- Angle 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本
-
setAngle
public void setAngle(Float Angle)
Set 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本- Parameters:
Angle- 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-