/// /// NitroDiscountDisplayInfoAndroid.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 "NitroDiscountDisplayInfoAndroid". */ @DoNotStrip @Keep data class NitroDiscountDisplayInfoAndroid( @DoNotStrip @Keep val discountAmount: Variant_NullType_NitroDiscountAmountAndroid?, @DoNotStrip @Keep val percentageDiscount: Variant_NullType_Double? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(discountAmount: Variant_NullType_NitroDiscountAmountAndroid?, percentageDiscount: Variant_NullType_Double?): NitroDiscountDisplayInfoAndroid { return NitroDiscountDisplayInfoAndroid(discountAmount, percentageDiscount) } } }