Skip to content

Commit

Permalink
Changes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
Silviana Ghita committed Sep 29, 2023
1 parent 9e99626 commit 7e8d173
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 27 deletions.

This file was deleted.

6 changes: 3 additions & 3 deletions src/main/java/com/mangopay/entities/CardValidation.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class CardValidation extends EntityBase {
* Status of the CardValidation.
*/
@SerializedName("Status")
private CardValidationStatus status;
private TransactionStatus status;

/**
* The CardValidation result code.
Expand All @@ -85,11 +85,11 @@ public void setAuthorId(String authorId) {
this.authorId = authorId;
}

public CardValidationStatus getStatus() {
public TransactionStatus getStatus() {
return status;
}

public void setStatus(CardValidationStatus status) {
public void setStatus(TransactionStatus status) {
this.status = status;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/com/mangopay/core/mangopay.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Wed Sep 13 10:33:18 WAT 2023
#Fri Sep 29 14:43:37 EEST 2023
version=2.30.0
1 change: 0 additions & 1 deletion src/test/java/com/mangopay/core/CardApiImplTest.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.mangopay.core;

import com.mangopay.core.APIs.CardApi;
import com.mangopay.core.enumerations.CardValidationStatus;
import com.mangopay.core.enumerations.TransactionType;
import com.mangopay.entities.*;
import com.mangopay.entities.subentities.PayInPaymentDetailsCard;
Expand Down
1 change: 0 additions & 1 deletion src/test/java/com/mangopay/core/PayInApiImplTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ public void createPayPalWebV2() throws Exception {
));
paymentDetails.setLineItems(lineItems);
paymentDetails.setShippingPreference(ShippingPreference.GET_FROM_FILE);
paymentDetails.setReturnUrl("http://mangopay.com");
paymentDetails.setStatementDescriptor("sttm");

payIn.setPaymentDetails(paymentDetails);
Expand Down

0 comments on commit 7e8d173

Please sign in to comment.