/// /// NitroRequestPurchaseIos.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 "NitroRequestPurchaseIos". */ @DoNotStrip @Keep data class NitroRequestPurchaseIos( @DoNotStrip @Keep val sku: String, @DoNotStrip @Keep val andDangerouslyFinishTransactionAutomatically: Boolean?, @DoNotStrip @Keep val appAccountToken: String?, @DoNotStrip @Keep val quantity: Double?, @DoNotStrip @Keep val withOffer: Map?, @DoNotStrip @Keep val advancedCommerceData: String? ) { private companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(sku: String, andDangerouslyFinishTransactionAutomatically: Boolean?, appAccountToken: String?, quantity: Double?, withOffer: Map?, advancedCommerceData: String?): NitroRequestPurchaseIos { return NitroRequestPurchaseIos(sku, andDangerouslyFinishTransactionAutomatically, appAccountToken, quantity, withOffer, advancedCommerceData) } } }