Class ClientConfigurationGermany
- Namespace
- RetailForce.Fiscalisation.Implementation.Germany
- Assembly
- RetailForce.Fiscalisation.Model.dll
The german country specific configuration for the client.
public class ClientConfigurationGermany : ConfigurationValidationBase, IFiscalImplementationConfiguration
- Inheritance
-
objectValidationBase<ValidationError>ValidationPropertyBase<ValidationError>ClientConfigurationGermany
- Implements
- Inherited Members
-
ValidationPropertyBase<ValidationError>.Validate()
Properties
AutomaticTseReplacementEnabled
Gets or sets a value indicating whether automatic TSE replacement is enabled for this terminal.
public bool AutomaticTseReplacementEnabled { get; set; }
Property Value
- bool
Remarks
When enabled, the TSE will be replaced automatically when the certificate expires within 14 days. This allows gradual rollout by enabling on individual terminals.
CloudArchive
True if cloud archive is active; otherwise false.
public bool CloudArchive { get; set; }
Property Value
- bool
FiscalCountry
Returns the fiscal country of the client configuration. In this case: Germany.
public FiscalCountry FiscalCountry { get; }
Property Value
PrimaryTse
Primary Tse Configuration.
public TseConfiguration PrimaryTse { get; set; }
Property Value
ReplaceTse
Gets or sets the replace tse.
public TseConfiguration? ReplaceTse { get; set; }
Property Value
- TseConfiguration
The replace tse.
ShouldForceReplaceTse
This property is just for client side if receive ExecutionCommands.UpdateTse
[JsonIgnore]
public bool ShouldForceReplaceTse { get; set; }
Property Value
- bool
trueif [should force replace tse]; otherwise,false.
TaxonomyCloudStoreConfiguration
The configuration for the cloud taxonomy store (DS-FinVK).
[Obsolete("Use CloudArchive instead.")]
public TaxonomyCloudStoreConfiguration? TaxonomyCloudStoreConfiguration { get; set; }
Property Value
TaxonomyFileStoreConfiguration
The configuration for the local taxonomy store (DS-FinVK).
[Obsolete("No longer used.")]
public TaxonomyFileStoreConfiguration TaxonomyFileStoreConfiguration { get; set; }
Property Value
TseSerialStoredToCloud
A list of tse serials which have already been stored to the cloud.
public string? TseSerialStoredToCloud { get; set; }
Property Value
- string
Remarks
This property is set by the fiscal module and must not be set for configuration.
UsedTseCertificate
The used tse certificate after initialization. Is used if connection to cloud tse is not possible during startup.
public string? UsedTseCertificate { get; set; }
Property Value
- string
Remarks
This property is set by the fiscal module and must not be set for configuration.
UsedTseSerial
The used tse serial after initialization. Is used if connection to cloud tse is not possible during startup.
public string? UsedTseSerial { get; set; }
Property Value
- string
Remarks
This property is set by the fiscal module and must not be set for configuration.
Methods
Encrypt(Guid)
Encrypts sensitive data.
public void Encrypt(Guid uniqueClientId)
Parameters
uniqueClientIdGuid
GetSecuredFields()
GetSecure Fields
public SecuredFields? GetSecuredFields()
Returns
- SecuredFields
return the country implemenation configuration specific secure fields if available
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 cloudConnector)
Parameters
uniqueClientIdGuidThe id of the client
cloudConnectorICloudConnector