Class ClientConfigurationAustria
- Namespace
- RetailForce.Fiscalisation.Implementation.Austria
- Assembly
- RetailForce.Fiscalisation.Model.dll
The Austrian country specific configuration for the client.
public class ClientConfigurationAustria : ConfigurationValidationBase, IFiscalImplementationConfiguration
- Inheritance
-
ValidationBase<ValidationError>ValidationPropertyBase<ValidationError>ClientConfigurationAustria
- Implements
- Inherited Members
-
ValidationPropertyBase<ValidationError>.Validate()
Properties
AesKey
The aes key for encoding grand total.
public string AesKey { get; set; }
Property Value
CloudArchive
True if cloud archive is active; otherwise false.
public bool CloudArchive { get; set; }
Property Value
CloudAutomaticYearReceipt
True if automatic year receipt generation in the cloud is active; otherwise false.
public bool CloudAutomaticYearReceipt { get; set; }
Property Value
FiscalCountry
Returns the fiscal country for this configuration.
public FiscalCountry FiscalCountry { get; }
Property Value
FonMemberId
Member id of the fon (Finanzonline) user.
public string FonMemberId { get; set; }
Property Value
FonPin
Pin of the fon (Finanzonline) user.
public string FonPin { get; set; }
Property Value
FonUserId
User id of the fon (Finanzonline) user.
public string FonUserId { get; set; }
Property Value
SignDeviceActivated
Returns a list of signature devices which are activated at fon.
public Dictionary<string, DateTime?> SignDeviceActivated { get; set; }
Property Value
SignDeviceConfiguration
The sign device driver configuration.
public List<SignDeviceConfiguration> SignDeviceConfiguration { 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