IAPV4Receipt

abstract class IAPV4Receipt(val type: IAPV4.IAPV4Type, val product: IAPV4.IAPV4Product, val receiptLevel: Int) : DataModel

purchaserestore API 에서 받을 수 있는 결과 정보
Result information that can be received from the purchase or restore API


korean

bypassInfo 를 그대로 영수증 검증 서버로 전달(bypass)하여 사용


english

bypassInfo is passed (bypassed) to the receipt verification server as it is and used

Constructors

Link copied to clipboard
constructor(type: IAPV4.IAPV4Type, product: IAPV4.IAPV4Product, receiptLevel: Int)

Properties

Link copied to clipboard
open val account: HiveLifecycle.HiveAccount
Link copied to clipboard
abstract var bypassInfo: String

Json data bypassed from game to receipt verification server.

Link copied to clipboard
abstract val hiveiapReceipt: String

Receipt Data to send when requesting validation to IAP server.

Link copied to clipboard
open var iapPayload: String?

IapPayload entered in purchase request.

Link copied to clipboard
open val isRestore: Boolean = true
Link copied to clipboard

Purchased product information.

Link copied to clipboard
abstract val purchaseLog: JSONObject
Link copied to clipboard
open val quantity: Int = 1

The quantity of the purchased product.

Link copied to clipboard
Link copied to clipboard

Receipt Market Information

Link copied to clipboard
abstract val uniqueId: String

Functions

Link copied to clipboard
Link copied to clipboard
open override fun toJSON(): JSONObject
Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
fun toMap(): Map<String, Any>