public class ActivationCreationInfo extends Object implements Info
Modifier and Type | Field and Description |
---|---|
private String |
applicationPackage
A unique identifier of the software, but not it's version.
|
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 |
connectionCode
You can create an activation without installation.
|
private ContactInfo |
contactInfo
Information about person who orders an activation.
|
private GeolocationInfo |
controlUnitGeolocation
Where device (with control unit) is located.
|
private ControlUnitLocation |
controlUnitLocation
Where control unit is connected and how.
|
private String |
controlUnitSerial
Serial number of control unit.
|
private String |
corporateId |
private String |
country
Country where seller with given
corporateId is registered. |
private Set<Feature> |
features
List of features.
|
private InstallationCreationInfo |
installationCreationInfo
At which device this activation should work.
|
private String |
productionNumber
May be null.
|
private Date |
validFrom
When activation starts being active.
|
private Date |
validTo
When activation ends being active.
|
Constructor and Description |
---|
ActivationCreationInfo() |
@NotNull @Size(max=2, min=2) private String country
corporateId
is registered.@NotNull @Size(min=1, max=96) @Pattern(regexp="^(?!^(PRN|AUX|CLOCK\\$|NUL|CON|COM\\d|LPT\\d|\\.\\.?)$)[^\\x00-\\x1f\\\\?*:\\\";|/<>]+$") private String corporateId
@NotNull @Pattern(regexp="[a-zA-Z0-9]{2,16}") private String cashRegisterName
@NotNull private Date validFrom
@NotNull private Date validTo
@NotNull private Set<Feature> features
Feature
for more info.@Size(max=1024) private String comment
private ContactInfo contactInfo
@Size(max=20, min=1) private String controlUnitSerial
controlUnitLocation
== ControlUnitLocation.REMOTE
or application doesn't support control unitsprivate ControlUnitLocation controlUnitLocation
private GeolocationInfo controlUnitGeolocation
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.@Size(min=1, max=64) private String applicationPackage
@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.
private InstallationCreationInfo installationCreationInfo
@Size(min=4, max=9) private String connectionCode
Copyright © 2016. All rights reserved.