LinkPaymentDetails
The payment method selected by the user within their Link account, including the parameters needed to confirm the Stripe Intent.
Parameters
paymentDetails
The ConsumerPaymentDetails.PaymentDetails selected by the user
paymentMethodCreateParams
The PaymentMethodCreateParams to be used to confirm the Stripe Intent.
Inheritors
Types
Link copied to clipboard
class New(val paymentDetails: ConsumerPaymentDetails.PaymentDetails, val paymentMethodCreateParams: PaymentMethodCreateParams, val originalParams: PaymentMethodCreateParams) : LinkPaymentDetails
A new ConsumerPaymentDetails.PaymentDetails, whose data was just collected from the user. Must hold the original PaymentMethodCreateParams too in case we need to populate the form fields with the user-entered values.
Link copied to clipboard
class Saved(val paymentDetails: ConsumerPaymentDetails.PaymentDetails, val paymentMethodCreateParams: PaymentMethodCreateParams) : LinkPaymentDetails
A ConsumerPaymentDetails.PaymentDetails that is already saved to the consumer's account.