Initial commit

This commit is contained in:
Aryan 2026-02-24 17:37:40 +05:30
commit 6072b2ba29
844 changed files with 220532 additions and 0 deletions

View file

@ -0,0 +1,25 @@
package com.aryan.reader.data
/**
* Agnostic representation of a purchase to decouple MainViewModel from Billing Library.
*/
data class PurchaseEntity(
val orderId: String?,
val products: List<String>,
val purchaseToken: String,
val purchaseTime: Long,
val isAcknowledged: Boolean,
val isAutoRenewing: Boolean
)
/**
* Agnostic representation of product details.
*/
data class ProductDetailsEntity(
val productId: String,
val name: String,
val description: String,
val formattedPrice: String,
val currencyCode: String,
val priceAmountMicros: Long
)