class ActivationCreationInfo : Info
If current application does not have Activation the app uses this method to request (order) new one. Seller for the activation is identified by country and corporateId. Installation:
Registration will be found or created by seller and installation.
ActivationCreationInfo()
If current application does not have Activation the app uses this method to request (order) new one. Seller for the activation is identified by country and corporateId. Installation: |
var applicationNameAndVersion: String?
We use this field to request info about application name and version from clients and sending the data to tax authority |
|
var applicationPackage: String?
A unique identifier of the software, but not it's version. For instance for Android it can be getPackageName() |
|
lateinit var cashRegisterName: String
Described in swedish regulations as "cash register designation". See Terms for more info. |
|
var comment: String?
Any information which user would like to tell to sales at srv4pos. |
|
var connectionCode: String?
You can create an activation without installation. This activation can be connected to a created installation, which is created after, via connection code. |
|
var contactInfo: ContactInfo?
Information about person who orders an activation. So sales team can contact him with invoice. |
|
var controlUnitGeolocation: GeolocationInfo?
Where device (with control unit) is located. This information is sent to taxation authority This field is set when customer makes an order and ActivationDetailsInfo.controlUnitLocation == ControlUnitLocation.DEVICE. If this field is set and sales person makes an activation, he must check it's validity because it's content will be copied to controlUnit geolocation and will be applied for all the sellers connected to this control unit. |
|
var controlUnitLocation: ControlUnitLocation?
Where control unit is connected and how. |
|
var controlUnitSerial: String?
Serial number of control unit. It is null if .controlUnitLocation == ControlUnitLocation.REMOTE or application doesn't support control units |
|
lateinit var corporateId: String |
|
lateinit var country: String
Country where seller with given .corporateId is registered. |
|
var features: Set<Feature>
List of features. Set of features, see Feature for more info. |
|
var installationCreationInfo: InstallationCreationInfo?
At which device this activation should work. |
|
var productionNumber: String?
May be null. See spec for more info about nullability of this field. |
|
var registrationGeolocation: GeolocationInfo?
Where cash register is located. This information is sent to taxation authority. |
|
var validFrom: Date?
When activation starts being active. |
|
var validTo: Date?
When activation ends being active. |
fun Info.toJson(): String |