OfflineBehavior

enum OfflineBehavior : Enum<OfflineBehavior>

The OfflineBehavior allows you to configure how the Terminal SDK should handle the specified PaymentIntent while unable to reach stripe.com.

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

Entries

Link copied to clipboard

Create and collect this PaymentIntent offline, without attempting to communicate with stripe.com.

Link copied to clipboard

Attempt to create and collect the PaymentIntent online, but allow offline handling if the device cannot reach stripe.com.

Link copied to clipboard

Prevent using the PaymentIntent if the device is currently offline and unable to communicate with stripe.com

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int

Extensions

Link copied to clipboard
fun OfflineBehavior.toOfflineBehaviorProto(): CreatePaymentIntentOptions.OfflineBehavior