iosMain.com.revenuecat.purchases.kmp.mappings.PurchasingData.ios.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of purchases-kmp-mappings Show documentation
Show all versions of purchases-kmp-mappings Show documentation
Mobile subscriptions in hours, not months.
package com.revenuecat.purchases.kmp.mappings
import com.revenuecat.purchases.kmp.models.ProductType
import com.revenuecat.purchases.kmp.models.PurchasingData
import cocoapods.PurchasesHybridCommon.RCStoreProduct as NativeIosStoreProduct
internal class IosPurchasingData(
product: NativeIosStoreProduct
): PurchasingData {
override val productId: String = product.productIdentifier()
override val productType: ProductType = product.productType().toProductType()
}