Table of Contents

Class DocumentPositionSubItem

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

Represents a sub item (like a set)

public class DocumentPositionSubItem : DocumentPositionItemBase, IBusinessTransactionTypePosition, IVatPosition
Inheritance
ValidationBase<DocumentValidationError>
ValidationPropertyBase<DocumentValidationError>
DocumentPositionSubItem
Implements
Inherited Members
ValidationPropertyBase<DocumentValidationError>.Validate()
Extension Methods

Properties

Type

The type of the position. For possible types see DocumentPositionType.

public override DocumentPositionType Type { get; }

Property Value

DocumentPositionType

Methods

ValidateElement()

Validates the element and returns a list of DocumentValidationError objects.

protected override List<DocumentValidationError> ValidateElement()

Returns

List<DocumentValidationError>

A list of DocumentValidationError objects.

Exceptions

NotImplementedException

Thrown if a certain DiscountType is not supported.