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