/// /// NitroRequestPurchaseAndroid.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © 2026 Marc Rousavy @ Margelo /// package com.margelo.nitro.iap import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "NitroRequestPurchaseAndroid". */ @DoNotStrip @Keep data class NitroRequestPurchaseAndroid( @DoNotStrip @Keep val skus: Array, @DoNotStrip @Keep val obfuscatedAccountId: String?, @DoNotStrip @Keep val obfuscatedProfileId: String?, @DoNotStrip @Keep val isOfferPersonalized: Boolean?, @DoNotStrip @Keep val offerToken: String?, @DoNotStrip @Keep val subscriptionOffers: Array?, @DoNotStrip @Keep val replacementMode: Double?, @DoNotStrip @Keep val purchaseToken: String?, @DoNotStrip @Keep val subscriptionProductReplacementParams: SubscriptionProductReplacementParamsAndroid? ) { private companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(skus: Array, obfuscatedAccountId: String?, obfuscatedProfileId: String?, isOfferPersonalized: Boolean?, offerToken: String?, subscriptionOffers: Array?, replacementMode: Double?, purchaseToken: String?, subscriptionProductReplacementParams: SubscriptionProductReplacementParamsAndroid?): NitroRequestPurchaseAndroid { return NitroRequestPurchaseAndroid(skus, obfuscatedAccountId, obfuscatedProfileId, isOfferPersonalized, offerToken, subscriptionOffers, replacementMode, purchaseToken, subscriptionProductReplacementParams) } } }