core / pragma.order / Order /
Order #
data class Order(val orderId: UUID, val pragmaSocialId: SocialId, val skuId: String, val quantity: Int, val providerId: OrderProviderType, val providerSource: ProviderSource, val orderStatus: OrderRpc.OrderStatus, val purchaseDateMillis: Long, val providerRevokedDateMillis: Long = 0, val createdTimestampMillis: Long, val lastUpdatedTimestampMillis: Long, val contentVersion: Long)
Represents a Pragma Order. Is created from a database record by pragma.order.OrderDaoNodeService.
Constructors #
Order | fun Order(proto: OrderRpc.Order) |
Order | fun Order(orderId: UUID, pragmaSocialId: SocialId, skuId: String, quantity: Int, providerId: OrderProviderType, providerSource: ProviderSource, orderStatus: OrderRpc.OrderStatus, purchaseDateMillis: Long, providerRevokedDateMillis: Long = 0, createdTimestampMillis: Long, lastUpdatedTimestampMillis: Long, contentVersion: Long) |
Properties #
Name | Summary |
---|---|
The version of the content json file at the time that the Order was created. | |
The date in milliseconds that Pragma created this Order record. | |
The date in milliseconds that this Order was last altered. | |
Unique ID for this Order. | |
The current status of the order. See OrderRpc.OrderStatus. | |
val pragmaSocialId: SocialId | |
The third party provider type e.g. AccountRpc.IdProvider.STEAM_VALUE. | |
The date in milliseconds that the third party provider issued this revocation. | |
Third party specific information for how the provider identifies this item. | |
The date in milliseconds that this item was purchased according to the third party provider. | |
The number of times to fulfill this order. | |
Unique Pragma string that represents this item. |