apidocs / com.srv4pos.server.api.activation / ActivationDescriptorInfo

ActivationDescriptorInfo

class ActivationDescriptorInfo : Info

This data structure is serialized to ActivationOrder and sent to the device to activate it.

User: Kirill, Date: 05.08.13 17:59

Constructors

<init>

ActivationDescriptorInfo()

This data structure is serialized to ActivationOrder and sent to the device to activate it.

Properties

activationDetailsInfo

lateinit var activationDetailsInfo: ActivationDetailsInfo

Information about activation period (when and which features are activated, per which period).

applicationPackage

lateinit var applicationPackage: String

Value of getPackageName() of android app.

cashRegisterName

lateinit var cashRegisterName: String

Described in swedish regulations as "cash register designation". See wiki for more info.

corporateId

lateinit var corporateId: String

country

lateinit var country: String

Country where seller with given .corporateId is registered.

deviceId

lateinit var deviceId: String

Unique number of every android device.

productionNumber

lateinit var productionNumber: String

May be null. See spec for more info about nullability of this field.

Companion Object Properties

VERSION

val VERSION: Int

Version of data structure of this class. If you change this class (or nested), increase the version. Also this version changes when public/private key for ActivationCodeInfo.signature generation is changed, or algorithm of serializing ActivationCodeInfo.activationDescriptorInfo is changed

Extension Functions

toJson

fun Info.toJson(): String