Skip to content

Commit

Permalink
chore: Add toString to context
Browse files Browse the repository at this point in the history
  • Loading branch information
David Pequegnot authored and foxlegend committed Jul 7, 2024
1 parent 277493a commit aba5361
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,11 @@ public PaymentResponse generateResponse() {
processingMode);
}

@Override
public String toString() {
return "PaymentProcessingContext [posId=" + posId + ", cardNumber=" + "**MASKED IN CODE**" + ", expiryDate=" + expiryDate
+ ", amount=" + amount + ", id=" + id + ", responseCode=" + responseCode + ", cardType=" + cardType
+ ", processingMode=" + processingMode + ", responseTime=" + responseTime + ", dateTime=" + dateTime
+ ", bankCalled=" + bankCalled + ", authorized=" + authorized + ", authorId=" + authorId + "]";
}
}

0 comments on commit aba5361

Please sign in to comment.