@JvmOverloads fun up(country: String, corporateId: String, cashRegisterName: String, features: Set<Feature>, validFrom: Date?, validTo: Date?, contactInfo: ContactInfo?, comment: String?, controlUnitSerial: String? = null, controlUnitLocation: ControlUnitLocation? = null, controlUnitGeolocation: GeolocationInfo? = null, applicationNameAndVersion: String?): ActivationSecurityInfo
Prolongation for the activation, which is identified by country, corporateId, cashRegisterName.
country
- where seller is located
cashRegisterName
- the name for the cash register
validFrom
- the start date for activation interval
validTo
- the end date for activation interval
contactInfo
- contact information, can be null
comment
- the comment for the activation, can be null
controlUnitSerial
- the control unit serial, can be null
controlUnitLocation
- the control unit location, can be null
controlUnitGeolocation
- the control unit geolocation, can be null
com.srv4pos.server.api.exceptions.ReferenceNotFoundJsonException
- if installation or control unit are not found
com.srv4pos.server.api.exceptions.NonUniqueJsonException
- if cash register name is not unique within a seller
com.srv4pos.server.api.exceptions.InconsistentDataJsonException
- see:
InconsistentDataErrorType.VALID_FROM_AND_VALID_TO_INCONSISTENCY,
InconsistentDataErrorType.SV_MISMATCH_IN_APP_DESC_AND_CU
com.srv4pos.server.api.exceptions.UnprocessableEntityJsonException
- see:
UnprocessableEntityErrorType.CU_LOCATION_MUST_BE_SET
UnprocessableEntityErrorType.PRODUCTION_NUMBER_IS_OUT_OF_DATE
Return
ActivationSecurity - entity contains unique secure random identifier which represents activation ordered, production number and activation id.