InvoiceProcessorConfig¶
-
class
oci.ai_document.models.InvoiceProcessorConfig(**kwargs)¶ Bases:
oci.ai_document.models.processor_config.ProcessorConfigThe configuration of an invoice processor.
Attributes
PROCESSOR_TYPE_GENERALstr(object=’’) -> str PROCESSOR_TYPE_INVOICEstr(object=’’) -> str model_idGets the model_id of this InvoiceProcessorConfig. normalization_fields[Required] Gets the normalization_fields of this InvoiceProcessorConfig. processor_type[Required] Gets the processor_type of this ProcessorConfig. Methods
__init__(**kwargs)Initializes a new InvoiceProcessorConfig object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
PROCESSOR_TYPE_GENERAL= 'GENERAL'¶
-
PROCESSOR_TYPE_INVOICE= 'INVOICE'¶
-
__init__(**kwargs)¶ Initializes a new InvoiceProcessorConfig object with values from keyword arguments. The default value of the
processor_typeattribute of this class isINVOICEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - processor_type (str) – The value to assign to the processor_type property of this InvoiceProcessorConfig. Allowed values for this property are: “GENERAL”, “INVOICE”
- model_id (str) – The value to assign to the model_id property of this InvoiceProcessorConfig.
- normalization_fields (oci.ai_document.models.NormalizationFields) – The value to assign to the normalization_fields property of this InvoiceProcessorConfig.
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
model_id¶ Gets the model_id of this InvoiceProcessorConfig. Unique identifier custom model OCID that should be used for inference.
Returns: The model_id of this InvoiceProcessorConfig. Return type: str
-
normalization_fields¶ [Required] Gets the normalization_fields of this InvoiceProcessorConfig.
Returns: The normalization_fields of this InvoiceProcessorConfig. Return type: oci.ai_document.models.NormalizationFields
-
processor_type¶ [Required] Gets the processor_type of this ProcessorConfig. The type of the processor.
Allowed values for this property are: “GENERAL”, “INVOICE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The processor_type of this ProcessorConfig. Return type: str
-