toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "merchantId": merchantId,
  "merchantTransactionId": merchantTransactionId,
  "transactionId": transactionId,
  "amount": amount,
  "state": state,
  "responseCode": responseCode,
  "paymentInstrument": paymentInstrument.toJson(),
};