Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasborges-stark committed Feb 12, 2025
1 parent 682e1d9 commit be8bd61
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/starkbank/MerchantCard.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ public final static class Log extends Resource {
public String created;
public String type;
public String[] errors;
public MerchantCard merchantCard;
public MerchantCard card;

public Log(String created, String type, String[] errors, MerchantCard merchantCard, String id) {
public Log(String created, String type, String[] errors, MerchantCard card, String id) {
super(id);
this.created = created;
this.type = type;
this.errors = errors;
this.merchantCard = merchantCard;
this.card = card;
}


Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/starkbank/MerchantPurchase.java
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,14 @@ public final static class Log extends Resource {
public String created;
public String type;
public String[] errors;
public MerchantPurchase merchantPurchase;
public MerchantPurchase purchase;

public Log(String created, String type, String[] errors, MerchantPurchase merchantPurchase, String id) {
public Log(String created, String type, String[] errors, MerchantPurchase purchase, String id) {
super(id);
this.created = created;
this.type = type;
this.errors = errors;
this.merchantPurchase = merchantPurchase;
this.purchase = purchase;
}


Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/starkbank/MerchantSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -263,14 +263,14 @@ public final static class Log extends Resource {
public String created;
public String type;
public String[] errors;
public MerchantSession merchantSession;
public MerchantSession session;

public Log(String created, String type, String[] errors, MerchantSession merchantSession, String id) {
public Log(String created, String type, String[] errors, MerchantSession session, String id) {
super(id);
this.created = created;
this.type = type;
this.errors = errors;
this.merchantSession = merchantSession;
this.session = session;
}


Expand Down
2 changes: 1 addition & 1 deletion src/test/java/TestMerchantInstallment.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public void testQuery() throws Exception {
public void testPage() throws Exception {
Settings.user = utils.User.defaultProject();
HashMap<String, Object> params = new HashMap<>();
params.put("limit", 10);
params.put("limit", 5);
params.put("cursor", null);

List<String> ids = new ArrayList<>();
Expand Down

0 comments on commit be8bd61

Please sign in to comment.