OfflineStatusDetails

@Serializable
data class OfflineStatusDetails(val offlinePaymentsCount: Int, val offlineSetupIntentsCount: Int, val offlinePaymentAmountsByCurrency: Map<String, Long>, val networkStatus: NetworkStatus) : Serializable

The OfflineStatusDetails provides details about the Terminal SDK's offline status such as; the current networkStatus, number, and sum of offline payments for the integration to inform it's business logic and risk management while taking payments.

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

Constructors

Link copied to clipboard
constructor(offlinePaymentsCount: Int, offlineSetupIntentsCount: Int, offlinePaymentAmountsByCurrency: Map<String, Long>, networkStatus: NetworkStatus)

Properties

Link copied to clipboard
Link copied to clipboard

Aggregates the sum of processed offline payments for the active account by currency, Returns an empty map when there is no active account for the terminal.

Link copied to clipboard

Returns the total number of processed offline payments for the active account. Defaults to 0 when there is no active account for the terminal.

Link copied to clipboard

Returns the total number of processed offline SetupIntents for the active account. Defaults to 0 when there is no active account for the terminal.