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