vnorderui / com.venuenext.vnorderui.myorders.transfer / MyTransfersFragmentViewModel

MyTransfersFragmentViewModel

class MyTransfersFragmentViewModel : AndroidViewModel

Constructors

<init>

MyTransfersFragmentViewModel(application: Application)

Properties

state

val state: LiveData<MyTransfersState>

Functions

getRedeemedExperiences

fun getRedeemedExperiences(experienceUUID: String): Deferred<RedeemedExperience?>

getTransferItemForUserItem

fun getTransferItemForUserItem(items: List<ExperienceUserItem>, userItemUUID: String): Item

getTransferListItems

fun getTransferListItems(userItems: List<ExperienceUserItem>): List<MyTransfersListItems>

getUserItems

fun getUserItems(): List<ExperienceUserItem>?

postExperienceRedemption

fun postExperienceRedemption(uuid: String): String?

storeRedeemedExperience

fun storeRedeemedExperience(redeemedExperience: RedeemedExperience): Deferred<Unit>

updateMyTransfersListItems

fun updateMyTransfersListItems(): Unit