PaymentMethodDetailsCardPresentReceipt.fromJson constructor
PaymentMethodDetailsCardPresentReceipt.fromJson(
- Object? json
Implementation
factory PaymentMethodDetailsCardPresentReceipt.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentMethodDetailsCardPresentReceipt(
accountType: map['account_type'] == null
? null
: PaymentMethodDetailsCardPresentReceiptAccountType.fromJson(
map['account_type']),
applicationCryptogram: map['application_cryptogram'] == null
? null
: (map['application_cryptogram'] as String),
applicationPreferredName: map['application_preferred_name'] == null
? null
: (map['application_preferred_name'] as String),
authorizationCode: map['authorization_code'] == null
? null
: (map['authorization_code'] as String),
authorizationResponseCode: map['authorization_response_code'] == null
? null
: (map['authorization_response_code'] as String),
cardholderVerificationMethod:
map['cardholder_verification_method'] == null
? null
: (map['cardholder_verification_method'] as String),
dedicatedFileName: map['dedicated_file_name'] == null
? null
: (map['dedicated_file_name'] as String),
terminalVerificationResults: map['terminal_verification_results'] == null
? null
: (map['terminal_verification_results'] as String),
transactionStatusInformation:
map['transaction_status_information'] == null
? null
: (map['transaction_status_information'] as String),
);
}