/// /// NitroRenewalInfoIOS.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 "NitroRenewalInfoIOS". */ @DoNotStrip @Keep data class NitroRenewalInfoIOS( @DoNotStrip @Keep val willAutoRenew: Boolean, @DoNotStrip @Keep val autoRenewPreference: String?, @DoNotStrip @Keep val pendingUpgradeProductId: String?, @DoNotStrip @Keep val renewalDate: Double?, @DoNotStrip @Keep val expirationReason: String?, @DoNotStrip @Keep val isInBillingRetry: Boolean?, @DoNotStrip @Keep val gracePeriodExpirationDate: Double?, @DoNotStrip @Keep val priceIncreaseStatus: String?, @DoNotStrip @Keep val renewalOfferType: String?, @DoNotStrip @Keep val renewalOfferId: String?, @DoNotStrip @Keep val jsonRepresentation: String? ) { private companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(willAutoRenew: Boolean, autoRenewPreference: String?, pendingUpgradeProductId: String?, renewalDate: Double?, expirationReason: String?, isInBillingRetry: Boolean?, gracePeriodExpirationDate: Double?, priceIncreaseStatus: String?, renewalOfferType: String?, renewalOfferId: String?, jsonRepresentation: String?): NitroRenewalInfoIOS { return NitroRenewalInfoIOS(willAutoRenew, autoRenewPreference, pendingUpgradeProductId, renewalDate, expirationReason, isInBillingRetry, gracePeriodExpirationDate, priceIncreaseStatus, renewalOfferType, renewalOfferId, jsonRepresentation) } } }