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
constructor(returnUrl: String?, status: Source.Redirect.Status?, url: String?)

Types

Link copied to clipboard

Properties

Link copied to clipboard

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

Link copied to clipboard

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.

Functions

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