Skip to content

Commit

Permalink
adds additional fields to payment and refund responses (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
berkay-dincer authored Feb 24, 2021
1 parent ddcedb7 commit 94b9f9c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ public class DepositPaymentRefundResponse {
private Long paymentId;
private String currency;
private RefundStatus status;
private String authCode;
private String hostReference;
private String transId;
private String conversationId;
private RefundType refundType;
private BigDecimal refundPrice;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ public class DepositPaymentResponse {
private String currency;
private Long buyerMemberId;
private String conversationId;
private String authCode;
private String hostReference;
private String transId;
private String orderId;
private PaymentType paymentType;
private LocalDateTime createdDate;
private PaymentStatus paymentStatus;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ public class PaymentRefundResponse {
private BigDecimal refundBankPrice;
private BigDecimal refundWalletPrice;
private RefundType refundType;
private String authCode;
private String hostReference;
private String transId;
private RefundDestinationType refundDestinationType;
private Currency currency;
private Long paymentId;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/craftgate/response/PaymentResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ public class PaymentResponse {
private Boolean paidWithStoredCard;
private String binNumber;
private String lastFourDigits;
private String authCode;
private String hostReference;
private String transId;
private String orderId;
private CardType cardType;
private CardAssociation cardAssociation;
private String cardBrand;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ public class PaymentTransactionRefundResponse {
private BigDecimal refundPrice;
private BigDecimal refundBankPrice;
private BigDecimal refundWalletPrice;
private String authCode;
private String hostReference;
private String transId;
private Currency currency;
private Long paymentTransactionId;
private Long paymentId;
Expand Down

0 comments on commit 94b9f9c

Please sign in to comment.