Class ClientConfigurationLithuania
- Namespace
- RetailForce.Fiscalisation.Implementation.Lithuania
- Assembly
- RetailForce.Fiscalisation.Model.dll
The Lithuania country specific client configuration.
public class ClientConfigurationLithuania : ConfigurationValidationBase, IFiscalImplementationConfiguration
- Inheritance
-
ValidationBase<ValidationError>ValidationPropertyBase<ValidationError>ClientConfigurationLithuania
- Implements
- Inherited Members
-
ValidationPropertyBase<ValidationError>.Validate()
Properties
CashRegisterRegistrationId
The RegisterRegistrationId from Ieka (e.g. R-000128969)
public string CashRegisterRegistrationId { get; set; }
Property Value
CashRegisterRegistrationNo
The RegisterRegistrationNo from Ieka (e.g. CR-000000104)
public string CashRegisterRegistrationNo { get; set; }
Property Value
CloudArchive
True if cloud archive is active; otherwise false.
public bool CloudArchive { get; set; }
Property Value
FiscalCountry
The fiscal country of the client configuration.
public FiscalCountry FiscalCountry { get; }
Property Value
IekaSecurityModuleCertificateId
The id of security module certificate got von ieka at register or update security module certificate (e.g. 728887110398182004658615245352661586867989987713)
public string IekaSecurityModuleCertificateId { get; set; }
Property Value
LithuaniaTerminalParameter
Service company terminal parameter
public LithuaniaTerminalParameter LithuaniaTerminalParameter { get; set; }
Property Value
SecurityModuleRegistrationNo
The RegisterRegistrationNo from Ieka (e.g. SM-000000096)
public string SecurityModuleRegistrationNo { get; set; }
Property Value
ServiceCompanyId
The Id of the service company
public Guid ServiceCompanyId { get; set; }
Property Value
SuccessfullActivateAtIeka
public bool SuccessfullActivateAtIeka { get; set; }
Property Value
TransportCertificateSerialNumber
Gets or sets the serial number of the transport certificate.
public string TransportCertificateSerialNumber { get; set; }
Property Value
Methods
Encrypt(Guid)
Encrypts sensitive data.
public void Encrypt(Guid uniqueClientId)
Parameters
uniqueClientIdGuid
PreserveValues(IFiscalImplementationConfiguration)
If necessary this method is called to preserve configuration values when updating the configuration.
public bool PreserveValues(IFiscalImplementationConfiguration oldConfiguration)
Parameters
oldConfigurationIFiscalImplementationConfigurationThe old configuration holding the values which should be preserved.
Returns
- bool
true if new configuration should be updated in cloud
Remarks
Implement this method if you want to preserve data in the configuration which would be updated by the cloud (serialno of security devices, aesKey in austria, etc.)
Exceptions
- ArgumentNullException
Thrown if parameter
oldConfigurationis set to null.
RemoveSensitiveData()
Removes sensitive data from the configuration.
public void RemoveSensitiveData()
Remarks
Used for sending data from cloud to client to remove sensitve data from configuration which is not needed by the client.
UpdateCloudConfiguration(Guid, ICloudConnector)
If necessary PreserveValues returns true update will be sent to cloud
public void UpdateCloudConfiguration(Guid uniqueClientId, ICloudConnector connector)
Parameters
uniqueClientIdGuidThe id of the client
connectorICloudConnectorCloudConnector for sending data to the cloud