TerminalReaderReaderResourceProcessPaymentIntentAction.fromJson constructor
TerminalReaderReaderResourceProcessPaymentIntentAction.fromJson(
- Object? json
Implementation
factory TerminalReaderReaderResourceProcessPaymentIntentAction.fromJson(
Object? json) {
final map = (json as Map).cast<String, Object?>();
return TerminalReaderReaderResourceProcessPaymentIntentAction(
paymentIntent: PaymentIntentOrId.fromJson(map['payment_intent']),
processConfig: map['process_config'] == null
? null
: TerminalReaderReaderResourceProcessConfig.fromJson(
map['process_config']),
);
}