Skip to content

Commit

Permalink
merge issue 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
amm0124 committed Nov 12, 2024
1 parent cdb4813 commit ce2ef0f
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 458 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public BigDecimal getPaymentAmount(String impUid) throws IOException, IamportRes
}

@Description("단건 결제 조회 API")
public IamportResponse<com.siot.IamportRestClient.response.Payment> getSingleTransaction(String impUid) throws IOException, IamportResponseException {
IamportResponse<com.siot.IamportRestClient.response.Payment> iamportResponse = iamportClient.paymentByImpUid(impUid);
public IamportResponse<Payment> getSingleTransaction(String impUid) throws IOException, IamportResponseException {
IamportResponse<Payment> iamportResponse = iamportClient.paymentByImpUid(impUid);
return iamportResponse;
}

Expand Down Expand Up @@ -73,7 +73,7 @@ public void sendPrepareData(String merchantUid, BigDecimal amount) throws IOExce

@Description("단건 조회 후, 결제 되어야 할 금액과 결제 된 금액이 같은지 확인하는 메서드")
public boolean validatePaymentAmount(String impUid, BigDecimal amountToBePaid) throws IOException, IamportResponseException{
IamportResponse<com.siot.IamportRestClient.response.Payment> iamportResponse = getSingleTransaction(impUid); //내가 보냄
IamportResponse<Payment> iamportResponse = getSingleTransaction(impUid); //내가 보냄
BigDecimal amount = iamportResponse.getResponse().getAmount();
if(amountToBePaid.compareTo(amount)!=0){
return false;
Expand Down
20 changes: 0 additions & 20 deletions src/main/java/poomasi/domain/order/_refund/entity/Refund.java

This file was deleted.

This file was deleted.

33 changes: 0 additions & 33 deletions src/main/java/poomasi/domain/order/entity/AbstractOrder.java

This file was deleted.

49 changes: 0 additions & 49 deletions src/main/java/poomasi/domain/order/entity/Order.java

This file was deleted.

38 changes: 0 additions & 38 deletions src/main/java/poomasi/domain/order/entity/OrderDetails.java

This file was deleted.

Loading

0 comments on commit ce2ef0f

Please sign in to comment.