Subversion Repositories SmartDukaan

Rev

Rev 30670 | Rev 33441 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 30670 Rev 32979
Line 3... Line 3...
3
import com.fasterxml.jackson.annotation.JsonIgnore;
3
import com.fasterxml.jackson.annotation.JsonIgnore;
4
import com.spice.profitmandi.dao.enumuration.catalog.AmountType;
4
import com.spice.profitmandi.dao.enumuration.catalog.AmountType;
5
import com.spice.profitmandi.service.offers.ItemCriteria;
5
import com.spice.profitmandi.service.offers.ItemCriteria;
6
import com.spice.profitmandi.service.offers.PayoutSlab;
6
import com.spice.profitmandi.service.offers.PayoutSlab;
7
 
7
 
-
 
8
import java.time.LocalDateTime;
8
import java.util.List;
9
import java.util.List;
9
 
10
 
10
public class ItemCriteriaPayout {
11
public class ItemCriteriaPayout {
11
	private AmountType amountType;
12
	private AmountType amountType;
12
	private ItemCriteria itemCriteria;
13
	private ItemCriteria itemCriteria;
-
 
14
	private LocalDateTime startDate;
-
 
15
	private LocalDateTime endDate;
13
	private List<PayoutSlab> payoutSlabs;
16
	private List<PayoutSlab> payoutSlabs;
14
	private String itemCriteriaString;
17
	private String itemCriteriaString;
15
	private long achievedValue;
18
	private long achievedValue;
16
	private long shortValue;
19
	private long shortValue;
17
	private PayoutSlab currentSlab;
20
	private PayoutSlab currentSlab;
Line 28... Line 31...
28
			templateString = "%f %%";
31
			templateString = "%f %%";
29
		}
32
		}
30
		return String.format(templateString, this.getCurrentSlab().getPayoutAmount());
33
		return String.format(templateString, this.getCurrentSlab().getPayoutAmount());
31
	}
34
	}
32
 
35
 
-
 
36
	public LocalDateTime getStartDate() {
-
 
37
		return startDate;
-
 
38
	}
-
 
39
 
-
 
40
	public void setStartDate(LocalDateTime startDate) {
-
 
41
		this.startDate = startDate;
-
 
42
	}
-
 
43
 
-
 
44
	public LocalDateTime getEndDate() {
-
 
45
		return endDate;
-
 
46
	}
-
 
47
 
-
 
48
	public void setEndDate(LocalDateTime endDate) {
-
 
49
		this.endDate = endDate;
-
 
50
	}
-
 
51
 
33
	public long getShortValue() {
52
	public long getShortValue() {
34
		return shortValue;
53
		return shortValue;
35
	}
54
	}
36
 
55
 
37
 
56