Table of Contents

Class ClientConfigurationFrance

Namespace
RetailForce.Fiscalisation.Implementation.France
Assembly
RetailForce.Fiscalisation.Model.dll

The france country specific client configuration.

public class ClientConfigurationFrance : ConfigurationValidationBase, IFiscalImplementationConfiguration
Inheritance
ValidationBase<ValidationError>
ValidationPropertyBase<ValidationError>
ClientConfigurationFrance
Implements
Inherited Members
ValidationPropertyBase<ValidationError>.Validate()

Properties

CertificateNumber

The 4 digit number which is provided to ta after certification process.

public string CertificateNumber { get; set; }

Property Value

string

Remarks

This number is mandatory for certification and without this number the client cannot be initialized.

CertifiedVersions

The certificate version (version of sw which was certified).

public string CertifiedVersions { get; set; }

Property Value

string

Remarks

This version combines application version, fiscal module version, fiscal country module version:

  • ApplicationVersion: 6.0.12121.2122
  • FiscalModuleVersion: 1.5.2.2
  • FiscalCountryVersion for France: 1.0.5 => Certified version (6-1-1) (always only major versions)

Attention: This version is validated when storing documents and will raise a validation exception if not set properly.

CloudArchive

True if cloud archive is active; otherwise false.

public bool CloudArchive { get; set; }

Property Value

bool

Disable24HourClosingLimit

Set this option if the 24 hour limit for having a closing receipt should overwritten.

public bool Disable24HourClosingLimit { get; set; }

Property Value

bool

Remarks

Please take care, that this option will possible break NF525 rules. Therefore setting this option to true is at your own risk.

FiscalCountry

The fiscal country of the client configuration.

public FiscalCountry FiscalCountry { get; }

Property Value

FiscalCountry

Methods

Encrypt(Guid)

Encrypts sensitive data.

public void Encrypt(Guid uniqueClientId)

Parameters

uniqueClientId Guid

PreserveValues(IFiscalImplementationConfiguration)

If necessary this method is called to preserve configuration values when updating the configuration.

public bool PreserveValues(IFiscalImplementationConfiguration oldConfiguration)

Parameters

oldConfiguration IFiscalImplementationConfiguration

The 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 oldConfiguration is 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

uniqueClientId Guid

The id of the client

connector ICloudConnector

CloudConnector for sending data to the cloud