Skip to content

Commit be8bd61

Browse files
fix
1 parent 682e1d9 commit be8bd61

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/main/java/com/starkbank/MerchantCard.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ public final static class Log extends Resource {
9999
public String created;
100100
public String type;
101101
public String[] errors;
102-
public MerchantCard merchantCard;
102+
public MerchantCard card;
103103

104-
public Log(String created, String type, String[] errors, MerchantCard merchantCard, String id) {
104+
public Log(String created, String type, String[] errors, MerchantCard card, String id) {
105105
super(id);
106106
this.created = created;
107107
this.type = type;
108108
this.errors = errors;
109-
this.merchantCard = merchantCard;
109+
this.card = card;
110110
}
111111

112112

src/main/java/com/starkbank/MerchantPurchase.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,14 +186,14 @@ public final static class Log extends Resource {
186186
public String created;
187187
public String type;
188188
public String[] errors;
189-
public MerchantPurchase merchantPurchase;
189+
public MerchantPurchase purchase;
190190

191-
public Log(String created, String type, String[] errors, MerchantPurchase merchantPurchase, String id) {
191+
public Log(String created, String type, String[] errors, MerchantPurchase purchase, String id) {
192192
super(id);
193193
this.created = created;
194194
this.type = type;
195195
this.errors = errors;
196-
this.merchantPurchase = merchantPurchase;
196+
this.purchase = purchase;
197197
}
198198

199199

src/main/java/com/starkbank/MerchantSession.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,14 +263,14 @@ public final static class Log extends Resource {
263263
public String created;
264264
public String type;
265265
public String[] errors;
266-
public MerchantSession merchantSession;
266+
public MerchantSession session;
267267

268-
public Log(String created, String type, String[] errors, MerchantSession merchantSession, String id) {
268+
public Log(String created, String type, String[] errors, MerchantSession session, String id) {
269269
super(id);
270270
this.created = created;
271271
this.type = type;
272272
this.errors = errors;
273-
this.merchantSession = merchantSession;
273+
this.session = session;
274274
}
275275

276276

src/test/java/TestMerchantInstallment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void testQuery() throws Exception {
4141
public void testPage() throws Exception {
4242
Settings.user = utils.User.defaultProject();
4343
HashMap<String, Object> params = new HashMap<>();
44-
params.put("limit", 10);
44+
params.put("limit", 5);
4545
params.put("cursor", null);
4646

4747
List<String> ids = new ArrayList<>();

0 commit comments

Comments
 (0)