File tree Expand file tree Collapse file tree
src/main/java/io/craftgate/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import lombok .Builder ;
44import lombok .Data ;
55
6+ import java .math .BigDecimal ;
7+
68@ Data
79@ Builder
810public 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}
Original file line number Diff line number Diff line change 66@ Data
77@ Builder
88public class LoyaltyParams {
9+
910 private Integer postponingPaymentCount ;
11+ private String code ;
1012}
Original file line number Diff line number Diff line change 1+ package io .craftgate .model ;
2+
3+ public enum LoyaltyUnitType {
4+ MONTH ,
5+ DAY
6+ }
You can’t perform that action at this time.
0 commit comments