Skip to content

Commit

Permalink
Merge pull request #240 from charles-moreel/add-amount-and-currency-t…
Browse files Browse the repository at this point in the history
…o-AdyenVoidCommand

#236 : add amount and currency for AdyenVoidCommand
  • Loading branch information
rkewlani authored Mar 16, 2021
2 parents b8fb927 + a8c5769 commit 3b8ca14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adyenv6core/src/com/adyen/v6/commands/AdyenVoidCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public VoidResult perform(VoidRequest request) {
result.setRequestTime(new Date());
result.setTransactionStatus(TransactionStatus.ERROR);
result.setTransactionStatusDetails(TransactionStatusDetails.UNKNOWN_CODE);
result.setAmount(request.getTotalAmount());
result.setCurrency(request.getCurrency());

String authReference = request.getRequestId();
String reference = request.getRequestToken();
Expand Down

0 comments on commit 3b8ca14

Please sign in to comment.