toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['TransactionDate'] = transactionDate;
  data['PaymentGateway'] = paymentGateway;
  data['ReferenceId'] = referenceId;
  data['TrackId'] = trackId;
  data['TransactionId'] = transactionId;
  data['PaymentId'] = paymentId;
  data['AuthorizationId'] = authorizationId;
  data['TransactionStatus'] = transactionStatus;
  data['TransationValue'] = transationValue;
  data['CustomerServiceCharge'] = customerServiceCharge;
  data['TotalServiceCharge'] = totalServiceCharge;
  data['DueValue'] = dueValue;
  data['PaidCurrency'] = paidCurrency;
  data['PaidCurrencyValue'] = paidCurrencyValue;
  data['IpAddress'] = ipAddress;
  data['Country'] = country;
  data['Currency'] = currency;
  data['Error'] = error;
  data['CardNumber'] = cardNumber;
  data['ErrorCode'] = errorCode;
  return data;
}