Configuration

data class Configuration(val stripeIntent: StripeIntent, val merchantName: String, val customerName: String?, val customerEmail: String?, val customerPhone: String?, val customerBillingCountryCode: String?, val shippingValues: Map<IdentifierSpec, String?>?) : Parcelable

Arguments for launching LinkActivity to confirm a payment with Link.

Parameters

stripeIntent

The Stripe Intent that is being processed

merchantName

The customer-facing business name.

customerName

Name of the customer, used to pre-fill the form.

customerEmail

Email of the customer, used to pre-fill the form.

customerPhone

Phone number of the customer, used to pre-fill the form.

shippingValues

The initial shipping values for FormController.

Constructors

Link copied to clipboard
fun Configuration(stripeIntent: StripeIntent, merchantName: String, customerName: String?, customerEmail: String?, customerPhone: String?, customerBillingCountryCode: String?, shippingValues: Map<IdentifierSpec, String?>?)

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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard