model

package
v0.0.74 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoClassificationRequestBody

type AutoClassificationRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	TypeList *[]string `json:"type_list,omitempty"`
}

func (AutoClassificationRequestBody) String

type AutoClassificationResult

type AutoClassificationResult struct {
	Status *AutoClassificationResultStatus `json:"status"`

	Content *interface{} `json:"content"`

	Type string `json:"type"`

	Location [][]int32 `json:"location"`
}

func (AutoClassificationResult) String

func (o AutoClassificationResult) String() string

type AutoClassificationResultStatus added in v0.0.59

type AutoClassificationResultStatus struct {
	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg *string `json:"error_msg,omitempty"`
}

func (AutoClassificationResultStatus) String added in v0.0.59

type BankcardRequestBody

type BankcardRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (BankcardRequestBody) String

func (o BankcardRequestBody) String() string

type BankcardResult

type BankcardResult struct {
	BankName *string `json:"bank_name,omitempty"`

	CardNumber *string `json:"card_number,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	ExpiryDate *string `json:"expiry_date,omitempty"`

	Type *string `json:"type,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (BankcardResult) String

func (o BankcardResult) String() string

type BeneficiaryItem added in v0.0.67

type BeneficiaryItem struct {
	BeneficiaryName *InsurancePolicyDetail `json:"beneficiary_name,omitempty"`

	BeneficiaryType *InsurancePolicyDetail `json:"beneficiary_type,omitempty"`

	BeneficiaryOrder *InsurancePolicyDetail `json:"beneficiary_order,omitempty"`

	BeneficiaryShare *InsurancePolicyDetail `json:"beneficiary_share,omitempty"`
}

func (BeneficiaryItem) String added in v0.0.67

func (o BeneficiaryItem) String() string

type BusinessCardRequestBody

type BusinessCardRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	DetectDirection *bool `json:"detect_direction,omitempty"`

	ReturnAdjustedImage *bool `json:"return_adjusted_image,omitempty"`
}

func (BusinessCardRequestBody) String

func (o BusinessCardRequestBody) String() string

type BusinessCardResult

type BusinessCardResult struct {
	Name *[]string `json:"name,omitempty"`

	Title *[]string `json:"title,omitempty"`

	Company *[]string `json:"company,omitempty"`

	Department *[]string `json:"department,omitempty"`

	Phone *[]string `json:"phone,omitempty"`

	Address *[]string `json:"address,omitempty"`

	Email *[]string `json:"email,omitempty"`

	Fax *[]string `json:"fax,omitempty"`

	Postcode *[]string `json:"postcode,omitempty"`

	Website *[]string `json:"website,omitempty"`

	ExtraInfoList *[]ExtraInfoList `json:"extra_info_list,omitempty"`

	AdjustedImage *string `json:"adjusted_image,omitempty"`
}

func (BusinessCardResult) String

func (o BusinessCardResult) String() string

type BusinessLicenseRequestBody

type BusinessLicenseRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (BusinessLicenseRequestBody) String

type BusinessLicenseResult

type BusinessLicenseResult struct {
	RegistrationNumber *string `json:"registration_number,omitempty"`

	Name *string `json:"name,omitempty"`

	Type *string `json:"type,omitempty"`

	Address *string `json:"address,omitempty"`

	LegalRepresentative *string `json:"legal_representative,omitempty"`

	RegisteredCapital *string `json:"registered_capital,omitempty"`

	FoundDate *string `json:"found_date,omitempty"`

	BusinessTerm *string `json:"business_term,omitempty"`

	BusinessScope *string `json:"business_scope,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (BusinessLicenseResult) String

func (o BusinessLicenseResult) String() string

type ChileIdCardConfidence added in v0.0.72

type ChileIdCardConfidence struct {
	Surname *float32 `json:"surname,omitempty"`

	GivenName *float32 `json:"given_name,omitempty"`

	Nationality *float32 `json:"nationality,omitempty"`

	Sex *float32 `json:"sex,omitempty"`

	Birth *float32 `json:"birth,omitempty"`

	IssueDate *float32 `json:"issue_date,omitempty"`

	ExpiryDate *float32 `json:"expiry_date,omitempty"`

	DocumentNumber *float32 `json:"document_number,omitempty"`

	Number *float32 `json:"number,omitempty"`
}

func (ChileIdCardConfidence) String added in v0.0.72

func (o ChileIdCardConfidence) String() string

type ChileIdCardRequestBody added in v0.0.72

type ChileIdCardRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (ChileIdCardRequestBody) String added in v0.0.72

func (o ChileIdCardRequestBody) String() string

type ChileIdCardResult added in v0.0.72

type ChileIdCardResult struct {
	Surname *[]string `json:"surname,omitempty"`

	GivenName *string `json:"given_name,omitempty"`

	Nationality *string `json:"nationality,omitempty"`

	Sex *string `json:"sex,omitempty"`

	Birth *string `json:"birth,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	ExpiryDate *string `json:"expiry_date,omitempty"`

	DocumentNumber *string `json:"document_number,omitempty"`

	Number *string `json:"number,omitempty"`

	Confidence *ChileIdCardConfidence `json:"confidence,omitempty"`
}

func (ChileIdCardResult) String added in v0.0.72

func (o ChileIdCardResult) String() string

type DriverLicenseRequestBody

type DriverLicenseRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	Side *string `json:"side,omitempty"`

	ReturnIssuingAuthority *bool `json:"return_issuing_authority,omitempty"`
}

func (DriverLicenseRequestBody) String

func (o DriverLicenseRequestBody) String() string

type DriverLicenseResult

type DriverLicenseResult struct {
	Number *string `json:"number,omitempty"`

	Name *string `json:"name,omitempty"`

	Sex *string `json:"sex,omitempty"`

	Nationality *string `json:"nationality,omitempty"`

	Address *string `json:"address,omitempty"`

	Birth *string `json:"birth,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	Class *string `json:"class,omitempty"`

	ValidFrom *string `json:"valid_from,omitempty"`

	ValidTo *string `json:"valid_to,omitempty"`

	IssuingAuthority *string `json:"issuing_authority,omitempty"`

	FileNumber *string `json:"file_number,omitempty"`

	Record *string `json:"record,omitempty"`
}

func (DriverLicenseResult) String

func (o DriverLicenseResult) String() string

type ExtraInfoList

type ExtraInfoList struct {
	Item *string `json:"item,omitempty"`

	Value *string `json:"value,omitempty"`

	Note *[]string `json:"note,omitempty"`
}

func (ExtraInfoList) String

func (o ExtraInfoList) String() string

type FinancialStatementRequestBody added in v0.0.67

type FinancialStatementRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	ReturnTextLocation *bool `json:"return_text_location,omitempty"`

	ReturnConfidence *bool `json:"return_confidence,omitempty"`

	ReturnExcel *bool `json:"return_excel,omitempty"`

	ReturnTableLocation *bool `json:"return_table_location,omitempty"`

	ReturnImageSize *bool `json:"return_image_size,omitempty"`
}

func (FinancialStatementRequestBody) String added in v0.0.67

type FinancialStatementResult added in v0.0.67

type FinancialStatementResult struct {
	WordsRegionCount int32 `json:"words_region_count"`

	WordsRegionList []FinancialStatementWordsRegionList `json:"words_region_list"`

	Excel *string `json:"excel,omitempty"`

	ImageSize *FinancialStatementResultImageSize `json:"image_size,omitempty"`
}

func (FinancialStatementResult) String added in v0.0.67

func (o FinancialStatementResult) String() string

type FinancialStatementResultImageSize added in v0.0.67

type FinancialStatementResultImageSize struct {
	Height *int32 `json:"height,omitempty"`

	Width *int32 `json:"width,omitempty"`
}

func (FinancialStatementResultImageSize) String added in v0.0.67

type FinancialStatementWordsBlockList added in v0.0.67

type FinancialStatementWordsBlockList struct {
	Words *string `json:"words,omitempty"`

	Location *[][]int32 `json:"location,omitempty"`

	Confidence *float32 `json:"confidence,omitempty"`

	Rows *[]int32 `json:"rows,omitempty"`

	Columns *[]int32 `json:"columns,omitempty"`

	CellLocation *[][]int32 `json:"cell_location,omitempty"`
}

func (FinancialStatementWordsBlockList) String added in v0.0.67

type FinancialStatementWordsRegionList added in v0.0.67

type FinancialStatementWordsRegionList struct {
	Type *string `json:"type,omitempty"`

	WordsBlockCount *float32 `json:"words_block_count,omitempty"`

	TableLocation *[][]int32 `json:"table_location,omitempty"`

	WordsBlockList *[]FinancialStatementWordsBlockList `json:"words_block_list,omitempty"`
}

func (FinancialStatementWordsRegionList) String added in v0.0.67

type FlightItineraryRequestBody

type FlightItineraryRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (FlightItineraryRequestBody) String

type FlightItineraryResult

type FlightItineraryResult struct {
	SerialNumber *string `json:"serial_number,omitempty"`

	PassengerName *string `json:"passenger_name,omitempty"`

	IdNumber *string `json:"id_number,omitempty"`

	EndorsementsRestrictions *string `json:"endorsements_restrictions,omitempty"`

	OrderNumber *string `json:"order_number,omitempty"`

	Fare *string `json:"fare,omitempty"`

	CaacDevelopmentFund *string `json:"caac_development_fund,omitempty"`

	FuelSurcharge *string `json:"fuel_surcharge,omitempty"`

	OtherTaxes *string `json:"other_taxes,omitempty"`

	Total *string `json:"total,omitempty"`

	ETicketNumber *string `json:"e_ticket_number,omitempty"`

	CheckCode *string `json:"check_code,omitempty"`

	ReferenceInformation *string `json:"reference_information,omitempty"`

	Insurance *string `json:"insurance,omitempty"`

	AgentCode *string `json:"agent_code,omitempty"`

	IssueOrganization *string `json:"issue_organization,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	ItineraryList *[]ItineraryList `json:"itinerary_list,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (FlightItineraryResult) String

func (o FlightItineraryResult) String() string

type GeneralTableRequestBody

type GeneralTableRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	ReturnTextLocation *bool `json:"return_text_location,omitempty"`

	ReturnConfidence *bool `json:"return_confidence,omitempty"`

	ReturnExcel *bool `json:"return_excel,omitempty"`
}

func (GeneralTableRequestBody) String

func (o GeneralTableRequestBody) String() string

type GeneralTableResult

type GeneralTableResult struct {
	WordsRegionCount int32 `json:"words_region_count"`

	WordsRegionList []WordsRegionList `json:"words_region_list"`

	Excel *string `json:"excel,omitempty"`
}

func (GeneralTableResult) String

func (o GeneralTableResult) String() string

type GeneralTableWordsBlockList

type GeneralTableWordsBlockList struct {
	Words *string `json:"words,omitempty"`

	Confidence *float32 `json:"confidence,omitempty"`

	Location *[][]int32 `json:"location,omitempty"`

	WordsList *[]WordsListIem `json:"words_list,omitempty"`

	Rows *[]int32 `json:"rows,omitempty"`

	Columns *[]int32 `json:"columns,omitempty"`

	CellLocation *[][]int32 `json:"cell_location,omitempty"`
}

子区域识别文字块列表,输出顺序从左到右,先上后下。

func (GeneralTableWordsBlockList) String

type GeneralTextRequestBody

type GeneralTextRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	DetectDirection *bool `json:"detect_direction,omitempty"`

	QuickMode *bool `json:"quick_mode,omitempty"`
}

func (GeneralTextRequestBody) String

func (o GeneralTextRequestBody) String() string

type GeneralTextResult

type GeneralTextResult struct {
	Direction int32 `json:"direction"`

	WordsBlockCount int32 `json:"words_block_count"`

	WordsBlockList []GeneralTextWordsBlockList `json:"words_block_list"`
}

func (GeneralTextResult) String

func (o GeneralTextResult) String() string

type GeneralTextWordsBlockList

type GeneralTextWordsBlockList struct {
	Words string `json:"words"`

	Location [][]int32 `json:"location"`
}

识别文字块列表,输出顺序从左到右,先上后下。

func (GeneralTextWordsBlockList) String

func (o GeneralTextWordsBlockList) String() string

type HandwritingRequestBody

type HandwritingRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	QuickMode *bool `json:"quick_mode,omitempty"`

	CharSet *string `json:"char_set,omitempty"`

	DetectDirection *bool `json:"detect_direction,omitempty"`
}

func (HandwritingRequestBody) String

func (o HandwritingRequestBody) String() string

type HandwritingResult

type HandwritingResult struct {
	WordsBlockCount int32 `json:"words_block_count"`

	WordsBlockList []HandwritingWordsBlockList `json:"words_block_list"`
}

func (HandwritingResult) String

func (o HandwritingResult) String() string

type HandwritingWordsBlockList

type HandwritingWordsBlockList struct {
	Words *string `json:"words,omitempty"`

	Type *string `json:"type,omitempty"`

	Confidence *float32 `json:"confidence,omitempty"`

	Location *[][]int32 `json:"location,omitempty"`
}

func (HandwritingWordsBlockList) String

func (o HandwritingWordsBlockList) String() string

type IdCardRequestBody

type IdCardRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	Side *string `json:"side,omitempty"`

	ReturnVerification *bool `json:"return_verification,omitempty"`
}

func (IdCardRequestBody) String

func (o IdCardRequestBody) String() string

type IdCardResult

type IdCardResult struct {
	Name *string `json:"name,omitempty"`

	Sex *string `json:"sex,omitempty"`

	Birth *string `json:"birth,omitempty"`

	Ethnicity *string `json:"ethnicity,omitempty"`

	Address *string `json:"address,omitempty"`

	Number *string `json:"number,omitempty"`

	Issue *string `json:"issue,omitempty"`

	ValidFrom *string `json:"valid_from,omitempty"`

	ValidTo *string `json:"valid_to,omitempty"`

	VerificationResult *IdcardVerificationResult `json:"verification_result,omitempty"`
}

func (IdCardResult) String

func (o IdCardResult) String() string

type IdcardVerificationResult added in v0.0.59

type IdcardVerificationResult struct {
	ValidNumber *bool `json:"valid_number,omitempty"`

	ValidBirth *bool `json:"valid_birth,omitempty"`

	ValidSex *bool `json:"valid_sex,omitempty"`

	ValidDate *bool `json:"valid_date,omitempty"`
}

校验信息。仅在输入参数return_verification为true时,返回该字段,该字段包含valid_number、valid_birth、valid_sex和valid_date的校验信息。

func (IdcardVerificationResult) String added in v0.0.59

func (o IdcardVerificationResult) String() string

type InsuranceItem added in v0.0.67

type InsuranceItem struct {
	InsuranceName *InsurancePolicyDetail `json:"insurance_name,omitempty"`

	InsurancePeriod *InsurancePolicyDetail `json:"insurance_period,omitempty"`

	InsuranceAmount *InsurancePolicyDetail `json:"insurance_amount,omitempty"`

	PaymentFrequency *InsurancePolicyDetail `json:"payment_frequency,omitempty"`

	PaymentPeriod *InsurancePolicyDetail `json:"payment_period,omitempty"`

	PaymentAmount *InsurancePolicyDetail `json:"payment_amount,omitempty"`
}

func (InsuranceItem) String added in v0.0.67

func (o InsuranceItem) String() string

type InsurancePolicyDetail added in v0.0.67

type InsurancePolicyDetail struct {
	Words *string `json:"words,omitempty"`

	Location *[][]int32 `json:"location,omitempty"`
}

func (InsurancePolicyDetail) String added in v0.0.67

func (o InsurancePolicyDetail) String() string

type InsurancePolicyRequestBody added in v0.0.67

type InsurancePolicyRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	DetectDirection *bool `json:"detect_direction,omitempty"`
}

func (InsurancePolicyRequestBody) String added in v0.0.67

type InsurancePolicyResult added in v0.0.67

type InsurancePolicyResult struct {
	BankName *string `json:"bank_name,omitempty"`

	BillNumber *InsurancePolicyDetail `json:"bill_number,omitempty"`

	Company *InsurancePolicyDetail `json:"company,omitempty"`

	EffectiveDate *InsurancePolicyDetail `json:"effective_date,omitempty"`

	ApplicantName *InsurancePolicyDetail `json:"applicant_name,omitempty"`

	ApplicantSex *InsurancePolicyDetail `json:"applicant_sex,omitempty"`

	ApplicantBirthday *InsurancePolicyDetail `json:"applicant_birthday,omitempty"`

	ApplicantIdType *InsurancePolicyDetail `json:"applicant_id_type,omitempty"`

	ApplicantIdNumber *InsurancePolicyDetail `json:"applicant_id_number,omitempty"`

	InsurantList *[]InsurantItem `json:"insurant_list,omitempty"`

	BeneficiaryList *[]BeneficiaryItem `json:"beneficiary_list,omitempty"`

	InsuranceList *[]InsuranceItem `json:"insurance_list,omitempty"`
}

func (InsurancePolicyResult) String added in v0.0.67

func (o InsurancePolicyResult) String() string

type InsurantItem added in v0.0.67

type InsurantItem struct {
	InsurantName *InsurancePolicyDetail `json:"insurant_name,omitempty"`

	InsurantSex *InsurancePolicyDetail `json:"insurant_sex,omitempty"`

	InsurantBirthday *InsurancePolicyDetail `json:"insurant_birthday,omitempty"`

	InsurantIdType *InsurancePolicyDetail `json:"insurant_id_type,omitempty"`

	InsurantIdNumber *InsurancePolicyDetail `json:"insurant_id_number,omitempty"`
}

func (InsurantItem) String added in v0.0.67

func (o InsurantItem) String() string

type InvoiceVerificationRequestBody added in v0.0.59

type InvoiceVerificationRequestBody struct {
	Code string `json:"code"`

	Number string `json:"number"`

	IssueDate string `json:"issue_date"`

	CheckCode *string `json:"check_code,omitempty"`

	SubtotalAmount *string `json:"subtotal_amount,omitempty"`
}

func (InvoiceVerificationRequestBody) String added in v0.0.59

type ItemList

type ItemList struct {
	Name *string `json:"name,omitempty"`

	Specification *string `json:"specification,omitempty"`

	Unit *string `json:"unit,omitempty"`

	Quantity *string `json:"quantity,omitempty"`

	UnitPrice *string `json:"unit_price,omitempty"`

	LicensePlateNumber *string `json:"license_plate_number,omitempty"`

	Amount *string `json:"amount,omitempty"`

	TaxRate *string `json:"tax_rate,omitempty"`

	Tax *string `json:"tax,omitempty"`

	EndDate *string `json:"end_date,omitempty"`

	StartDate *string `json:"start_date,omitempty"`

	VehicleType *string `json:"vehicle_type,omitempty"`
}

func (ItemList) String

func (o ItemList) String() string

type ItineraryList

type ItineraryList struct {
	DepartureStation *string `json:"departure_station,omitempty"`

	DestinationStation *string `json:"destination_station,omitempty"`

	Carrier *string `json:"carrier,omitempty"`

	Flight *string `json:"flight,omitempty"`

	CabinClass *string `json:"cabin_class,omitempty"`

	Date *string `json:"date,omitempty"`

	Time *string `json:"time,omitempty"`

	FareBasis *string `json:"fare_basis,omitempty"`

	EffectiveDate *string `json:"effective_date,omitempty"`

	ExpiryDate *string `json:"expiry_date,omitempty"`

	BaggageAllowance *string `json:"baggage_allowance,omitempty"`
}

机票行程列表。

func (ItineraryList) String

func (o ItineraryList) String() string

type LicensePlateRequestBody

type LicensePlateRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (LicensePlateRequestBody) String

func (o LicensePlateRequestBody) String() string

type LicensePlateResult

type LicensePlateResult struct {
	PlateNumber string `json:"plate_number"`

	PlateColor string `json:"plate_color"`

	PlateLocation [][]int32 `json:"plate_location"`

	Confidence float32 `json:"confidence"`
}

func (LicensePlateResult) String

func (o LicensePlateResult) String() string

type MvsInvoiceRequestBody

type MvsInvoiceRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (MvsInvoiceRequestBody) String

func (o MvsInvoiceRequestBody) String() string

type MvsInvoiceResult

type MvsInvoiceResult struct {
	Code *string `json:"code,omitempty"`

	Number *string `json:"number,omitempty"`

	MachinePrintedCode *string `json:"machine_printed_code,omitempty"`

	MachinePrintedNumber *string `json:"machine_printed_number,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	MachineNumber *string `json:"machine_number,omitempty"`

	BuyerName *string `json:"buyer_name,omitempty"`

	BuyerOrganizationNumber *string `json:"buyer_organization_number,omitempty"`

	BuyerId *string `json:"buyer_id,omitempty"`

	SellerName *string `json:"seller_name,omitempty"`

	SellerPhone *string `json:"seller_phone,omitempty"`

	SellerId *string `json:"seller_id,omitempty"`

	SellerAccount *string `json:"seller_account,omitempty"`

	SellerAddress *string `json:"seller_address,omitempty"`

	SellerBank *string `json:"seller_bank,omitempty"`

	VehicleType *string `json:"vehicle_type,omitempty"`

	BrandModel *string `json:"brand_model,omitempty"`

	ManufacturingLocation *string `json:"manufacturing_location,omitempty"`

	QualityCertificate *string `json:"quality_certificate,omitempty"`

	ImportCertificate *string `json:"import_certificate,omitempty"`

	InspectionNumber *string `json:"inspection_number,omitempty"`

	EngineNumber *string `json:"engine_number,omitempty"`

	VehicleIdentificationNumber *string `json:"vehicle_identification_number,omitempty"`

	Tonnage *string `json:"tonnage,omitempty"`

	SeatingCapacity *string `json:"seating_capacity,omitempty"`

	TaxAuthority *string `json:"tax_authority,omitempty"`

	TaxAuthorityCode *string `json:"tax_authority_code,omitempty"`

	TaxPaymentReceipt *string `json:"tax_payment_receipt,omitempty"`

	TaxRate *string `json:"tax_rate,omitempty"`

	Tax *string `json:"tax,omitempty"`

	TaxExclusivePrice *string `json:"tax_exclusive_price,omitempty"`

	Total *string `json:"total,omitempty"`

	TotalChinese *string `json:"total_chinese,omitempty"`

	FiscalCode *string `json:"fiscal_code,omitempty"`
}

func (MvsInvoiceResult) String

func (o MvsInvoiceResult) String() string

type MyanmarDriverLicenseConfidence added in v0.0.72

type MyanmarDriverLicenseConfidence struct {
	CardNumber *float32 `json:"card_number,omitempty"`

	CardNumberEn *float32 `json:"card_number_en,omitempty"`

	Name *float32 `json:"name,omitempty"`

	NameEn *float32 `json:"name_en,omitempty"`

	NrcId *float32 `json:"nrc_id,omitempty"`

	NrcIdEn *float32 `json:"nrc_id_en,omitempty"`

	Birth *float32 `json:"Birth,omitempty"`

	BirthEn *float32 `json:"birth_en,omitempty"`

	BloodGroup *float32 `json:"blood_group,omitempty"`

	BloodGroupEn *float32 `json:"blood_group_en,omitempty"`

	ExpiriedDate *float32 `json:"expiried_date,omitempty"`

	ExpiriedDateEn *float32 `json:"expiried_date_en,omitempty"`
}

func (MyanmarDriverLicenseConfidence) String added in v0.0.72

type MyanmarDriverLicenseRequestBody added in v0.0.72

type MyanmarDriverLicenseRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	ConvertUnicode *bool `json:"convert_unicode,omitempty"`
}

func (MyanmarDriverLicenseRequestBody) String added in v0.0.72

type MyanmarDriverLicenseResult added in v0.0.72

type MyanmarDriverLicenseResult struct {
	CardNumber *string `json:"card_number,omitempty"`

	CardNumberEn *string `json:"card_number_en,omitempty"`

	Name *string `json:"name,omitempty"`

	NameEn *string `json:"name_en,omitempty"`

	NrcId *string `json:"nrc_id,omitempty"`

	NrcIdEn *string `json:"nrc_id_en,omitempty"`

	Birth *string `json:"Birth,omitempty"`

	BirthEn *string `json:"birth_en,omitempty"`

	BloodGroup *string `json:"blood_group,omitempty"`

	BloodGroupEn *string `json:"blood_group_en,omitempty"`

	ExpiriedDate *string `json:"expiried_date,omitempty"`

	ExpiriedDateEn *string `json:"expiried_date_en,omitempty"`

	Confidence *MyanmarDriverLicenseConfidence `json:"confidence,omitempty"`
}

func (MyanmarDriverLicenseResult) String added in v0.0.72

type MyanmarIdcardConfidence added in v0.0.72

type MyanmarIdcardConfidence struct {
	NrcId *float32 `json:"nrc_id,omitempty"`

	IssueDate *float32 `json:"issue_date,omitempty"`

	Name *float32 `json:"name,omitempty"`

	Birth *float32 `json:"birth,omitempty"`

	BloodlinesReligion *float32 `json:"bloodlines_religion,omitempty"`

	Height *float32 `json:"height,omitempty"`

	BloodGroup *float32 `json:"blood_group,omitempty"`

	CardId *float32 `json:"card_id,omitempty"`

	NrcIdBack *float32 `json:"nrc_id_back,omitempty"`

	Profession *float32 `json:"profession,omitempty"`

	Address *float32 `json:"address,omitempty"`
}

func (MyanmarIdcardConfidence) String added in v0.0.72

func (o MyanmarIdcardConfidence) String() string

type MyanmarIdcardRequestBody added in v0.0.72

type MyanmarIdcardRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	ConvertUnicode *bool `json:"convert_unicode,omitempty"`

	ReturnConfidence *bool `json:"return_confidence,omitempty"`

	ReturnPortraitImage *bool `json:"return_portrait_image,omitempty"`

	ReturnPortraitLocation *bool `json:"return_portrait_location,omitempty"`

	ReturnIdcardType *bool `json:"return_idcard_type,omitempty"`
}

func (MyanmarIdcardRequestBody) String added in v0.0.72

func (o MyanmarIdcardRequestBody) String() string

type MyanmarIdcardResult added in v0.0.72

type MyanmarIdcardResult struct {
	Side *string `json:"side,omitempty"`

	Class *string `json:"class,omitempty"`

	NrcId *string `json:"nrc_id,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	Name *string `json:"name,omitempty"`

	FatherName *string `json:"father_name,omitempty"`

	Birth *string `json:"birth,omitempty"`

	BloodlinesReligion *string `json:"bloodlines_religion,omitempty"`

	Height *string `json:"height,omitempty"`

	BloodGroup *string `json:"blood_group,omitempty"`

	CardId *string `json:"card_id,omitempty"`

	NrcIdBack *string `json:"nrc_id_back,omitempty"`

	Profession *string `json:"profession,omitempty"`

	Address *string `json:"address,omitempty"`

	Confidence *MyanmarIdcardConfidence `json:"confidence,omitempty"`

	PortraitImage *string `json:"portrait_image,omitempty"`

	PortraitLocation *[][]int32 `json:"portrait_location,omitempty"`

	IdcardType *string `json:"idcard_type,omitempty"`
}

func (MyanmarIdcardResult) String added in v0.0.72

func (o MyanmarIdcardResult) String() string

type PassportRequestBody

type PassportRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	CountryCode *string `json:"country_code,omitempty"`
}

func (PassportRequestBody) String

func (o PassportRequestBody) String() string

type PassportResult

type PassportResult struct {
	PassportType *string `json:"passport_type,omitempty"`

	CountryCode *string `json:"country_code,omitempty"`

	PassportNumber *string `json:"passport_number,omitempty"`

	Nationality *string `json:"nationality,omitempty"`

	Surname *string `json:"surname,omitempty"`

	GivenName *string `json:"given_name,omitempty"`

	Sex *string `json:"sex,omitempty"`

	DateOfBirth *string `json:"date_of_birth,omitempty"`

	DateOfExpiry *string `json:"date_of_expiry,omitempty"`

	DateOfIssue *string `json:"date_of_issue,omitempty"`

	PlaceOfBirth *string `json:"place_of_birth,omitempty"`

	PlaceOfIssue *string `json:"place_of_issue,omitempty"`

	IssuingAuthority *string `json:"issuing_authority,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`

	ExtraInfo *interface{} `json:"extra_info,omitempty"`
}

func (PassportResult) String

func (o PassportResult) String() string

type QualificationCategory added in v0.0.67

type QualificationCategory struct {
	Category *string `json:"category,omitempty"`

	InitialIssueDate *string `json:"initial_issue_date,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	ExpiryDate *string `json:"expiry_date,omitempty"`
}

func (QualificationCategory) String added in v0.0.67

func (o QualificationCategory) String() string

type QualificationCategoryConfidence added in v0.0.67

type QualificationCategoryConfidence struct {
	Category *float32 `json:"category,omitempty"`

	InitialIssueDate *float32 `json:"initial_issue_date,omitempty"`

	IssueDate *float32 `json:"issue_date,omitempty"`

	ExpiryDate *float32 `json:"expiry_date,omitempty"`
}

func (QualificationCategoryConfidence) String added in v0.0.67

type QualificationCertificateRequestBody added in v0.0.67

type QualificationCertificateRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (QualificationCertificateRequestBody) String added in v0.0.67

type QualificationCertificateResult added in v0.0.67

type QualificationCertificateResult struct {
	IdNumber *string `json:"id_number,omitempty"`

	AssessmentDate *string `json:"assessment_date,omitempty"`

	CertificateNumber *string `json:"certificate_number,omitempty"`

	FileNumber *string `json:"file_number,omitempty"`

	UnionCardNumber *string `json:"union_card_number,omitempty"`

	ContinuingEducationInfo *string `json:"continuing_education_info,omitempty"`

	Sex *string `json:"sex,omitempty"`

	PhoneNumber *string `json:"phone_number,omitempty"`

	RegistrationDate *string `json:"registration_date,omitempty"`

	WorkUnit *string `json:"work_unit,omitempty"`

	IntegrityAssessmentInfo *string `json:"integrity_assessment_info,omitempty"`

	Nationality *string `json:"nationality,omitempty"`

	Name *string `json:"name,omitempty"`

	Address *string `json:"address,omitempty"`

	DrivingClass *string `json:"driving_class,omitempty"`

	IssuingAuthority *string `json:"issuing_authority,omitempty"`

	BirthDate *string `json:"birth_date,omitempty"`

	QualificationCategoryList *[]QualificationCategory `json:"qualification_category_list,omitempty"`

	Confidence *QualificationConfidence `json:"confidence,omitempty"`
}

func (QualificationCertificateResult) String added in v0.0.67

type QualificationConfidence added in v0.0.67

type QualificationConfidence struct {
	IdNumber *float32 `json:"id_number,omitempty"`

	AssessmentDate *float32 `json:"assessment_date,omitempty"`

	CertificateNumber *float32 `json:"certificate_number,omitempty"`

	FileNumber *float32 `json:"file_number,omitempty"`

	UnionCardNumber *float32 `json:"union_card_number,omitempty"`

	ContinuingEducationInfo *float32 `json:"continuing_education_info,omitempty"`

	Sex *float32 `json:"sex,omitempty"`

	PhoneNumber *float32 `json:"phone_number,omitempty"`

	RegistrationDate *float32 `json:"registration_date,omitempty"`

	WorkUnit *float32 `json:"work_unit,omitempty"`

	IntegrityAssessmentInfo *float32 `json:"integrity_assessment_info,omitempty"`

	Nationality *float32 `json:"nationality,omitempty"`

	Name *float32 `json:"name,omitempty"`

	Address *float32 `json:"address,omitempty"`

	DrivingClass *float32 `json:"driving_class,omitempty"`

	IssuingAuthority *float32 `json:"issuing_authority,omitempty"`

	BirthDate *float32 `json:"birth_date,omitempty"`

	QualificationCategoryList *[]QualificationCategoryConfidence `json:"qualification_category_list,omitempty"`
}

func (QualificationConfidence) String added in v0.0.67

func (o QualificationConfidence) String() string

type QuotaInvoiceRequestBody

type QuotaInvoiceRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (QuotaInvoiceRequestBody) String

func (o QuotaInvoiceRequestBody) String() string

type QuotaInvoiceResult

type QuotaInvoiceResult struct {
	Number *string `json:"number,omitempty"`

	Code *string `json:"code,omitempty"`

	Location *string `json:"location,omitempty"`

	Amount *string `json:"amount,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (QuotaInvoiceResult) String

func (o QuotaInvoiceResult) String() string

type RecognizeAutoClassificationRequest

type RecognizeAutoClassificationRequest struct {
	Body *AutoClassificationRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeAutoClassificationRequest) String

type RecognizeAutoClassificationResponse

type RecognizeAutoClassificationResponse struct {
	Result         *[]AutoClassificationResult `json:"result,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

Response Object

func (RecognizeAutoClassificationResponse) String

type RecognizeBankcardRequest

type RecognizeBankcardRequest struct {
	Body *BankcardRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeBankcardRequest) String

func (o RecognizeBankcardRequest) String() string

type RecognizeBankcardResponse

type RecognizeBankcardResponse struct {
	Result         *BankcardResult `json:"result,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (RecognizeBankcardResponse) String

func (o RecognizeBankcardResponse) String() string

type RecognizeBusinessCardRequest

type RecognizeBusinessCardRequest struct {
	Body *BusinessCardRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeBusinessCardRequest) String

type RecognizeBusinessCardResponse

type RecognizeBusinessCardResponse struct {
	Result         *BusinessCardResult `json:"result,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (RecognizeBusinessCardResponse) String

type RecognizeBusinessLicenseRequest

type RecognizeBusinessLicenseRequest struct {
	Body *BusinessLicenseRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeBusinessLicenseRequest) String

type RecognizeBusinessLicenseResponse

type RecognizeBusinessLicenseResponse struct {
	Result         *BusinessLicenseResult `json:"result,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (RecognizeBusinessLicenseResponse) String

type RecognizeChileIdCardRequest added in v0.0.72

type RecognizeChileIdCardRequest struct {
	Body *ChileIdCardRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeChileIdCardRequest) String added in v0.0.72

type RecognizeChileIdCardResponse added in v0.0.72

type RecognizeChileIdCardResponse struct {
	Result         *ChileIdCardResult `json:"result,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (RecognizeChileIdCardResponse) String added in v0.0.72

type RecognizeDriverLicenseRequest

type RecognizeDriverLicenseRequest struct {
	Body *DriverLicenseRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeDriverLicenseRequest) String

type RecognizeDriverLicenseResponse

type RecognizeDriverLicenseResponse struct {
	Result         *DriverLicenseResult `json:"result,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (RecognizeDriverLicenseResponse) String

type RecognizeFinancialStatementRequest added in v0.0.67

type RecognizeFinancialStatementRequest struct {
	Body *FinancialStatementRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeFinancialStatementRequest) String added in v0.0.67

type RecognizeFinancialStatementResponse added in v0.0.67

type RecognizeFinancialStatementResponse struct {
	Result         *FinancialStatementResult `json:"result,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (RecognizeFinancialStatementResponse) String added in v0.0.67

type RecognizeFlightItineraryRequest

type RecognizeFlightItineraryRequest struct {
	Body *FlightItineraryRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeFlightItineraryRequest) String

type RecognizeFlightItineraryResponse

type RecognizeFlightItineraryResponse struct {
	Result         *FlightItineraryResult `json:"result,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (RecognizeFlightItineraryResponse) String

type RecognizeGeneralTableRequest

type RecognizeGeneralTableRequest struct {
	Body *GeneralTableRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeGeneralTableRequest) String

type RecognizeGeneralTableResponse

type RecognizeGeneralTableResponse struct {
	Result         *GeneralTableResult `json:"result,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (RecognizeGeneralTableResponse) String

type RecognizeGeneralTextRequest

type RecognizeGeneralTextRequest struct {
	Body *GeneralTextRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeGeneralTextRequest) String

type RecognizeGeneralTextResponse

type RecognizeGeneralTextResponse struct {
	Result         *GeneralTextResult `json:"result,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (RecognizeGeneralTextResponse) String

type RecognizeHandwritingRequest

type RecognizeHandwritingRequest struct {
	Body *HandwritingRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeHandwritingRequest) String

type RecognizeHandwritingResponse

type RecognizeHandwritingResponse struct {
	Result         *HandwritingResult `json:"result,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (RecognizeHandwritingResponse) String

type RecognizeIdCardRequest

type RecognizeIdCardRequest struct {
	Body *IdCardRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeIdCardRequest) String

func (o RecognizeIdCardRequest) String() string

type RecognizeIdCardResponse

type RecognizeIdCardResponse struct {
	Result         *IdCardResult `json:"result,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (RecognizeIdCardResponse) String

func (o RecognizeIdCardResponse) String() string

type RecognizeInsurancePolicyRequest added in v0.0.67

type RecognizeInsurancePolicyRequest struct {
	Body *InsurancePolicyRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeInsurancePolicyRequest) String added in v0.0.67

type RecognizeInsurancePolicyResponse added in v0.0.67

type RecognizeInsurancePolicyResponse struct {
	Result         *InsurancePolicyResult `json:"result,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (RecognizeInsurancePolicyResponse) String added in v0.0.67

type RecognizeInvoiceVerificationRequest added in v0.0.59

type RecognizeInvoiceVerificationRequest struct {
	Body *InvoiceVerificationRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeInvoiceVerificationRequest) String added in v0.0.59

type RecognizeInvoiceVerificationResponse added in v0.0.59

type RecognizeInvoiceVerificationResponse struct {
	Result         *interface{} `json:"result,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (RecognizeInvoiceVerificationResponse) String added in v0.0.59

type RecognizeLicensePlateRequest

type RecognizeLicensePlateRequest struct {
	Body *LicensePlateRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeLicensePlateRequest) String

type RecognizeLicensePlateResponse

type RecognizeLicensePlateResponse struct {
	Result         *[]LicensePlateResult `json:"result,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (RecognizeLicensePlateResponse) String

type RecognizeMvsInvoiceRequest

type RecognizeMvsInvoiceRequest struct {
	Body *MvsInvoiceRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeMvsInvoiceRequest) String

type RecognizeMvsInvoiceResponse

type RecognizeMvsInvoiceResponse struct {
	Result         *MvsInvoiceResult `json:"result,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (RecognizeMvsInvoiceResponse) String

type RecognizeMyanmarDriverLicenseRequest added in v0.0.72

type RecognizeMyanmarDriverLicenseRequest struct {
	Body *MyanmarDriverLicenseRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeMyanmarDriverLicenseRequest) String added in v0.0.72

type RecognizeMyanmarDriverLicenseResponse added in v0.0.72

type RecognizeMyanmarDriverLicenseResponse struct {
	Result         *MyanmarDriverLicenseResult `json:"result,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

Response Object

func (RecognizeMyanmarDriverLicenseResponse) String added in v0.0.72

type RecognizeMyanmarIdcardRequest added in v0.0.72

type RecognizeMyanmarIdcardRequest struct {
	Body *MyanmarIdcardRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeMyanmarIdcardRequest) String added in v0.0.72

type RecognizeMyanmarIdcardResponse added in v0.0.72

type RecognizeMyanmarIdcardResponse struct {
	Result         *MyanmarIdcardResult `json:"result,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (RecognizeMyanmarIdcardResponse) String added in v0.0.72

type RecognizePassportRequest

type RecognizePassportRequest struct {
	Body *PassportRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizePassportRequest) String

func (o RecognizePassportRequest) String() string

type RecognizePassportResponse

type RecognizePassportResponse struct {
	Result         *PassportResult `json:"result,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (RecognizePassportResponse) String

func (o RecognizePassportResponse) String() string

type RecognizeQualificationCertificateRequest added in v0.0.67

type RecognizeQualificationCertificateRequest struct {
	Body *QualificationCertificateRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeQualificationCertificateRequest) String added in v0.0.67

type RecognizeQualificationCertificateResponse added in v0.0.67

type RecognizeQualificationCertificateResponse struct {
	Result         *QualificationCertificateResult `json:"result,omitempty"`
	HttpStatusCode int                             `json:"-"`
}

Response Object

func (RecognizeQualificationCertificateResponse) String added in v0.0.67

type RecognizeQuotaInvoiceRequest

type RecognizeQuotaInvoiceRequest struct {
	Body *QuotaInvoiceRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeQuotaInvoiceRequest) String

type RecognizeQuotaInvoiceResponse

type RecognizeQuotaInvoiceResponse struct {
	Result         *QuotaInvoiceResult `json:"result,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (RecognizeQuotaInvoiceResponse) String

type RecognizeTaxiInvoiceRequest

type RecognizeTaxiInvoiceRequest struct {
	Body *TaxiInvoiceRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeTaxiInvoiceRequest) String

type RecognizeTaxiInvoiceResponse

type RecognizeTaxiInvoiceResponse struct {
	Result         *TaxiInvoiceResult `json:"result,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (RecognizeTaxiInvoiceResponse) String

type RecognizeThailandIdcardRequest added in v0.0.72

type RecognizeThailandIdcardRequest struct {
	Body *ThailandIdcardRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeThailandIdcardRequest) String added in v0.0.72

type RecognizeThailandIdcardResponse added in v0.0.72

type RecognizeThailandIdcardResponse struct {
	Result         *ThailandIdcardResult `json:"result,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (RecognizeThailandIdcardResponse) String added in v0.0.72

type RecognizeThailandLicensePlateRequest added in v0.0.72

type RecognizeThailandLicensePlateRequest struct {
	Body *ThailandLicensePlateRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeThailandLicensePlateRequest) String added in v0.0.72

type RecognizeThailandLicensePlateResponse added in v0.0.72

type RecognizeThailandLicensePlateResponse struct {
	Result         *[]ThailandLicensePlateItem `json:"result,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

Response Object

func (RecognizeThailandLicensePlateResponse) String added in v0.0.72

type RecognizeTollInvoiceRequest

type RecognizeTollInvoiceRequest struct {
	Body *TollInvoiceRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeTollInvoiceRequest) String

type RecognizeTollInvoiceResponse

type RecognizeTollInvoiceResponse struct {
	Result         *TollInvoiceResult `json:"result,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (RecognizeTollInvoiceResponse) String

type RecognizeTrainTicketRequest

type RecognizeTrainTicketRequest struct {
	Body *TrainTicketRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeTrainTicketRequest) String

type RecognizeTrainTicketResponse

type RecognizeTrainTicketResponse struct {
	Result         *TrainTicketResult `json:"result,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (RecognizeTrainTicketResponse) String

type RecognizeTransportationLicenseRequest

type RecognizeTransportationLicenseRequest struct {
	Body *TransportationLicenseRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeTransportationLicenseRequest) String

type RecognizeTransportationLicenseResponse

type RecognizeTransportationLicenseResponse struct {
	Result         *TransportationLicenseResult `json:"result,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

Response Object

func (RecognizeTransportationLicenseResponse) String

type RecognizeVatInvoiceRequest

type RecognizeVatInvoiceRequest struct {
	Body *VatInvoiceRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeVatInvoiceRequest) String

type RecognizeVatInvoiceResponse

type RecognizeVatInvoiceResponse struct {
	Result         *VatInvoiceResult `json:"result,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (RecognizeVatInvoiceResponse) String

type RecognizeVehicleLicenseRequest

type RecognizeVehicleLicenseRequest struct {
	Body *VehicleLicenseRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeVehicleLicenseRequest) String

type RecognizeVehicleLicenseResponse

type RecognizeVehicleLicenseResponse struct {
	Result         *VehicleLicenseResult `json:"result,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (RecognizeVehicleLicenseResponse) String

type RecognizeVinRequest

type RecognizeVinRequest struct {
	Body *VinRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeVinRequest) String

func (o RecognizeVinRequest) String() string

type RecognizeVinResponse

type RecognizeVinResponse struct {
	Result         *VinResult `json:"result,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (RecognizeVinResponse) String

func (o RecognizeVinResponse) String() string

type RecognizeWebImageRequest

type RecognizeWebImageRequest struct {
	Body *WebImageRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeWebImageRequest) String

func (o RecognizeWebImageRequest) String() string

type RecognizeWebImageResponse

type RecognizeWebImageResponse struct {
	Result         *WebImageResult `json:"result,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (RecognizeWebImageResponse) String

func (o RecognizeWebImageResponse) String() string

type TaxiInvoiceRequestBody

type TaxiInvoiceRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (TaxiInvoiceRequestBody) String

func (o TaxiInvoiceRequestBody) String() string

type TaxiInvoiceResult

type TaxiInvoiceResult struct {
	Location *string `json:"location,omitempty"`

	Code *string `json:"code,omitempty"`

	Number *string `json:"number,omitempty"`

	PhoneNumber *string `json:"phone_number,omitempty"`

	Company *string `json:"company,omitempty"`

	TaxiNumber *string `json:"taxi_number,omitempty"`

	CertificateNumber *string `json:"certificate_number,omitempty"`

	IdentificationNumber *string `json:"identification_number,omitempty"`

	Date *string `json:"date,omitempty"`

	BoardingTime *string `json:"boarding_time,omitempty"`

	AlightingTime *string `json:"alighting_time,omitempty"`

	Time *string `json:"time,omitempty"`

	UnitPrice *string `json:"unit_price,omitempty"`

	Distance *string `json:"distance,omitempty"`

	WaitingTime *string `json:"waiting_time,omitempty"`

	Fare *string `json:"fare,omitempty"`

	FuelOilSurcharge *string `json:"fuel_oil_surcharge,omitempty"`

	CallServiceSurcharge *string `json:"call_service_surcharge,omitempty"`

	Total *string `json:"total,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (TaxiInvoiceResult) String

func (o TaxiInvoiceResult) String() string

type ThailandIdcardConfidence added in v0.0.72

type ThailandIdcardConfidence struct {
	IdNumber *float32 `json:"id_number,omitempty"`

	NameTh *float32 `json:"name_th,omitempty"`

	FirstNameEn *float32 `json:"first_name_en,omitempty"`

	LastNameEn *float32 `json:"last_name_en,omitempty"`

	DateOfBirthTh *float32 `json:"date_of_birth_th,omitempty"`

	DateOfBirthEn *float32 `json:"date_of_birth_en,omitempty"`

	ReligionTh *float32 `json:"religion_th,omitempty"`

	AddressTh *float32 `json:"address_th,omitempty"`

	DateOfIssueTh *float32 `json:"date_of_issue_th,omitempty"`

	DateOfIssueEn *float32 `json:"date_of_issue_en,omitempty"`

	DateOfExpiryTh *float32 `json:"date_of_expiry_th,omitempty"`

	DateOfExpiryEn *float32 `json:"date_of_expiry_en,omitempty"`

	SerialNumber *float32 `json:"serial_number,omitempty"`

	CardNumber *float32 `json:"card_number,omitempty"`

	LaserNumber *float32 `json:"laser_number,omitempty"`
}

func (ThailandIdcardConfidence) String added in v0.0.72

func (o ThailandIdcardConfidence) String() string

type ThailandIdcardRequestBody added in v0.0.72

type ThailandIdcardRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	Side *string `json:"side,omitempty"`

	ReturnPortraitImage *bool `json:"return_portrait_image,omitempty"`

	ReturnPortraitLocation *bool `json:"return_portrait_location,omitempty"`

	ReturnIdcardType *bool `json:"return_idcard_type,omitempty"`
}

func (ThailandIdcardRequestBody) String added in v0.0.72

func (o ThailandIdcardRequestBody) String() string

type ThailandIdcardResult added in v0.0.72

type ThailandIdcardResult struct {
	Side *string `json:"side,omitempty"`

	IdNumber *string `json:"id_number,omitempty"`

	NameTh *string `json:"name_th,omitempty"`

	FirstNameEn *string `json:"first_name_en,omitempty"`

	LastNameEn *string `json:"last_name_en,omitempty"`

	DateOfBirthTh *string `json:"date_of_birth_th,omitempty"`

	DateOfBirthEn *string `json:"date_of_birth_en,omitempty"`

	ReligionTh *string `json:"religion_th,omitempty"`

	AddressTh *string `json:"address_th,omitempty"`

	DateOfIssueTh *string `json:"date_of_issue_th,omitempty"`

	DateOfIssueEn *string `json:"date_of_issue_en,omitempty"`

	DateOfExpiryTh *string `json:"date_of_expiry_th,omitempty"`

	DateOfExpiryEn *string `json:"date_of_expiry_en,omitempty"`

	SerialNumber *string `json:"serial_number,omitempty"`

	CardNumber *string `json:"card_number,omitempty"`

	LaserNumber *string `json:"laser_number,omitempty"`

	Confidence *ThailandIdcardConfidence `json:"confidence,omitempty"`

	PortraitImage *string `json:"portrait_image,omitempty"`

	PortraitLocation *[][]int32 `json:"portrait_location,omitempty"`

	IdcardType *string `json:"idcard_type,omitempty"`
}

func (ThailandIdcardResult) String added in v0.0.72

func (o ThailandIdcardResult) String() string

type ThailandLicensePlateItem added in v0.0.72

type ThailandLicensePlateItem struct {
	PlateNumber *string `json:"plate_number,omitempty"`

	PlateLocation *[][]int32 `json:"plate_location,omitempty"`

	Confidence *float32 `json:"confidence,omitempty"`
}

func (ThailandLicensePlateItem) String added in v0.0.72

func (o ThailandLicensePlateItem) String() string

type ThailandLicensePlateRequestBody added in v0.0.72

type ThailandLicensePlateRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (ThailandLicensePlateRequestBody) String added in v0.0.72

type TollInvoiceRequestBody

type TollInvoiceRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (TollInvoiceRequestBody) String

func (o TollInvoiceRequestBody) String() string

type TollInvoiceResult

type TollInvoiceResult struct {
	Code *string `json:"code,omitempty"`

	Number *string `json:"number,omitempty"`

	Entry *string `json:"entry,omitempty"`

	Exit *string `json:"exit,omitempty"`

	Amount *string `json:"amount,omitempty"`

	Cashier *string `json:"cashier,omitempty"`

	VehicleType *string `json:"vehicle_type,omitempty"`

	Date *string `json:"date,omitempty"`

	Time *string `json:"time,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (TollInvoiceResult) String

func (o TollInvoiceResult) String() string

type TrainTicketRequestBody

type TrainTicketRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (TrainTicketRequestBody) String

func (o TrainTicketRequestBody) String() string

type TrainTicketResult

type TrainTicketResult struct {
	TicketId *string `json:"ticket_id,omitempty"`

	CheckPort *string `json:"check_port,omitempty"`

	TrainNumber *string `json:"train_number,omitempty"`

	DepartureStation *string `json:"departure_station,omitempty"`

	DestinationStation *string `json:"destination_station,omitempty"`

	DepartureStationEn *string `json:"departure_station_en,omitempty"`

	DestinationStationEn *string `json:"destination_station_en,omitempty"`

	DepartureTime *string `json:"departure_time,omitempty"`

	SeatNumber *string `json:"seat_number,omitempty"`

	TicketPrice *string `json:"ticket_price,omitempty"`

	SaleMethod *string `json:"sale_method,omitempty"`

	SeatCategory *string `json:"seat_category,omitempty"`

	TicketChanging *string `json:"ticket_changing,omitempty"`

	IdNumber *string `json:"id_number,omitempty"`

	Name *string `json:"name,omitempty"`

	LogId *string `json:"log_id,omitempty"`

	SaleLocation *string `json:"sale_location,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (TrainTicketResult) String

func (o TrainTicketResult) String() string

type TransportationLicenseRequestBody

type TransportationLicenseRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (TransportationLicenseRequestBody) String

type TransportationLicenseResult

type TransportationLicenseResult struct {
	OwnerName *string `json:"owner_name,omitempty"`

	LicenseNumber *string `json:"license_number,omitempty"`

	VehicleNumber *string `json:"vehicle_number,omitempty"`

	VehicleType *string `json:"vehicle_type,omitempty"`

	VehicleWeight *string `json:"vehicle_weight,omitempty"`

	VehicleSize *string `json:"vehicle_size,omitempty"`

	IssuingAuthority *string `json:"issuing_authority,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	OwnerAddress *string `json:"owner_address,omitempty"`

	EconomicType *string `json:"economic_type,omitempty"`

	BusinessCertificate *string `json:"business_certificate,omitempty"`

	BusinessScope *string `json:"business_scope,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (TransportationLicenseResult) String

type VatInvoiceRequestBody

type VatInvoiceRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	AdvancedMode *bool `json:"advanced_mode,omitempty"`
}

func (VatInvoiceRequestBody) String

func (o VatInvoiceRequestBody) String() string

type VatInvoiceResult

type VatInvoiceResult struct {
	Type *string `json:"type,omitempty"`

	SerialNumber *string `json:"serial_number,omitempty"`

	Attribution *string `json:"attribution,omitempty"`

	SupervisionSeal *[]string `json:"supervision_seal,omitempty"`

	Code *string `json:"code,omitempty"`

	MachineNumber *string `json:"machine_number,omitempty"`

	PrintNumber *string `json:"print_number,omitempty"`

	CheckCode *string `json:"check_code,omitempty"`

	Number *string `json:"number,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	EncryptionBlock *string `json:"encryption_block,omitempty"`

	BuyerName *string `json:"buyer_name,omitempty"`

	BuyerId *string `json:"buyer_id,omitempty"`

	BuyerAddress *string `json:"buyer_address,omitempty"`

	BuyerBank *string `json:"buyer_bank,omitempty"`

	SellerName *string `json:"seller_name,omitempty"`

	SellerId *string `json:"seller_id,omitempty"`

	SellerAddress *string `json:"seller_address,omitempty"`

	SellerBank *string `json:"seller_bank,omitempty"`

	SubtotalAmount *string `json:"subtotal_amount,omitempty"`

	SubtotalTax *string `json:"subtotal_tax,omitempty"`

	Total *string `json:"total,omitempty"`

	TotalInWords *string `json:"total_in_words,omitempty"`

	Remarks *string `json:"remarks,omitempty"`

	Receiver *string `json:"receiver,omitempty"`

	Reviewer *string `json:"reviewer,omitempty"`

	Issuer *string `json:"issuer,omitempty"`

	SellerSeal *[]string `json:"seller_seal,omitempty"`

	ItemList *[]ItemList `json:"item_list,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (VatInvoiceResult) String

func (o VatInvoiceResult) String() string

type VehicleLicenseRequestBody

type VehicleLicenseRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	Side *string `json:"side,omitempty"`

	ReturnIssuingAuthority *bool `json:"return_issuing_authority,omitempty"`
}

func (VehicleLicenseRequestBody) String

func (o VehicleLicenseRequestBody) String() string

type VehicleLicenseResult

type VehicleLicenseResult struct {
	Number *string `json:"number,omitempty"`

	VehicleType *string `json:"vehicle_type,omitempty"`

	Name *string `json:"name,omitempty"`

	Address *string `json:"address,omitempty"`

	UseCharacter *string `json:"use_character,omitempty"`

	Model *string `json:"model,omitempty"`

	EngineNo *string `json:"engine_no,omitempty"`

	Vin *string `json:"vin,omitempty"`

	RegisterDate *string `json:"register_date,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	IssuingAuthority *string `json:"issuing_authority,omitempty"`

	FileNo *string `json:"file_no,omitempty"`

	ApprovedPassengers *string `json:"approved_passengers,omitempty"`

	GrossMass *string `json:"gross_mass,omitempty"`

	UnladenMass *string `json:"unladen_mass,omitempty"`

	ApprovedLoad *string `json:"approved_load,omitempty"`

	Dimension *string `json:"dimension,omitempty"`

	TractionMass *string `json:"traction_mass,omitempty"`

	Remarks *string `json:"remarks,omitempty"`

	InspectionRecord *string `json:"inspection_record,omitempty"`

	CodeNumber *string `json:"code_number,omitempty"`
}

func (VehicleLicenseResult) String

func (o VehicleLicenseResult) String() string

type VinRequestBody

type VinRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (VinRequestBody) String

func (o VinRequestBody) String() string

type VinResult

type VinResult struct {
	Vin string `json:"vin"`
}

func (VinResult) String

func (o VinResult) String() string

type WebImageRequestBody

type WebImageRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	DetectDirection *bool `json:"detect_direction,omitempty"`

	ExtractType *[]string `json:"extract_type,omitempty"`
}

func (WebImageRequestBody) String

func (o WebImageRequestBody) String() string

type WebImageResult

type WebImageResult struct {
	WordsBlockCount int32 `json:"words_block_count"`

	WordsBlockList []WebImageWordsBlockList `json:"words_block_list"`
}

func (WebImageResult) String

func (o WebImageResult) String() string

type WebImageWordsBlockList

type WebImageWordsBlockList struct {
	Words *string `json:"words,omitempty"`

	Confidence *float32 `json:"confidence,omitempty"`

	Location *[][]int32 `json:"location,omitempty"`

	ExtractedData *interface{} `json:"extracted_data,omitempty"`

	ContactInfo *interface{} `json:"contact_info,omitempty"`

	ImageSize *interface{} `json:"image_size,omitempty"`

	Height *int32 `json:"height,omitempty"`

	Width *int32 `json:"width,omitempty"`

	Name *string `json:"name,omitempty"`

	Phone *string `json:"phone,omitempty"`

	Province *string `json:"province,omitempty"`

	City *string `json:"city,omitempty"`

	District *string `json:"district,omitempty"`

	DetailAddress *string `json:"detail_address,omitempty"`
}

func (WebImageWordsBlockList) String

func (o WebImageWordsBlockList) String() string

type WordsListIem added in v0.0.68

type WordsListIem struct {
	Words *string `json:"words,omitempty"`

	Confidence *float32 `json:"confidence,omitempty"`

	Location *[][]int32 `json:"location,omitempty"`
}

单元格内文字段列表。

func (WordsListIem) String added in v0.0.68

func (o WordsListIem) String() string

type WordsRegionList

type WordsRegionList struct {
	Type string `json:"type"`

	WordsBlockCount int32 `json:"words_block_count"`

	WordsBlockList []GeneralTableWordsBlockList `json:"words_block_list"`
}

文字区域识别结果列表,输出顺序从左到右,先上后下。

func (WordsRegionList) String

func (o WordsRegionList) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL