/// /// NitroPurchaseResult.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © 2025 Marc Rousavy @ Margelo /// package com.margelo.nitro.iap import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "NitroPurchaseResult". */ @DoNotStrip @Keep data class NitroPurchaseResult( @DoNotStrip @Keep val responseCode: Double, @DoNotStrip @Keep val debugMessage: String?, @DoNotStrip @Keep val code: String, @DoNotStrip @Keep val message: String, @DoNotStrip @Keep val purchaseToken: String? ) { private companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(responseCode: Double, debugMessage: String?, code: String, message: String, purchaseToken: String?): NitroPurchaseResult { return NitroPurchaseResult(responseCode, debugMessage, code, message, purchaseToken) } } }