Table of Contents

Class LithuaniaValidation

Namespace
RetailForce.Fiscalisation.Implementation.Lithuania
Assembly
RetailForce.Fiscalisation.Model.dll
public class LithuaniaValidation
Inheritance
LithuaniaValidation
Inherited Members

Fields

SupportedDocumentTypesMapping

public static Dictionary<DocumentType, Func<string, string>> SupportedDocumentTypesMapping

Field Value

Dictionary<DocumentType, Func<string, string>>

SupportedPaymentTypesMapping

public static readonly Dictionary<PaymentType, string> SupportedPaymentTypesMapping

Field Value

Dictionary<PaymentType, string>

SupportedVatDefinitions

public static readonly ReadOnlyCollection<Vat> SupportedVatDefinitions

Field Value

ReadOnlyCollection<Vat>

Methods

GetDocumentType(DocumentType)

public static string GetDocumentType(DocumentType documentType)

Parameters

documentType DocumentType

Returns

string

Exceptions

NotSupportedException

GetPaymentType(PaymentType)

public static string GetPaymentType(PaymentType paymentType)

Parameters

paymentType PaymentType

Returns

string

ValidateDocument(Document, LithuaniaFiscalProperties)

public static List<DocumentValidationError> ValidateDocument(Document document, LithuaniaFiscalProperties lithuaniaFiscalProperties)

Parameters

document Document
lithuaniaFiscalProperties LithuaniaFiscalProperties

Returns

List<DocumentValidationError>