Component evidence

model/PersonTokenParams.kt

stripe-android · payments-core/src/main/java/com/stripe/android/model/PersonTokenParams.kt · kotlin · MIT
payments

Data model for creating a person token in Stripe Connect, representing person details for account tokens.

Source preview first 800 characters · full source over MCP
// 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.model

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

/**
 * Creates a single-use token that represents the details for a person. Use this when creating or
 * updating persons associated with a Connect account.
 * See [the documentation](https://stripe.com/docs/connect/account-tokens) to learn more.
 *
 * See [Create a person token](https://stripe.com/docs/api/tokens/create_person)
 */
@Parcelize
@Poko
class PersonTokenParams(
    /**
     * The person's address.
     *
     * [person.address](https://stripe.com/docs/api/tokens/cre

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