class ActivationService
This service is responsible for activating registrations.
User: Kirill, Date: 01.10.13 11:21.
ActivationService(url: URL, credentials: Credentials?, transport: Transport)
This service is responsible for activating registrations. |
fun cashRegisterNameExists(cashRegisterNameExistsInfo: CashRegisterNameExistsInfo): Boolean
Checks that cash register name is unique for particular seller. |
|
fun claim(country: String, corporateId: String, cashRegisterName: String, applicationPackage: String?, features: Set<Feature>, validFrom: Date?, validTo: Date?, contactInfo: ContactInfo?, comment: String?, controlUnitSerial: String?, controlUnitLocation: ControlUnitLocation?, controlUnitGeolocation: GeolocationInfo?, deviceId: String, buildInfo: Map<String, String>, programVersion: String?, applicationNameAndVersion: String?): ActivationSecurityInfo
If current application does not have Activation the app uses this method to request (order) new one. Seller and/or installation will be created, if it's needed. fun claim(country: String, corporateId: String, cashRegisterName: String, applicationPackage: String, features: Set<Feature>, validFrom: Date, validTo: Date, contactInfo: ContactInfo?, comment: String?, deviceId: String, buildInfo: Map<String, String>, programVersion: String?, applicationNameAndVersion: String?): ActivationSecurityInfo
If current application does not have Activation, the app uses this method to request (order) new one. Seller and/or installation will be created, if it's needed. |
|
fun connect(activationConnectInfo: ActivationConnectInfo): ActivationSecurityInfo
Creates an activation. |
|
fun create(activationCreationInfo: ActivationCreationInfo): ActivationSecurityInfo
Creates activation. Seller and/or installation will be created, if it's needed. |
|
fun getActivationCode(credentials: Credentials): ActivationCodeInfo
This method requires credentials and returns ActivationCodeInfo for provided credentials. It must be authenticated by credentials initialized by Credentials |
|
fun listFull(): Collection<FullActivationAdvancedInfo>
Returns list of activations with tokens and descriptor info. It's needed for replication activations from a cloud server to a local server. |
|
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. |
fun newActivationCreationInfo(country: String, corporateId: String, cashRegisterName: String, applicationPackage: String?, features: Set<Feature>, validFrom: Date?, validTo: Date?, contactInfo: ContactInfo?, comment: String?, controlUnitSerial: String?, controlUnitLocation: ControlUnitLocation?, controlUnitGeolocation: GeolocationInfo?, deviceId: String?, buildInfo: Map<String, String>, registrationLocation: GeolocationInfo?, programVersion: String?, applicationNameAndVersion: String?): ActivationCreationInfo |