vnorder / com.venuenext.vnorder.firesale.data / FiresaleRepository

FiresaleRepository

class FiresaleRepository

Constructors

<init>

FiresaleRepository(context: Context)

Properties

context

val context: Context

Functions

acceptTransfer

fun acceptTransfer(transferId: String): Unit

cancelTransfer

fun cancelTransfer(transferId: String): Unit

createTransfer

fun createTransfer(itemId: String, senderEmail: String, recipientEmail: String, comment: String? = null): Unit

getExperienceUserItems

fun getExperienceUserItems(): List<ExperienceUserItem>

getTransfer

fun getTransfer(transferId: String): MarketplaceTransfer?

getTransfersLiveData

fun getTransfersLiveData(): LiveData<List<MarketplaceTransfer>>

redeemUserItem

fun redeemUserItem(itemId: String): String?