Modifier and Type | Field and Description |
---|---|
private String |
comment
This field is set when customer makes an order to send a custom message to sales person.
|
private ContactInfo |
contact
This field is set when customer to tell sales person his contact data.
|
private GeolocationInfo |
controlUnitGeolocation
Where device (with control unit) is located.
|
private Long |
controlUnitId
This field is set when customer makes an order:
control unit is not required by the application, then this field is nul
If
ActivationDetailsInfo.controlUnitLocation == ControlUnitLocation.REMOTE , then one of the connected control units will be
selected automatically
If ActivationDetailsInfo.controlUnitLocation == ControlUnitLocation.DEVICE , then
control unit will be selected by ActivationDetailsInfo.controlUnitSerialNumber
or null if customer wants to order a new one
. |
private ControlUnitLocation |
controlUnitLocation
This field is set by customer when ordering.
|
private Set<Feature> |
features
Set of features, see
Feature for more info. |
private Long |
id |
private Date |
issued |
private String |
sellerName
This field is set when customer makes an order.
|
private ActivationStatus |
status
This field is set by activation server internal logic every time we do an action with the activation.
|
private Date |
validFrom
This field is set a) when customer makes an order and suggest the date he wish; b) when sales person approves an activation he is able to change it.
|
private Date |
validTo
This field is set a) when customer makes an order and suggest the date he wish; b) when sales person approves an activation he is able to change it.
|
Constructor and Description |
---|
ActivationInfo() |
private Long id
@NotNull private ActivationStatus status
private Date issued
@NotNull private ControlUnitLocation controlUnitLocation
@NotNull private Date validFrom
@NotNull private Date validTo
@NotNull @Size(max=96) private String sellerName
private Long controlUnitId
ActivationDetailsInfo.controlUnitLocation
== ControlUnitLocation.REMOTE
, then one of the connected control units will be
selected automaticallyActivationDetailsInfo.controlUnitLocation
== ControlUnitLocation.DEVICE
, then
ActivationDetailsInfo.controlUnitSerialNumber
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.@NotNull private ContactInfo contact
@Size(max=1024) private String comment
Copyright © 2015. All rights reserved.