/// /// NitroRequestPurchaseIos.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 "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?, @DoNotStrip @Keep val introductoryOfferEligibility: Boolean?, @DoNotStrip @Keep val promotionalOfferJWS: PromotionalOfferJwsInputIOS?, @DoNotStrip @Keep val winBackOffer: WinBackOfferInputIOS? ) { 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?, introductoryOfferEligibility: Boolean?, promotionalOfferJWS: PromotionalOfferJwsInputIOS?, winBackOffer: WinBackOfferInputIOS?): NitroRequestPurchaseIos { return NitroRequestPurchaseIos(sku, andDangerouslyFinishTransactionAutomatically, appAccountToken, quantity, withOffer, advancedCommerceData, introductoryOfferEligibility, promotionalOfferJWS, winBackOffer) } } }