DirectPaymentResponseData.fromJson constructor
DirectPaymentResponseData.fromJson(
- Map<String, dynamic> json
)
Implementation
DirectPaymentResponseData.fromJson(Map<String, dynamic> json) {
status = json['Status'] ?? json['status'];
errorMessage = json['ErrorMessage'] ?? json['errorMessage'];
paymentId = json['PaymentId'] ?? json['paymentId'];
token = json['Token'] ?? json['token'];
recurringId = json['RecurringId'] ?? json['recurringId'];
paymentURL = json['PaymentURL'] ?? json['paymentURL'];
cardInfo =
CardInfoResponse.fromJson(json['CardInfo'] ?? json['cardInfo'] ?? {});
}