InvoiceKvModelSubTypeDetails

class oci.ai_document.models.InvoiceKvModelSubTypeDetails(**kwargs)

Bases: object

Invoice KV model sub type details

Attributes

MODEL_SUB_TYPE_DRIVER_LICENSE A constant which can be used with the model_sub_type property of a InvoiceKvModelSubTypeDetails.
MODEL_SUB_TYPE_HEALTH_INSURANCE_ID A constant which can be used with the model_sub_type property of a InvoiceKvModelSubTypeDetails.
MODEL_SUB_TYPE_INVOICE A constant which can be used with the model_sub_type property of a InvoiceKvModelSubTypeDetails.
MODEL_SUB_TYPE_PASSPORT A constant which can be used with the model_sub_type property of a InvoiceKvModelSubTypeDetails.
MODEL_SUB_TYPE_RECEIPT A constant which can be used with the model_sub_type property of a InvoiceKvModelSubTypeDetails.
model_sub_type [Required] Gets the model_sub_type of this InvoiceKvModelSubTypeDetails.

Methods

__init__(**kwargs) Initializes a new InvoiceKvModelSubTypeDetails object with values from keyword arguments.
MODEL_SUB_TYPE_DRIVER_LICENSE = 'DRIVER_LICENSE'

A constant which can be used with the model_sub_type property of a InvoiceKvModelSubTypeDetails. This constant has a value of “DRIVER_LICENSE”

MODEL_SUB_TYPE_HEALTH_INSURANCE_ID = 'HEALTH_INSURANCE_ID'

A constant which can be used with the model_sub_type property of a InvoiceKvModelSubTypeDetails. This constant has a value of “HEALTH_INSURANCE_ID”

MODEL_SUB_TYPE_INVOICE = 'INVOICE'

A constant which can be used with the model_sub_type property of a InvoiceKvModelSubTypeDetails. This constant has a value of “INVOICE”

MODEL_SUB_TYPE_PASSPORT = 'PASSPORT'

A constant which can be used with the model_sub_type property of a InvoiceKvModelSubTypeDetails. This constant has a value of “PASSPORT”

MODEL_SUB_TYPE_RECEIPT = 'RECEIPT'

A constant which can be used with the model_sub_type property of a InvoiceKvModelSubTypeDetails. This constant has a value of “RECEIPT”

__init__(**kwargs)

Initializes a new InvoiceKvModelSubTypeDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:model_sub_type (str) – The value to assign to the model_sub_type property of this InvoiceKvModelSubTypeDetails. Allowed values for this property are: “RECEIPT”, “INVOICE”, “PASSPORT”, “DRIVER_LICENSE”, “HEALTH_INSURANCE_ID”
model_sub_type

[Required] Gets the model_sub_type of this InvoiceKvModelSubTypeDetails. The model sub type for KEY_VALUE_EXTRACTION The allowed values are: - RECEIPT - INVOICE - PASSPORT - DRIVER_LICENSE - HEALTH_INSURANCE_ID

Allowed values for this property are: “RECEIPT”, “INVOICE”, “PASSPORT”, “DRIVER_LICENSE”, “HEALTH_INSURANCE_ID”

Returns:The model_sub_type of this InvoiceKvModelSubTypeDetails.
Return type:str