TUpdateFiatOnRampCredentialBody.fromJson constructor
TUpdateFiatOnRampCredentialBody.fromJson(
- Map<String, dynamic> json
)
Implementation
factory TUpdateFiatOnRampCredentialBody.fromJson(Map<String, dynamic> json) {
final _timestampMs = json['timestampMs'] as String?;
final _organizationId = json['organizationId'] as String?;
final _fiatOnrampCredentialId = json['fiatOnrampCredentialId'] as String;
final _onrampProvider = v1FiatOnRampProviderFromJson(json['onrampProvider']);
final _projectId = json['projectId'] as String?;
final _publishableApiKey = json['publishableApiKey'] as String;
final _encryptedSecretApiKey = json['encryptedSecretApiKey'] as String;
final _encryptedPrivateApiKey = json['encryptedPrivateApiKey'] as String?;
return TUpdateFiatOnRampCredentialBody(
timestampMs: _timestampMs,
organizationId: _organizationId,
fiatOnrampCredentialId: _fiatOnrampCredentialId,
onrampProvider: _onrampProvider,
projectId: _projectId,
publishableApiKey: _publishableApiKey,
encryptedSecretApiKey: _encryptedSecretApiKey,
encryptedPrivateApiKey: _encryptedPrivateApiKey,
);
}