Modifier and Type | Field and Description |
---|---|
private ActivationDetailsInfo |
activationDetailsInfo
Information about activation period (when and which features are activated, per which period).
|
private String |
applicationPackage
Value of getPackageName() of android app.
|
private String |
cashRegisterName
Described in swedish regulations as "cash register designation".
|
private String |
corporateId |
private String |
country
Country where seller with given
corporateId is registered. |
private String |
deviceId
Unique number of every android device.
|
private String |
productionNumber
May be null.
|
static int |
VERSION
Version of data structure of this class.
|
Constructor and Description |
---|
ActivationDescriptorInfo() |
public static final int VERSION
ActivationCodeInfo.signature
generation is changed, or algorithm of
serializing ActivationCodeInfo.activationDescriptorInfo
is changed@NotNull @Size(max=17, min=1) private String deviceId
@NotNull @Size(max=120) private String applicationPackage
@NotNull @Size(max=25) private String productionNumber
May be null. See spec for more info about nullability of this field.
ProductionNumber - serial number uniquely identifies instance of the Installation. It represents production number of cash register according to Swedish regulations. It has format "MK556{number}" where MK is mobilkassan, 556 is the beginning of the Produkt Poolen corporate ID, {number} - unique number within entire world
According to swedish regulation, the definition is: Each cash register must have a production number. Production number is a globally unique serial number on physical cash registers. Production number has to be unique for each cash register from one vendor and should also indicate vendor as a part of the field.
@NotNull @Size(max=2, min=2) private String country
corporateId
is registered.@NotNull @Size(max=96) @Pattern(regexp="^(?!^(PRN|AUX|CLOCK\\$|NUL|CON|COM\\d|LPT\\d|\\.\\.?)$)[^\\x00-\\x1f\\\\?*:\\\";|/<>]+$") private String corporateId
@NotNull @Size(max=16) private String cashRegisterName
@NotNull private ActivationDetailsInfo activationDetailsInfo
Copyright © 2015. All rights reserved.