Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
namespace Azure.AI.FormRecognizer.Models
{
/// <summary>
/// The receipt type of recognized <see cref="USReceipt"/> instances.
/// The receipt type of <see cref="RecognizedReceipt"/> instances.
/// </summary>
public enum USReceiptType
public enum ReceiptType
{
/// <summary>
/// Used for receipts whose type couldn't be recognized.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,14 @@ public class RecognizedReceipt
{
internal RecognizedReceipt(DocumentResult_internal documentResult, IReadOnlyList<PageResult_internal> pageResults, IReadOnlyList<ReadResult_internal> readResults)
{
// Hard-coding locale for v2.0.
ReceiptLocale = "en-US";
RecognizedForm = new RecognizedForm(documentResult, pageResults, readResults);
}

internal RecognizedReceipt(RecognizedReceipt receipt)
{
ReceiptLocale = receipt.ReceiptLocale;
RecognizedForm = receipt.RecognizedForm;
}

/// <summary>
/// A culture name representing the location in which the receipt has been issued. Currently only
/// &quot;en-US&quot; is supported.
/// </summary>
public string ReceiptLocale { get; internal set; }

/// <summary>
/// Contains detailed form information about the recognized receipt, such as fields, form type and
/// form content elements.
Expand Down
152 changes: 0 additions & 152 deletions sdk/formrecognizer/Azure.AI.FormRecognizer/src/USReceipt.cs

This file was deleted.

39 changes: 0 additions & 39 deletions sdk/formrecognizer/Azure.AI.FormRecognizer/src/USReceiptItem.cs

This file was deleted.

Loading