Redirect

data class Redirect(    val returnUrl: String?,     val status: Source.Redirect.Status?,     val url: String?) : StripeModel

Information related to the redirect flow. Present if the source is authenticated by a redirect (flow is Flow.Redirect).

Constructors

Link copied to clipboard
fun Redirect(    returnUrl: String?,     status: Source.Redirect.Status?,     url: String?)

Types

Link copied to clipboard
enum Status : Enum<Source.Redirect.Status>

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 returnUrl: String?

The URL you provide to redirect the customer to after they authenticated their payment.

Link copied to clipboard
val status: Source.Redirect.Status?

The status of the redirect, either pending (ready to be used by your customer to authenticate the transaction), succeeded (succesful authentication, cannot be reused) or not_required (redirect should not be used) or failed (failed authentication, cannot be reused).

Link copied to clipboard
val url: String?

The URL provided to you to redirect a customer to as part of a redirect authentication flow.