OfflineDetails

@JsonClass(generateAdapter = true)
data class OfflineDetails(id: String?, storedAt: Date, cardPresentDetails: OfflineCardPresentDetails?, amountDetails: AmountDetails?, requiresUpload: Boolean) : Parcelable

OfflineDetails holds unique information for a PaymentIntent that was created or processed offline. Useful for relating a forwarded PaymentIntent to the offline PaymentIntent.

Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal

Constructors

Link copied to clipboard
fun OfflineDetails(id: String?, storedAtMs: Long, emvData: String, tip: Tip, readMethod: String?)

Alternative OfflineDetails constructor that takes id - Optional unique uuid for the offline transaction, storedAtMs - Timestamp this offline transaction was stored in milliseconds. emvData - EmvData blob used to generate OfflineCardPresentDetails. readMethod - How card details were read for the offline transaction. requiresUpload is always true.

Link copied to clipboard
fun OfflineDetails(id: String? = null, storedAt: Date, cardPresentDetails: OfflineCardPresentDetails? = null, amountDetails: AmountDetails? = null, requiresUpload: Boolean = true)

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val amountDetails: AmountDetails? = null

AmountDetails contains details about items included in the PaymentIntent amount, including tips.

Link copied to clipboard
val cardPresentDetails: OfflineCardPresentDetails? = null

Details about the card-present payment method used to process this PaymentIntent.

Link copied to clipboard
val id: String? = null

SDK generated unique id for identifying this offline payment, useful for reconciling an offline payment with a PaymentIntent after it has been forwarded.

Link copied to clipboard
val requiresUpload: Boolean = true

Set to true if the PaymentIntent needs to be uploaded prior to capturing it.

Link copied to clipboard
val storedAt: Date

SDK Date timestamp when the offline payment was stored or "processed".