UnifiedCheckoutConfig.fromPaymentIntention constructor
UnifiedCheckoutConfig.fromPaymentIntention({
- required String publicKey,
- required PaymentIntentionResponse response,
- String? title,
- String? description,
Create from Payment Intention Response
Implementation
factory UnifiedCheckoutConfig.fromPaymentIntention({
required String publicKey,
required PaymentIntentionResponse response,
String? title,
String? description,
}) {
return UnifiedCheckoutConfig(
publicKey: publicKey,
clientSecret: response.clientSecret,
title: title,
description: description,
);
}