fromJson static method
Implementation
static StonePaymentResponse fromJson(Map json) {
return StonePaymentResponse(
cardholderName: json['cardholder_name'] ?? "cardholder_name is Null",
itk: json['itk'] ?? "itk is Null",
atk: json['atk'] ?? "atk is Null",
brand: json['brand'] ?? "brand is Null",
authorizationDateTime: json['authorization_date_time'] ?? "authorization_date_time is Null",
orderId: json['order_id'] ?? "order_id is Null",
authorizationCode: json['authorization_code'] ?? "authorization_code is Null",
installmentCount: json['installment_count'] ?? "installment_count is Null",
pan: json['pan'] ?? "pan is Null",
type: json['type'] ?? "type is Null",
entryMode: json['entry_mode'] ?? "entry_mode is Null",
accountId: json['account_id'] ?? "account_id is Null",
customerWalletProviderId: json['customer_wallet_provider_id'] ?? "customer_wallet_provider_id is Null",
code: json['code'] ?? "code is Null",
transactionQualifier: json['transaction_qualifier'] ?? "transaction_qualifier is Null",
amount: json['amount'] ?? "amount is Null",
);
}