CollectedData

@Serializable
sealed interface CollectedData : Serializable

Represents non-payment data collected using collectData.

Inheritors

Types

Link copied to clipboard
@Serializable
data class Magstripe(val created: Long = 0, val livemode: Boolean = false, val id: String?) : CollectedData

Represents non-payment data collected using collectData with the magstripe interface.

Link copied to clipboard
@Serializable
data class NfcUid(val created: Long = 0, val livemode: Boolean = false, val uid: String?) : CollectedData

Represents non-payment data collected using collectData with the NFC interface.

Properties

Link copied to clipboard
abstract val created: Long

Time at which the object was created. Measured in seconds since the Unix epoch.

Link copied to clipboard
abstract val livemode: Boolean

Has the value true if the object exists in live mode or the value false if the object exists in test mode.