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