ConnectEmbeddedAccountSessionCreateComponents.fromJson constructor
ConnectEmbeddedAccountSessionCreateComponents.fromJson(
- Object? json
Implementation
factory ConnectEmbeddedAccountSessionCreateComponents.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return ConnectEmbeddedAccountSessionCreateComponents(
accountOnboarding:
ConnectEmbeddedAccountConfig.fromJson(map['account_onboarding']),
documents: ConnectEmbeddedBaseConfigClaim.fromJson(map['documents']),
paymentDetails:
ConnectEmbeddedPaymentsConfig.fromJson(map['payment_details']),
payments: ConnectEmbeddedPaymentsConfig.fromJson(map['payments']),
payouts: ConnectEmbeddedPayoutsConfig.fromJson(map['payouts']),
);
}