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