/// /// NitroSubscriptionRenewalInfo.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 "NitroSubscriptionRenewalInfo". */ @DoNotStrip @Keep data class NitroSubscriptionRenewalInfo( @DoNotStrip @Keep val autoRenewStatus: Boolean, @DoNotStrip @Keep val autoRenewPreference: String?, @DoNotStrip @Keep val expirationReason: Double?, @DoNotStrip @Keep val gracePeriodExpirationDate: Double?, @DoNotStrip @Keep val currentProductID: String?, @DoNotStrip @Keep val platform: String ) { private companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(autoRenewStatus: Boolean, autoRenewPreference: String?, expirationReason: Double?, gracePeriodExpirationDate: Double?, currentProductID: String?, platform: String): NitroSubscriptionRenewalInfo { return NitroSubscriptionRenewalInfo(autoRenewStatus, autoRenewPreference, expirationReason, gracePeriodExpirationDate, currentProductID, platform) } } }