/// /// NitroRequestPurchaseIos.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © Marc Rousavy @ Margelo /// package com.margelo.nitro.iap import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip import com.margelo.nitro.core.NullType /** * Represents the JavaScript object/struct "NitroRequestPurchaseIos". */ @DoNotStrip @Keep data class NitroRequestPurchaseIos( @DoNotStrip @Keep val sku: String, @DoNotStrip @Keep val andDangerouslyFinishTransactionAutomatically: Variant_NullType_Boolean?, @DoNotStrip @Keep val appAccountToken: Variant_NullType_String?, @DoNotStrip @Keep val quantity: Variant_NullType_Double?, @DoNotStrip @Keep val withOffer: Variant_NullType_Map_String__String_?, @DoNotStrip @Keep val advancedCommerceData: Variant_NullType_String?, @DoNotStrip @Keep val introductoryOfferEligibility: Variant_NullType_Boolean?, @DoNotStrip @Keep val promotionalOfferJWS: Variant_NullType_PromotionalOfferJwsInputIOS?, @DoNotStrip @Keep val winBackOffer: Variant_NullType_WinBackOfferInputIOS? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(sku: String, andDangerouslyFinishTransactionAutomatically: Variant_NullType_Boolean?, appAccountToken: Variant_NullType_String?, quantity: Variant_NullType_Double?, withOffer: Variant_NullType_Map_String__String_?, advancedCommerceData: Variant_NullType_String?, introductoryOfferEligibility: Variant_NullType_Boolean?, promotionalOfferJWS: Variant_NullType_PromotionalOfferJwsInputIOS?, winBackOffer: Variant_NullType_WinBackOfferInputIOS?): NitroRequestPurchaseIos { return NitroRequestPurchaseIos(sku, andDangerouslyFinishTransactionAutomatically, appAccountToken, quantity, withOffer, advancedCommerceData, introductoryOfferEligibility, promotionalOfferJWS, winBackOffer) } } }