Show / Hide Table of Contents

Interface ICertificateManager

Služba poskytujúca správu certifikátov

Namespace: NineDigiteKasa
Assembly: NineDigit.eKasa.dll
Syntax
public interface ICertificateManager

Methods

AddCertificateAsync(Certificate, CancellationToken)

Pridá certifikát

Declaration
Task<CertificateInfo> AddCertificateAsync(Certificate certificate, CancellationToken cancellationToken)
Parameters
Type Name Description
Certificate certificate
CancellationToken cancellationToken
Returns
Type Description
TaskCertificateInfo

Informácie o certifikáte

Exceptions
Type Condition
ArgumentNullException

certificate je null

CertificateExpiredException

Certifikát je neplatný

InvalidTimeException

Lokálny čas nie je platný

DICMismatchStorageException

Neplatná hodnota DIČ

OperationCanceledException

Operácia bola zrušená

FindLatestCertificateAsync(ORPCode, CancellationToken)

Vyhľadá posledný certifikát pre daný kód pokladne

Declaration
Task<Certificate> FindLatestCertificateAsync(ORPCode cashRegisterCode, CancellationToken cancellationToken)
Parameters
Type Name Description
ORPCode cashRegisterCode

Kód on-line registračnej pokladne

CancellationToken cancellationToken
Returns
Type Description
TaskCertificate

Certifikát alebo null, ak žiaden neexistuje

Exceptions
Type Condition
ArgumentNullException

cashRegisterCode je null

OperationCanceledException

Operácia bola zrušená

FindLatestCertificateInfoAsync(CertificateFilter, CancellationToken)

Vyhľadá všetky posledné informácie o certifikátoch vyhovujúce dopytu. Pre každý kód pokladnice je vrátený posledný certifikát.

Declaration
Task<IReadOnlyList<CertificateInfo>> FindLatestCertificateInfoAsync(CertificateFilter filter, CancellationToken cancellationToken)
Parameters
Type Name Description
CertificateFilter filter

Dopyt

CancellationToken cancellationToken
Returns
Type Description
TaskIReadOnlyListCertificateInfo

Zoznam certifikačných informácií

Exceptions
Type Condition
ArgumentNullException

filter je null

InvalidTimeException

Lokálny čas nie je platný

OperationCanceledException

Operácia bola zrušená

FindLatestCertificateInfoAsync(ORPCode, CancellationToken)

Vyhľadá informácie o poslednom certifikáte pre daný kód pokladne

Declaration
Task<CertificateInfo> FindLatestCertificateInfoAsync(ORPCode cashRegisterCode, CancellationToken cancellationToken)
Parameters
Type Name Description
ORPCode cashRegisterCode

Kód on-line registračnej pokladne

CancellationToken cancellationToken
Returns
Type Description
TaskCertificateInfo

Informácie o certifikáte alebo null, ak certifikát neexistuje

Exceptions
Type Condition
ArgumentNullException

cashRegisterCode je null

InvalidTimeException

Lokálny čas nie je platný

OperationCanceledException

Operácia bola zrušená

FindLatestCertificatesAsync(CertificateFilter, CancellationToken)

Vyhľadá všetky posledné certifikáty vyhovujúce dopytu. Pre každý kód pokladnice je vrátený posledný certifikát.

Declaration
Task<IReadOnlyList<Certificate>> FindLatestCertificatesAsync(CertificateFilter filter, CancellationToken cancellationToken)
Parameters
Type Name Description
CertificateFilter filter

Dopyt

CancellationToken cancellationToken
Returns
Type Description
TaskIReadOnlyListCertificate

Zoznam certifikátov

Exceptions
Type Condition
ArgumentNullException

filter je null

OperationCanceledException

Operácia bola zrušená

FindLatestValidCertificateAsync(ORPCode, CancellationToken)

Vyhľadá posledný platný certifikát

Declaration
Task<Certificate> FindLatestValidCertificateAsync(ORPCode cashRegisterCode, CancellationToken cancellationToken)
Parameters
Type Name Description
ORPCode cashRegisterCode

Kód on-line registračnej pokladne

CancellationToken cancellationToken
Returns
Type Description
TaskCertificate

Certifikát alebo null, ak žiaden platný neexistuje

Exceptions
Type Condition
ArgumentNullException

cashRegisterCode je null

InvalidTimeException

Lokálny čas nie je platný

OperationCanceledException

Operácia bola zrušená

FindLatestValidCertificateInfoAsync(ORPCode, CancellationToken)

Vyhľadá informácie o poslednom platnom certifikát

Declaration
Task<CertificateInfo> FindLatestValidCertificateInfoAsync(ORPCode cashRegisterCode, CancellationToken cancellationToken)
Parameters
Type Name Description
ORPCode cashRegisterCode

Kód on-line registračnej pokladne

CancellationToken cancellationToken
Returns
Type Description
TaskCertificateInfo

Certifikát alebo null, ak žiaden platný neexistuje

Exceptions
Type Condition
ArgumentNullException

cashRegisterCode je null

InvalidTimeException

Lokálny čas nie je platný

OperationCanceledException

Operácia bola zrušená

In This Article
Na začiatok stránky Nine Digit, s.r.o. ©