InvoiceTransaction.fromJson constructor

InvoiceTransaction.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory InvoiceTransaction.fromJson(Map<String, dynamic> json) => InvoiceTransaction(
  transactionDate: DateTime.parse(json["TransactionDate"]),
  paymentGateway: json["PaymentGateway"],
  referenceId: json["ReferenceId"],
  trackId: json["TrackId"],
  transactionId: json["TransactionId"],
  paymentId: json["PaymentId"],
  authorizationId: json["AuthorizationId"],
  transactionStatus: json["TransactionStatus"],
  transationValue: json["TransationValue"],
  customerServiceCharge: json["CustomerServiceCharge"],
  totalServiceCharge: json["TotalServiceCharge"],
  dueValue: json["DueValue"],
  paidCurrency: json["PaidCurrency"],
  paidCurrencyValue: json["PaidCurrencyValue"],
  vatAmount: json["VatAmount"],
  ipAddress: json["IpAddress"],
  country: json["Country"],
  currency: json["Currency"],
  error: json["Error"],
  cardNumber: json["CardNumber"],
  errorCode: json["ErrorCode"],
);