vnorder / com.venuenext.vnorder.firesale.service / FiresaleClient

FiresaleClient

class FiresaleClient : HttpClient

Client API for Firesale operations

Constructors

<init>

Client API for Firesale operations

FiresaleClient(context: Context)

Functions

acceptTransfer

Accepts a transfer.

fun acceptTransfer(transferId: String): FiresaleTransferResponse

cancelTransfer

Cancels a transfer

fun cancelTransfer(transferId: String): FiresaleTransferResponse

createTransfer

Creates a transfer for the given item.

fun createTransfer(itemId: String, senderEmail: String, recipientEmail: String, comment: String?): FiresaleTransferResponse

getExperienceUserItems

Gets all user items

fun getExperienceUserItems(): List<ExperienceUserItem>

redeem

Attempts to redeem user experience

fun redeem(userItemUUID: String): String?