Skip to content

Commit 4e63127

Browse files
Merge branch 'master' into release-1.0.81
2 parents da69c8b + defd294 commit 4e63127

4 files changed

Lines changed: 20 additions & 1 deletion

File tree

src/main/java/io/craftgate/model/LoyaltyData.java

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,19 @@
33
import lombok.Builder;
44
import lombok.Data;
55

6+
import java.math.BigDecimal;
7+
68
@Data
79
@Builder
810
public class LoyaltyData {
11+
912
private Integer maxPostponingPaymentCount;
10-
private String unitType;
13+
private Integer minPostponingPaymentCount;
14+
private LoyaltyUnitType unitType;
15+
private Boolean deferredPaymentEligible;
16+
private BigDecimal minAmount;
17+
private BigDecimal maxAmount;
18+
private String dueDateShiftDirection;
19+
private BigDecimal singleTotalDueDateDayCount;
20+
private String code;
1121
}

src/main/java/io/craftgate/model/LoyaltyParams.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@
66
@Data
77
@Builder
88
public class LoyaltyParams {
9+
910
private Integer postponingPaymentCount;
11+
private String code;
1012
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package io.craftgate.model;
2+
3+
public enum LoyaltyUnitType {
4+
MONTH,
5+
DAY
6+
}

src/main/java/io/craftgate/model/PosIntegrator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public enum PosIntegrator {
4848
TAP,
4949
TEB,
5050
TRPOS,
51+
TURKONAY,
5152
VAKIFBANK,
5253
VAKIFKATILIM,
5354
WORLDPAY,

0 commit comments

Comments
 (0)