financialconnections/FinancialConnectionsPreCollectedConsent.kt

stripe-android · financial-connections-core/src/main/java/com/stripe/android/financialconnections/FinancialConnectionsPreCollectedConsent.kt · kotlin · MIT
payments

Parcelable data class representing pre-collected consent for linking bank accounts in Stripe Financial Connections.

// Source: https://github.com/stripe/stripe-android | License: MIT | Copyright 2011- Stripe, Inc. (https://stripe.com)
// Provided via justclaw.it.com; keep this notice with the code.
package com.stripe.android.financialconnections

import android.os.Parcelable
import dev.drewhamilton.poko.Poko
import kotlinx.parcelize.Parcelize

/**
 * Evidence of a user's consent to link a bank account, collected by the merchant prior to
 * presenting Financial Connections.
 *
 * @param consent the consent token returned by the pre-collection API (e.g. `fccons_123`).
 * @param collectedAt the Unix timestamp, in whole seconds, when the customer affirmatively accepted
 * the complete Stripe-issued consent text. Capture this timestamp once at acceptance and preserve it
 * across retries or sheet reopenings;

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key