Modifier and Type | Field and Description |
---|---|
private ActivationDetailsInfo |
activationDetailsInfo
Information about activation period (when and which features are activated, per which period).
|
private String |
cashRegisterName
Described in swedish regulations as "cash register designation".
|
private String |
comment
Any information which user would like to tell to sales at srv4pos.
|
private String |
companyName |
private ContactInfo |
contactInfo
Information about person who orders an activation.
|
private String |
corporateId |
private String |
country
Country where seller with given
corporateId is registered. |
private GeolocationInfo |
deviceLocation
Where device (with control unit) is located.
|
private InstallationOrderInfo |
installationOrderInfo
At which device this activation should work.
|
private String |
productionNumber
May be null.
|
Constructor and Description |
---|
ActivationOrderInfo() |
@NotNull private InstallationOrderInfo installationOrderInfo
@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 private String companyName
@NotNull private ContactInfo contactInfo
@NotNull private ActivationDetailsInfo activationDetailsInfo
private GeolocationInfo deviceLocation
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.@NotNull @Size(max=16) @Pattern(regexp="[a-zA-Z0-9]{2,16}") private String cashRegisterName
private String comment
Copyright © 2015. All rights reserved.