SetupAttemptPaymentMethodDetailsCardThreeDSecure.fromJson constructor
SetupAttemptPaymentMethodDetailsCardThreeDSecure.fromJson(
- Object? json
Implementation
factory SetupAttemptPaymentMethodDetailsCardThreeDSecure.fromJson(
Object? json) {
final map = (json as Map).cast<String, Object?>();
return SetupAttemptPaymentMethodDetailsCardThreeDSecure(
authenticationFlow: map['authentication_flow'] == null
? null
: PaymentMethodDetailsCardThreeDSecureAuthenticationFlow.fromJson(
map['authentication_flow']),
electronicCommerceIndicator: map['electronic_commerce_indicator'] == null
? null
: PaymentMethodDetailsCardThreeDSecureElectronicCommerceIndicator
.fromJson(map['electronic_commerce_indicator']),
result: map['result'] == null
? null
: PaymentMethodDetailsCardThreeDSecureResult.fromJson(map['result']),
resultReason: map['result_reason'] == null
? null
: PaymentMethodDetailsCardThreeDSecureResultReason.fromJson(
map['result_reason']),
transactionId: map['transaction_id'] == null
? null
: (map['transaction_id'] as String),
version: map['version'] == null
? null
: PaymentMethodDetailsCardThreeDSecureVersion.fromJson(
map['version']),
);
}