Table of Contents

Enum DocumentPositionType

Namespace
RetailForce.Fiscalisation.Model.Document
Assembly
RetailForce.Fiscalisation.Model.dll

Represents the possible types of a document position.

[JsonConverter(typeof(StringEnumConverter))]
[TypeConverter(typeof(EnumMemberEnumConverter))]
public enum DocumentPositionType
Extension Methods

Fields

[EnumMember(Value = "[3] = Booking")] Booking = 3

Represents a booking position. A booking position can be used for booking values (instead of items).

You can use a booking for instance for a payin, payout, vouchers...

[EnumMember(Value = "[0] = Item")] Item = 0

Represents an item position.

[EnumMember(Value = "[1] = SubItem")] SubItem = 1

Represents a subitem position.

A sub item is an item of item set (multiple items connected together).

[EnumMember(Value = "[9] = SubTotal")] SubTotal = 9

Represents a sub total position.

[EnumMember(Value = "[2] = Text")] Text = 2

Represents a text position.

[EnumMember(Value = "[10] = Total")] Total = 10

Represents a total position. A total position can be used for sending the total amount and discounts on the total document.

Remarks

ATTENTION: Add new type also to ReadJson(JsonReader, Type, object, JsonSerializer) and also add a test at test unit BasicDocumentValidation.ValidateDocumentSerializeDeSerializeTest!