New
class New( val paymentDetails: ConsumerPaymentDetails.PaymentDetails, val paymentMethodCreateParams: PaymentMethodCreateParams, val originalParams: PaymentMethodCreateParams) : LinkPaymentDetails
Content copied to clipboard
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.
Constructors
Link copied to clipboard
fun New( paymentDetails: ConsumerPaymentDetails.PaymentDetails, paymentMethodCreateParams: PaymentMethodCreateParams, originalParams: PaymentMethodCreateParams)
Content copied to clipboard
Functions
Link copied to clipboard
Build a flat map of the values entered by the user when creating this payment method, in a format that can be used to set the initial values in the FormController.
Link copied to clipboard
Link copied to clipboard