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